OSHELL — Invokes BPXBATCH from TSO/E

Format

OSHELL

Description

OSHELL uses BPXBATCH to run the shell command or shell script:
oshell shell_command
For example, to display process information, enter:
oshell ps –ej
For more information about BPXBATCH, see BPXBATCH

Restriction: When you use OSHELL, do not use an & to run a shell command in the background.

Some examples of using the OSHELL command are:
  • List files in a directory
  • Create, delete, or rename directories, files, and special files
  • Display contents of a file
  • Copy files
  • Display file attributes
  • Search files for text strings
  • Compare files or directories
  • Run executable files
  • Display the attributes and contents of a symbolic link
  • Set up character special files
  • Set up standard directories for a root file system

Some of these tasks may require superuser authority.