The DISPLAY statement outputs one or more pages, or parts thereof, to SYSOUT.
Format
DISPLAY / D |
page / page1-page2 / page-$ / * [,byte / ,byte1-byte2 / ,K] |
Operands
page
Specifies the page of the file (or the volume) to be displayed.
page1-page2
Specifies a range of pages which is to be displayed (page1 < page2).
page-$
Specifies that all pages, starting at “page” and continuing through to the end of the file (or volume), are to be displayed.
*
Specifies that the page currently in the internal work area is to be displayed.
byte
Specifies the byte to be displayed.
byte1-byte2
Specifies the byte range to be displayed (byte1 < byte2). Up to 2048 bytes can be used for byte2. For 4K-formatted volumes up to 4096 bytes.
K
Only the PAM key is to be displayed.
Example
DISPLAY 1,1-224 *OPEN TEST OPEN COMPLETED *DISPLAY 1,1-224 PAGE:0000000001 PAMKEY: 57739BDE 01000001 00000138 00010006 001 --> (0001) 7CD7C602 02F8F5C1 D7C1D4C5 C4C9E340 @PF 90ATEST 011 --> (0017) 000057E8 000057E8 F8F7F0F2 F2F50001 Y Y870225 021 --> (0033) 00000000 00000006 00000001 00000000 031 --> (0049) 00010000 00000000 00000000 00000000 041 --> (0065) 00D4010D 00000000 0000000C 027CD7C6 M @PF 051 --> (0081) E5F9F04B C1F0F040 40400000 00000000 V90.A00 061 --> (0097) 00000000 00000000 D7C1D4C5 C4C9E340 TEST =071 --> (0113) 40404040 40404040 40404040 40404040 091 --> (0145) 40000000 00000000 00000000 00000000 0A1 --> (0161) 00000000 00000000 40404040 40404040 0B1 --> (0177) 40404040 F1F9F8F7 00000000 00000000 1987 0C1 --> (0193) 00000000 00000000 00000000 E5F2F100 V21 0D1 --> (0209) 00000000 00000000 6CD9D6D6 E3404040 %ROOT
Output "=071"at the beginning of a line means that the following lines that are not explicitly output have the same contents as 071 and are also filled with blanks.
In the example, line 71 is highlighted ("=71") and line 81 is missing, i.e. line 81 is also filled with blanks.