The BUNPK process converts packed format integers to standard decimal character format. This process must be run on packed format numbers to prepare them for calculation.
Note: Packed numbers with decimals should be converted with process BUNPKn.
Table 231 BUNPK – Convert Packed Integers Example
PROCESS Name |
Input |
Output |
---|---|---|
BUNPK |
Hex‘123456’ |
123456 |
BUNPK |
Hex‘12345C’ |
12345 |
BUNPK |
Hex‘12345D’ |
-12345 |
Parent Topic |