Skip to main content
Version: 8.1

Execute UMET from z/OS Manager (with Table on Remote Server)

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

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

//S1 EXEC UCMDPRC
//SCRIPTDD DD *
/opt/universal/ucmdsrv-2.2.0/bin/umet -file /home/log.file -table\
/home/umet.table -level verbose
/*
//SYSIN DD *
-host dallas
-script SCRIPTDD
-userid joe
-pwd abcdefg
/*

Universal Message Translator is executed in order to interrogate a log file and set the return code based on the translation table.

Since the command spans two lines, the native operating system continuation character must be used:

  • \ for UNIX
  • ¬ for Windows

The full path to the Universal Message Translator executable must be specified for UNIX if the path is not part of the user's profile.

Script Options​

The script options used in this example are:

Option

Description

-file

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

-table

Translation table file name.

-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