Overview of DPAGE statements
Operation | Function |
---|---|
| Interrupt DPAGE or enter a BS2000 command |
| Output a specific portion of one or more PAM pages to SYSOUT |
| Call the file editor EDT as a subroutine |
| Terminate the DPAGE routine |
| Change the contents of a page or the key in an internal work area |
| Open a file or a volume |
| Output a specific portion of one or more PAM pages to SYSLST |
| Read a page into an internal work area |
| Write the page currently in the internal work area back to the file |
Formats
The following terms are used in the description of the statements:
page | Decimal number of up to 10 digits in the range 1 - 2147483647. |
byte,byte1,byte2 | Decimal number of up to 4 digits in the range 1 - 2048. Exception After opening 4K-formatted volumes, a decimal number in the range 1-4096. |
Kn | The letter K followed by an integer in the range 1-16. |
The page number specified in the statements refers to the Physical Half Page Number (PHP = 2048 bytes).
The page number however refers to the logical 4k block number (contains 2PHP = 4096 bytes) in the following cases:
a 4K-formatted volume has been opened
a 4K file has been opened on a volume without a PAM key (NK2, NK4)