Wednesday, November 15, 2006

Review COBOL: External, Global Clauses

The External Clause is associated with object-oriented programming.

The EXTERNAL clause says that a data item or a file description item is external. The data items and group items of an external data record are accessible to every runtime element in the run unit that defines that record. This would mean that the items can be accessed by other items not included in a link deck.

A typical reference is here.

In Microfocus it is possible to secify EXTERNAL on the ASSIGN clause of the SELECT statement so that external files may be accessed. Link for Microfocus is here.

No comments: