z/OS MVS IPCS User's Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Putting the Pieces Together

z/OS MVS IPCS User's Guide
SA23-1384-00

The preceding sections give a few building blocks for creating IPCS REXX EXECs. To see a complete EXEC, look at the sample IPCS REXX EXEC BLSXWHER in system library SYS1.SBLSCLI0. BLSXWHER analyzes load modules in the private area of storage. Use BLSXWHER as a guide for writing your own IPCS REXX EXECs. Also, reference the information in Techniques for Analyzing Dumps Using IPCS REXX EXECs for more sample IPCS REXX dump analysis functions.

IPCS REXX EXECs can do more than analyze dumps. You can write execs to perform utility tasks in IPCS. Figure 1 gives a simple EXEC that transfers information from a batch dump directory to a user's current dump directory.

Figure 1. Sample IPCS REXX EXEC to Copy Dump Directory Information
/* REXX */

/*-----------------------------------------------------------*/
/* Function:  Copy a dump description from our installation's*/
/*            batch dump directory 'SYS1.DDIR' into the      */
/*            current dump directory and display a summary of*/
/*            the storage from the dump description.         */
/*-----------------------------------------------------------*/
ARG dump_name

Address IPCS

"COPYDDIR INDSNAME('SYS1.DDIR') DSNAME("dump_name")"

exit rc

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014