The @HEX statement activates or deactivates hexadecimal mode for the current work file. In hexadecimal mode, all the records are displayed on screen in both printable and hexadecimal form.
Operation | Operands | F mode |
@HEX | [{ON | OFF}] |
ON | Activates hexadecimal mode (default value). |
OFF | Deactivates hexadecimal mode. |
The layout in hexadecimal mode is described in detail in section “F mode”.
When an EDT session starts, hexadecimal mode is deactivated for all the work files.
The activation and deactivation of hexadecimal mode applies at work file level. If the relevant work file is displayed in multiple data windows on the screen then the same mode is used in both data windows.
If, in the case of split screen display, the work window is so small that it is not possible to display even one data line together with its hex lines then the message EDT2404
is output. Hexadecimal mode is activated nevertheless. The user can then enlarge the data window so that the hex lines can also be displayed.
The @PAR HEX statement can be used instead of @HEX and has the same functionality. Furthermore, @PAR HEX can be used for a specific work file or globally for all the work files and is also permitted in L mode and therefore in EDT procedures.