Using OSHELL to run shell commands and scripts from MVS™

You can use the OSHELL REXX exec to run a shell command or shell script from the TSO/E READY prompt and display the output to your terminal. This exec uses BPXBATCH to run the shell command or shell script:
oshell shell_command
For example, to display process information, enter:
oshell ps –ej

Restriction: With this exec, do not use an & to run a shell command in the background.