Previous Topic Next topic Print topic


WRITE

Writes a new record to a file.

For sequential files, it can also be used for vertical positioning of lines in a logical page.

Opcode Operation File Types
E1 WRITE BEFORE L S
E2 WRITE AFTER L S
E3 WRITE BEFORE TAB L S
E4 WRITE AFTER TAB L S
E5 WRITE BEFORE PAGE L S
E6 WRITE AFTER PAGE L S
EC WRITE BEFORE mnemonic-name S
ED WRITE AFTER mnemonic-name S
F3 WRITE L S R I

Input Fields

cfd-relative-key Relative record number (R)
fcd-current-rec-len Current record length
fcd-line-count Line count (WRITE only) (S)
fcd-record-address Pointer to the record area

Output Fields

fcd-file-status File status
fcd-reladdr-offset or fcd-reladdr-big Relative byte address
Previous Topic Next topic Print topic