Your Browser is not longer supported

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

{{viewport.spaceProperty.prod}}

Statements

&pagelevel(3)&pagelevel

Overview of DPAGE statements

Operation              

Function

BKPT /

/[bs-cmd]

Interrupt DPAGE or enter a BS2000 command

DISPLAY / D

Output a specific portion of one or more PAM pages to SYSOUT

EDT / @

Call the file editor EDT as a subroutine

HALT / H /

END / E

Terminate the DPAGE routine

MODIFY / M

Change the contents of a page or the key in an internal work area

OPEN / O

Open a file or a volume

PRINT / P

Output a specific portion of one or more PAM pages to SYSLST

READ / R

Read a page into an internal work area

WRITE / W

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)