COBOL Write

>COBOL Write Verb
The COBOL WRITE verb is demonstrated in COBOL program examples on how to process sequential files.

>COBOL Write Statement
The COBOL WRITE statement releases a logical record. To use the COBOL WRITE statement for a sequential file, the file must be opened in the OUTPUT or EXTEND mode. To use the COBOL WRITE statement with an indexed, relative, or random file, the file must be opened in either OUTPUT, I-O mode, or EXTEND for access mode sequential. For sequential files, the COBOL WRITE statement may additionally be used for vertical positioning of lines within a logical page.

>COBOL Write Statement
The COBOL WRITE statement releases a logical record for an output or input/output file. When the WRITE statement in COBOL is executed, the associated sequential file must be open in OUTPUT or EXTEND mode; the associated indexed or relative file must be open in OUTPUT, I-O, or EXTEND mode.

>Write Statement in COBOL - IBM AIX
The COBOL WRITE statement releases a logical record to an output or input/output file.

>Write Statement in COBOL - Micro Focus Visual COBOL
The COBOL WRITE statement releases a logical record for an output or input-output file. The COBOL phrases ADVANCING PAGE and END-OF-PAGE must not both be specified in a single WRITE statement in COBOL.

This website uses cookies to manage authentication, navigation, and other functions. By using our website, you agree that we can place these types of cookies on your device.

View e-Privacy Directive Documents

You have declined cookies. This decision can be reversed.

You have allowed cookies to be placed on your computer. This decision can be reversed.

Login

Who's Online

Member Login