Encoding

Data can be encoded using a specified adapter. The encoding adapter is called before the transport adapter in an output card, PUT or GET where request data is passed as the third parameter.

The following characteristics exist for the -ENCODE command:

  • The -ENCODE command is used within the command line of a transport adapter, or another encoding adapter.
  • The -ENCODE command cannot be used in an input card.

For example:


-ENCODE 'encoding_adapter (command_line)'

The -ENCODE command is not required if the -TRANSPORT command is used. Encoding is implied by using -TRANSPORT in an output card, PUT or GET where request data is passed as the third parameter.

See "Encode/Decode Scenarios" for more information.