Decode (-DECODE)
Use the Decode adapter command (-DECODE) to instruct the adapter to decode the MIME data into XML format. This is performed implicitly if the MIME Adapter is chained with a transport adapter in an input card.
-DECODE
For example, to decode MIME data received over HTTP:
GET("MIME","-DECODE -TRANSPORT ' HTTP (-URL http:/myurl/ )'")
The -DECODE option is optional since it is implied by the invocation of the MIME Adapter in an input card or GET function.
For more information on encoding and decoding data, see the Encoding and Decoding Data section in the Resource Adapters documentation.