Conversion Table for Source Field Type i, b or s

Target Conversion
c The value of the integer is formatted in the business notation and transferred right-justified and without decimal separators into the target field. With negative values the character "-" is placed in the last position. With positive values a blank character is placed in the last position. If the target field is longer than the numeric string, including the "-" or blank character, the places to the left are filled with blank characters. If the target field is too short, positive numbers are moved one place to the right. If the target field is still too short, (and with negative values) the integer is cut off on the left and the "*" character is placed in the first position of the target field.
d If the value of the integer is between 1 and 3.652.060, it is interpreted as the number of days since 01.01.0001 and the resulting date is put in the target field in the format YYYYMMTT. If the value lies outside this range, the target field is filled with the character "0".
f The value of the integer is converted into the internal format of a floating point number.
i, b, s If the content is assigned to the same data type, it is not converted when it is transferred. If it is not assigned to the same data type, the value of the integer is converted into the internal format i, b, s. If the value range of data type b or s is exceeded, a handleable exception occurs.
n The absolute value of the integer is transferred into the target field as a right-justified character string. If the target field is longer than the character string, the spaces to the left are filled with zeros. If it is too short, the values to the left are cut off.
p The value of the integer is converted into the internal format of a packed number. If the value range of the target field is too small, a handleable exception results.
string The value of the integer is formatted in the business notation and transferred without any gaps and decimal separators into the target field. With negative values the character "-" is placed in the last position. With positive values a blank character is placed in the last position.

The resulting length of the target field is determined by the number of digits plus the minus sign or blank character.

t The value of the integer is divided by the number of seconds in a day (86,400) and the whole number of the divide remainder is interprered as the number of seconds since midnight. The resulting time is put in the target field in the format HHMMSS.
x The contents of 4, 2 or 1 bytes of the integer are put right-justified in big-endian sequence into the target field. If the target field is longer than 4, 2 or 1, the left side of the integer is filled with hexadecimal zeros. If the target field is too short, the places on the left are cut off.
xstring The contents of 4, 2 or 1 bytes of the integer are put in big-endian sequence into the target field. The length of the target field is always 4, 2 or 1.