Execute UMET from zOS Manager (with Table on zOS)

Execute Universal Message Translator from z/OS Manager (in a Script with Table Housed on z/OS)

The following figure illustrates the execution of Universal Message Translator from a z/OS Universal Command Manager.

//S1 EXEC UCMDPRC                                      
//UNVIN    DD DISP=SHR,DSN=hlq.umet.table
//SCRIPTDD DD *                                                     
UCOPY > c:\temp\umet.table
umet -table c:\temp\umet.table -file c:\temp\bkup.log -level verbose                   
/*                                                                  
//SYSIN   DD  *
-host dallas      
-script SCRIPTDD  
-userid joe 
-pwd abcdefg  
/*

The message table is stored and maintained on z/OS and copied down to the server upon execution. The -table option points to the table of defined return codes based on text. The -file option points to the text file to be interrogated.

The first command copies the messages table from the UNVIN DD of the manager process to a server file named c:\temp\umet.table. The UMET program then is executed to interrogate the log file and set the return code based on the translation table.

Script Options

The script options used in this example are:

Option

Description

-table

Translation table file name.

-file

Input message file name. If the option is not specified, UMET reads its input from stdin.

-level

Level of messages that will be displayed.

SYSIN Options

The SYSIN options used in this example are:

Option

Description

-host

Host name or IP address of the remote system on which to execute the script.

-script

ddname from which to read a script file. The script file is sent to the remote system by UCMD Manager for execution

-userid

Remote user ID with which to execute the command.

-pwd

Password for the user ID.

Components

[Universal Command Manager for z/OS

Universal Message Translator