gtpi1m3w | System Installation Support Reference |
The Mapping of Airline Traffic over Internet Protocol (MATIP) translation
user exit, UMATTR, translates message text according to user
requirements. UMATTR is entered during data packet processing of input
or output.
UMATTR is called in CMADAT, CMOA, CMOB.
Input
- message
- A pointer to the message being sent.
- encoding_in
- An integer containing the encoding of the message on entry to
UMATTR.
- encoding_out
- An integer containing the encoding of the message on exit from
UMATTR.
Programming Considerations
- All data levels must be returned to the caller in the same state that they
were on entry.
- For inbound messages, UMATTR will translate from the encoding specified in
the original Session Open request to EBCDIC encoding.
- For outbound messages, UMATTR will translate from EBCDIC encoding to the
encoding specified in the original Session Open request.
- Equates for encoding are contained in the user exit and are limited to
padded Baudot, IPARS, ASCII, and EBCDIC.
- EBW100 to EBW103 contains the message length and should not be written
over.
Return Values
- When the translation takes place, a pointer to the translated message is
returned to the caller.
- When the translation does not take place, a pointer to the original
message is returned to the caller.