Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

WRITE - Write internal work area back to file

&pagelevel(4)&pagelevel

The WRITE statement writes the page currently in the internal work area back to the file (or volume).

The page may have been modified by a MODIFY statement.

Format

WRITE / W                                                                                               

     

Example

READ 1
MODIFY 10,X'FF'
WRITE

Page 1 is read to memory.
X'FF' is assigned to the tenth byte.
After modification, page 1 is written back to the file.