HP 3000 Manuals

Procedure Division [ Micro Focus COBOL Language Reference - Additional Topics ] MPE/iX 5.0 Documentation


Micro Focus COBOL Language Reference - Additional Topics

Procedure Division 

The CALL Statement 

General Format.   

The following format of the CALL statementis supported:

[]
General Rule. This format is treated as equivalent to a CHAIN statement. The COPY INDEXED Statement If you specify the DG system directive when you submit your source files to your COBOL system, the COPY verb can be followed by the word INDEXED. The word INDEXED is treated as documentary. The DISPLAY Statement If you specify the DG system directive when you submit your source files to your COBOL system, the behavior of the DISPLAYstatement with the WITH NO ADVANCING option is changed to be as in Data General Interactive COBOL. File Sharing Syntax If you specify the DG system directive when you submit your source filesto your COBOL system, the default lock mode for both ISAM and relative files is MANUAL WITH LOCK ON MULTIPLE RECORDS. The OPEN Statement The OPENverb can be followed by the keyword EXCLUSIVE. It is treated as equivalent to the WITH LOCK phrase. The READ Statement The file-name and the optional word RECORD can be followed by the keyword LOCK. It causes the READstatement to acquire a lock on the record read. This does not apply to line sequential files.


MPE/iX 5.0 Documentation