Changing the display format of a field
Display Field Data in HEX - (DISPLAY field HEX)

To display field data in HEX, perform the following steps:
- Type DIS 21 HEX in the COMMAND field.
- Press Enter. The data items in field 21 only are redisplayed in hexadecimal notation as illustrated in the following figure.
Result of DISPLAY 21 HEX
The display format of the 3-byte packed signed numeric field, EMP-LOCAL-TAX-WITHOLD-PCT changes from a normalized, zero suppressed, decimal value (5.00) to the horizontal hex value (000500C). The format information in the heading of field 21 also changes to 3/HEX.
Vertical Formatted Mode - After DISPLAY 21 HEX
COMMAND ===> SCROLL ===> PAGE
EMP-MARITAL-STATUS EMP-LOCAL-TAX-WITHOLD-PCT EMP-CON-HOME-PHONE
1/AN 3/HEX 10/AN
(86-86) (99-101) (189-198)
16---------------- 21----------------------- 34----------------
********************************* TOP OF DATA **********************-CAPS OFF-*
M 00500C 4155556981
- - - - - - - - - - - - - - - - - - - - - - - - - - - 1 RECORD(S) NOT SELECTED
S 00000C 2125559021
S 01500C 4045559021
S 00000C 3125559021
S 00000C 4085551245
S 00700C 4085551245
S 00700C 7175550855
More about the DISPLAY command
- The DISPLAY field definitions you specify are retained until you exit the Browse/Edit function.
- DISPLAY and SHOW command settings affect both Vertical (VFMT) and Formatted (FMT) modes.
Returning fields to their standard display format
To return a field to its internal format as defined by the record layout, use the RESET keyword of the DISPLAY primary command.
Return Field Display to Standard - (DISPLAY field RESET)

Steps:
- Type DIS 21 RESET in the COMMAND field.
- Press Enter. Field 21 is displayed normalized in decimal format as illustrated in the following figure.
Vertical Formatted Mode - After DISPLAY 21 RESET
COMMAND ===> SCROLL ===> PAGE
EMP-MARITAL-STATUS EMP-LOCAL-TAX-WITHOLD-PCT EMP-CON-HOME-PHONE
1/AN 3/PS 10/AN
(86-86) (99-101) (189-198)
16---------------- 21----------------------- 34----------------
********************************* TOP OF DATA **********************-CAPS OFF-*
M 5.00 4155556981
- - - - - - - - - - - - - - - - - - - - - - - - - - - 1 RECORD(S) NOT SELECTED
S 0 2125559021
S 15.00 4045559021
S 0 3125559021
S 0 4085551245
S 7.00 4085551245
S 0 4085559021
Redisplaying all fields
Use the DISPLAY ALL command to redisplay all fields.
Redisplay All Fields - (DISPLAY ALL)

To redisplay all fields, perform the following steps:
- Type DIS ALL in the COMMAND field.
- Press Enter. File-AID redisplays all of the fields.
Result of DISPLAY ALL
Note that when the screen is redisplayed, it is positioned with field number 16 as the first field on the left side of the display. To display the columns containing the data items for fields 1-15, enter the LEFT primary command. To display the columns containing data items following field number 19, enter the RIGHT primary command. The affect of the LEFT and RIGHT commands is similar in character and vertical formatted modes.
Also note that field 17 is not shown because it is a group item. Usually, only elementary items are presented in vertical formatted mode.
Vertical Formatted Mode - After DISPLAY ALL
COMMAND ===> SCROLL ===> PAGE
EMP-MARITAL-STATUS EMP-LIFE-INS-WITHOLD-AMT EMP-NATL-TAX-WITHOLD-PCT
1/AN 6/SNUM 3/PS
(86-86) (87-92) (93-95)
16---------------- 18---------------------- 19----------------------
********************************* TOP OF DATA **********************-CAPS OFF-*
M -3000.00 -74.00
- - - - - - - - - - - - - - - - - - - - - - - - - - - 1 RECORD(S) NOT SELECTED
S 0 55.00
S 0 INVALID
S 5000.00 7.00
S 5000.00 65.00
S 0 49.00
S 5000.00 45.00
S 5000.00 INVALID