Using hexadecimal values in FM/CICS
In many FM/CICS panels, you can view and enter decimal values as text characters or as hexadecimal values. To help you quickly convert decimal values to hexadecimal or hexadecimal values to decimal values, FM/CICS provides a simple converter tool, in the form of two primary commands.
To convert a decimal value to its equivalent hexadecimal value:
- On the command line of any panel, enter
DX
followed by the decimal value.FM/CICS displays the results in a message at the bottom of your screen.
DX 10
on a FM/CICS command line, then FM/CICS displays the following message
box: ┌───────────────────────┐ │ Dec 10 = hex 0000000A │ └───────────────────────┘
To convert a hexadecimal value to its equivalent decimal value:
- On the command line of any panel, enter
XD
followed by the hexadecimal value.FM/CICS displays the results in a message at the bottom of your screen.
XD 10
on a FM/CICS command line, then FM/CICS displays the following message box:
┌───────────────────────┐ │ Hex 00000010 = dec 16 │ └───────────────────────┘
Related topics