Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

READ - Read page

&pagelevel(4)&pagelevel

The READ statement reads a page into the internal work area.

The data read in thus exists twice: once in the original PAM page and once in the internal work area.

The MODIFY statement can be used to modify the contents of the PAM page stored in the internal work area. With the WRITE statement, the data from the internal work area may be written back to the original area.

The internal work area is cleared by means of the HALT statement.

Format

READ / R                                                                                                 

[page]

Operands

page
Specifies the logical page number to be read. If no page is specified, the next page is read.

Example

READ 7
READ 8
READ 3

This sequence of statements will cause the DPAGE routine to read pages 7, 8 and 3 consecutively. It should be noted that only one internal work area is provided.