VMS Help
COBOL, PROCEDURE_DIVISION, WRITE, 2format_relative_indexed
*Conan The Librarian
|
The WRITE statement releases a logical record to an output or
input-output file. It can also position lines vertically on a logical
page.
Format 2 -
WRITE rec-name [ FROM src-item ] [ ALLOWING NO OTHERS ]
[ INVALID KEY stment ] [ NOT INVALID KEY stment ]
[ END-WRITE ]
is the name of a logical record described in the Data Division File
Section. It cannot be qualified. The logical record cannot be in a
sort-merge file description entry.
is the identifier of the data item that contains the data. If
src-item is a function-identifier, it must reference an alphanumeric
function.
is an imperative statement.