If the ARCHIVE keyword is used the service will use the ENCODING keyword value if it is present or determine the encoding from the protocol content-type entry or use a default value to convert the received byte content to a Unicode string ready for the archiving stage.
The ENCODING keyword is only used when the service is going to archive the received content. The keyword value of *BINARY instructs the service to write the byte content unaltered to the archive file.
The ARCENCODE keyword controls the archive file content encoding.
If the content type is not of type text or XML then the byte content is written to the file unaltered.
Using the keyword ENCODING (*BINARY) with the ARCHIVE keyword causes all received content to be archived unaltered.