Decoding

You can also decode the data using a specified adapter. The decoding adapter is called after the transport adapter in an input card or GET.

The following characteristics exist for the -DECODE command:

  • The -DECODE command is used within the command line of a transport adapter, or another decoding adapter.
  • The -DECODE command cannot be used in an output card or a PUT function.

For example:


-DECODE 'decoding_adapter (command_line)'

The -DECODE command is not required if the -TRANSPORT command is used. Decoding is implied by using -TRANSPORT in an input card, or GET function.

See "Encode/Decode Scenarios" for more information.