16.12.2012 Views

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

z/OS V1R9.0 UNIX System Services Command ... - Christian Grothoff

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>OS</strong>HELL<br />

Description<br />

<strong>OS</strong>HELL uses BPXBATCH to run the shell command or shell script:<br />

oshell shell_command<br />

For example, to display process information, enter:<br />

oshell ps –ej<br />

When you use <strong>OS</strong>HELL, do not use an & to run a shell command in the<br />

background. For more information about BPXBATCH, see Appendix D, “Running<br />

shell scripts or executable files under MVS environments,” on page 891<br />

Some examples of using the <strong>OS</strong>HELL command are:<br />

v List files in a directory<br />

v Create, delete, or rename directories, files, and special files<br />

v Display contents of a file<br />

v Copy files<br />

v Display file attributes<br />

v Search files for text strings<br />

v Compare files or directories<br />

v Run executable files<br />

v Display the attributes and contents of a symbolic link (symlink)<br />

v Set up character special files<br />

v Set up standard directories for a root file system<br />

Some of these tasks may require superuser authority.<br />

<strong>OS</strong>TEPLIB — Build a list of files<br />

Format<br />

Description<br />

<strong>OS</strong>TEPLIB pathname<br />

Use the <strong>OS</strong>TEPLIB command to build a list of files that are sanctioned by your<br />

installation as valid step libraries for programs that have the set-user-ID or<br />

set-group-ID bit set. This permission setting allows a program to have temporary<br />

access to files that are not normally accessible to other users. Step libraries have<br />

many uses; for example, selected users can test new versions of runtime libraries<br />

before the new versions are made generally available.<br />

You must have superuser authority to issue <strong>OS</strong>TEPLIB.<br />

The sanctioned list is valid if it conforms to the following rules:<br />

v You can include comment lines in the list. Each comment line must start with /*<br />

and end with */.<br />

v You must follow standard MVS data set naming conventions in naming the files<br />

in the list.<br />

v Each data set name must be fully qualified and cannot be enclosed in quotation<br />

marks.<br />

v Each data set name must be on a line by itself, with no comments.<br />

v You can put blanks before and after each data set name. Entirely blank lines in<br />

the list are ignored.<br />

872 z/<strong>OS</strong> <strong>V1R9.0</strong> <strong>UNIX</strong> <strong>System</strong> <strong>Services</strong> <strong>Command</strong> Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!