Execute Universal Message Translator from z/OS
The following figure illustrates the execution of Universal Message Translator from z/OS.
//S1 EXEC PGM=UMET,PARM='-table tabledd -level verbose' //STEPLIB DD DISP=SHR,DSN=hlq.UNV.SUNVLOAD //SYSPRINT DD SYSOUT=* //SYSOUT DD SYSOUT=* //CEEDUMP DD SYSOUT=* //TABLEDD DD * "*ERROR*" 8 "*WARN*" 4 "*ERROR*" 7 /* //SYSIN DD * THIS IS AN ERROR MESSAGE RESULTING IN RETURN CODE 8. /*
The -table option points to the DD statement TABLEDD, which defines the return codes to end this process based on matching text. The first column defines the text to match; the second defines the return code to set if the matching text exists in the SYSIN DD.
The -level option turns on messaging. All messages will be written to SYSPRINT. The SYSIN DD statement points to the text file to be interrogated.
PARM Options
The PARM options used in this example are:
Components