Using z/OS UNIX commands - Documentation for BMC AMI Ops Monitor for Unix Systems Services 6.4

Specify the shell commands, z/OS UNIX REXX EXECs, program binaries, and/or shell scripts to run, and any options or arguments to pass.

Separate multiple commands with semicolons.

The filepath of a non built-in command must be an absolute path specified as a prefix to the command name.

The commands will run in the BMC AMI Ops Monitor for USS PAS, with the PAS user ID and UID=0, which allows you to run system management commands and issue the commands from MainView Explorer and TSO.

Some commands do not work properly in a non-TSO environment, such as the ps command with no options, or oedit or obrowse, which need access to a 3270 terminal. (In the ISPF environment, you can use TSO OEDIT and TSO OBROWSE on the command prompt if your UAS is on the target system and you have read permission; they are ISPF commands that run in your TSO session and not the PAS.) Some commands might behave differently than when they are run in an interactive shell such as OMVS and under your own user ID. The shell command will time out if it runs for more than 20 seconds. In this case, you should run the command in the background.

The current working directory is /, the root directory. The working directory can be changed temporarily with the shell command cd directory.

The default PATH environment variable is PATH='/bin:/usr/sbin'. The PATH environment variable can be changed temporarily by using the shell command PATH=dirlist, for example, PATH='/bin:/usr/local:/usr/sbin'.

You Might Also Like