gtpo1m44Operations

ZDFIL-Display File

Use this command to display a file record.

Requirements and Restrictions

You cannot use this command to display general dataset records.

Format




fileaddr
is an 8- or 16-digit hexadecimal file address.

mmmmcccchhhhrr
is a 14-digit extended MCHR file address, where:

mmmm
is the 4-digit hexadecimal symbolic module number.

cccc
is the 4-digit hexadecimal cylinder number.

hhhh
is the 4-digit hexadecimal head number.

rr
is the 2-digit hexadecimal record number.

mmgggggq
is an 8-digit general file (GF) pseudo module number and relative record number, where:

mm
is the 2-digit hexadecimal symbolic GF module number.

ggggg
represents bits 8-27 of a GF relative record number as a binary counter.

q
is a single hexadecimal digit that represents the low-order 4 bits of the GF relative record number as follows:

Bit
Description

 28 
Unit position of the relative record number.

 29 
Must be 1 to indicate a relative record number.

 30 
Must be 0.

 31 
The number 1 to indicate a large record, or the value 0 to indicate a small record.

rsa
is a 1- to 3-digit hexadecimal relative starting address (offset).
Note:
If the relative starting address is not on a fullword boundary, it is automatically adjusted to the next lower fullword boundary.

bytes
is the hexadecimal number of bytes to display from X'01'-X'FFF'.
Note:
If the number of bytes you specify does not correspond with an even number of lines, the number is automatically adjusted to display the next higher even number of lines.

Type
specifies which file copy of the record to display:

R
displays the prime copy or the duplicate copy.

P
displays the prime copy.

D
displays the duplicate copy.

G
displays the 4-byte pseudo module number and relative record number copy.

Note:
The P and D options are valid only for FARF format addresses.

Print
prints the following data:

R
prints to an available printer the record at the specified address.

RC
prints to the current display device the chain of addresses from the specified record for a total of 33 chains.

RCP
prints to an available printer the chain of records from the specified record, up to a total of 33 chains.
Note:
The PRINT parameter is valid only for FARF3, FARF4, or FARF5 file addresses.

Additional Information

Examples

The prime copy of a file record is displayed in the following example.

+--------------------------------------------------------------------------------+
|User:   ZDFIL 0000000038880007 2.40 TYPE-P                                      |
|                                                                                |
|System: DFIL0011I 07.10.02 DISPLAY OF FILE ADDRESS 0000000038880007             |
|         00000000- C1D60080 C3C7E3F2 00000514 00000515 AO..CGT2 ........        |
|         00000010- 00020FE8 0000432C 00004EB4 000023D0 ...Y.... ........        |
|         00000020- 00002538 00000000 00000000 00000000 ........ ........        |
|         00000030- 00000000 00000000 00002A24 00003564 ........ ........        |
|        END OF DISPLAY - ZEROED LINES NOT DISPLAYED                             |
+--------------------------------------------------------------------------------+

A general file record is displayed in the following example.

+--------------------------------------------------------------------------------+
|User:   ZDFIL 0D000005 2.40 TYPE-G                                              |
|                                                                                |
|System: DFIL0011I 07.40.37 DISPLAY OF FILE ADDRESS 000000000D000005             |
|         00000000- C3D40020 C4E8C4C7 00000000 00404040 CM..DYDG .....           |
|         00000010- 0D000085 0D00033D 0D0005F5 00000000 ...e.... ...5....        |
|         00000020- 00000000 004E0000 40000000 C2E2E240 ........  ...BSS         |
|         00000030- 00000000 00000000 00000000 00000000 ........ ........        |
|        END OF DISPLAY - ZEROED LINES NOT DISPLAYED                             |
+--------------------------------------------------------------------------------+

Related Information

See TPF Main Supervisor Reference for more information about displaying file records.