Encoding and decoding can be set up on editable members using
the ENCODE=Y parameter on the FLMLANGL macro, or on SCLM outputs
(non-editable members) using the ENCODE=Y parameter on the FLMALLOC
parameter in the language translators.
To set up SCLM to use encoding and decoding, perform these steps:
- Determine the languages of the editable members that are to be
encoded.
- Modify the required language translators to have ENCODE=Y specified
on the FLMLANGL macro.
- Determine for each language which SCLM outputs are required to be
encoded.
The outputs that are encoded are things like compiler listings.
However, if outputs are to be used either by another language translator or
external processes, the member needs to be decoded prior to being used.
The ENDEC SCLM service can be used to decode the member.
- Modify the language translators to specify ENCODE=Y on the FLMALLOC
macro for the outputs that require the SCLM members to be encoded.
The ENCODE=Y parameter requires an IOTYPE=O or P. The translator
may need to be modified to handle this.
- Assemble the SCLM project definition.
- To ensure the existing editable members or the SCLM outputs are encoded,
the ENDEC service can be run. Otherwise, the editable members are encoded the
next time they are saved. The SCLM outputs are encoded the next time the language
translator is run.