Target | Conversion |
c | The values of each half-byte in the source field are converted into the hexadecimal characters "0" to "9" and "A" to "F", and transferred to the target field, left-aligned. If the target field is longer than the number of characters transferred, it is filled to the right with blank characters. If it is too short, the number is truncated to the right. |
d | The content of the source field is first converted into data type i (see below) and then into type d (see conversion table for source field type i, b, or s). |
f | The content of the source field is first converted into data type i (see below) and then into type f (see conversion table for source type i, b, or s). |
i, b, s | Only the last four bytes in the source field are converted. If the source field is shorter than four bytes, it is extended to the left with the hexadecimal 0 until it reaches a length of four bytes. The content of these bytes is interpreted as a number stored in big endian order, of type i. The hexadecimal values from "00000000" to "7FFFFFFF" are assigned to numbers from +0 to +2 147 483 647 and the hexadecimal values from "80000000" to "FFFFFFFF" are assigned to the numbers 2 147 483 648 to -1. The numbers obtained in this way are converted into the internal representation of an integer. If the value range of the data types b and s is not sufficient, an untreatable exception is raised. |
n | The content of the source field is first converted into data type i (see above) and then into type n (see conversion table for source field i, b, or s). |
p | The content of the source field is first converted into data type i (see above) and then into type p (see conversion table for source field i, b, or s). |
string | The values of each half-byte in the source field are converted into the hexadecimal characters "0" to "9" and "A" to "F", and transferred to the target field, left-aligned. The resulting length of the target field is specified by the number of characters transferred. |
t | The content of the source field is first converted into data type i (see above) and then into type t (see conversion table for source field i, b, or s). |
x | The bytes in the source field are inserted in the target field, left-aligned. If the target field is longer than the number of bytes transferred, it is filled to the right with the hexadecimal 0. If the target field is shorter, the number is truncated to the right. |
xstring | The bytes in the source field are inserted in the target field, left-aligned. The length of the target field is specified by the number of bytes transferred. |