The values for some CICSPlex® SM resource table attributes are maintained in an encoded form. These values can be:
You can use one of two built-in translator functions to translate these values:
For example, consider the following COBOL statement:
MOVE EYUVALUE(QUIESCING) TO EYUDATA
This statement translates the EYUDA character value of QUIESCING into its numeric equivalent of 48 when the program is translated.
Resource table | Attribute value | CICS Environment |
LOCTRAN | RESSEC(RESSECEXT) | CICS/MVS |
CICSPlex SM also provides a TRANSLATE command to translate EYUDA and CVDA values at run time. You can use TRANSLATE to convert an EYUDA or CVDA value that is associated with a specific resource table and attribute. For example:
EXEC CPSM TRANSLATE OBJECT(WLMAWAOR)
ATTRIBUTE(STATUS)
FROMCV(48)
TOCHAR(EYUCHAR)
RESPONSE(RESPDATA)
REASON(REASDATA)
This command translates the EYUDA value for the STATUS attribute of the WLMAWAOR resource table into its character value when the program is run.
For a description of the TRANSLATE command, see TRANSLATE.