Conversion macros

Table 1 summarizes the conversion macros and provides an example of a string before and after the conversion.

Note: The results that are shown in this table are also based on other parameters being specified a certain way. For details about all the parameters that are associated with each macro, see the information for each macro in z/TPFDF structured programming macros.
Table 1. Conversion macro summary
Macro Description Before Conversion After Conversion
#CONB Character decimal to binary C'12713971' X'C1FFF3'
#CONBG Character decimal to binary 64-bit signed number C'2147483649' X'80000001'
#COND Binary to character decimal X'0000F394' C'00062356'
#CONDG Binary 64-bit signed number to character decimal X'0000000080000001' C'2147483649'
#CONH Character hexadecimal to binary C'12713971' X'12713971'
#CONP Binary to character hexadecimal with EBCDIC interpretation X'C1FFF3' C' AFF 3'
Start of change#CONSEnd of change Start of changeBinary to character decimal with zero suppressionEnd of change Start of changeX'0000F394'End of change Start of changeC'   62356'End of change
Start of change#CONSGEnd of change Start of changeBinary 64-bit number to character decimal with zero suppressionEnd of change Start of changeX'000000004E729FFF'End of change Start of changeC'   1316134911'End of change
#CONT Binary to character binary F'43' C'00101011'
#CONX Binary to character hexadecimal X'C1FFF3' C'C1FFF3'