Source Type Character
Conversion table for source type C
Target |
Conversion |
C |
The data in the target field is left-justified. If the field is too long, it is filled with blanks from the right. If it is too short, the contents are truncated on the right. |
D |
The character field should contain an 8-character date in YYYYMMDD format. |
F |
The contents of the source field must be a valid representation of a type F field as described in Literals . |
N |
Only the digits in the source field are copied. They are compressed on the right and padded with zeros on the left. |
P |
The source field must contain the representation of a decimal number, i.e. a sequence of digits with an optional sign and no more than one decimal point. The source field can contain blanks. If the target field is too short, an overflow may occur. This may cause the system to terminate the program. |
T |
The character field should contain a 6-character time in HHMMSS format. |
X |
Since the character field should contain a hexadecimal-character string, the only valid characters are 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F. This character string is packed as a hexadecimal number, transported left-justified, and padded with zeros or truncated on the right. |