PLITRAN21
PLITRAN21 translates two-byte data from a source buffer to one-byte data in a target buffer.
- p
- Address of the target buffer.
- q
- Address of the source buffer.
- n
- Length of the source buffer. The buffer length must be nonnegative and must have a computational type. The buffer length is converted to type size_t.1
- t
- Address of the 64K-byte translate table.
The target buffer must be at least half as large as the source buffer.
The translate table must be aligned on a doubleword boundary. The easiest way to force this alignment is to add the attribute ALIGNED(8) to the declare of the table.
On z/OS, PLITRAN21 is implemented via inline code using the CU21 instruction.