The rac command

In the z/OS UNIX System Services environment, one can only issue authorized TSO commands, including the RACF TSO commands, when entering the shell via the OMVS interface. This ability does not exist for users using telnet, rlogin, rsh, or rexec to establish their z/OS UNIX shell environment. Further, output from TSO commands, regardless of the environment, can not be easily manipulated using standard shell programming techniques, such as the grep, sed, and awk commands, pipelines, and redirection of stdout.

The rac command allows RACF commands to be issued in any z/OS UNIX environment and writes the command output to stdout, thus making it available for shell programming techniques.

Note that the tsocmd utility available on the z/OS UNIX Tools and Toys web page can be used to issue RACF commands, but it requires APF authorization.

The rac tool consists of these files:

You can download these files either by using your browser or by using anonymous file transfer protocol (ftp). From your browser, select "file" and "save as". For anonymous ftp, use the site public.dhe.ibm.com. rac can be found in the directory /eserver/zseries/zos/racf/rac/. Full installation instructions are in the racReadMe.pdf file.

We welcome your comments and questions on the rac utility. Please direct them to the RACF-L mailing list. Subscription information for RACF-L can be found from the RACF-L Discussion List page.

Disclaimers

This program contains code made available by IBM Corporation on an "AS-IS" basis. Any one receiving this program is considered to be licensed under IBM copyrights to use the IBM-provided code in any way he or she deems fit, including copying it and redistributing it, except that it may be neither sold nor incorporated within a product that is sold. No license under any IBM patents or patent applications is to be implied from this copyright license.

The software is provided "as-is", and IBM disclaims all warranties, express or implied, including but not limited to implied warranties of merchantability or fitness for a particular purpose.


Contact IBM

Browse z/OS