z/OS DFSMSrmm Reporting
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Creating REXX EXECs

z/OS DFSMSrmm Reporting
SC23-6875-00

This topic contains information that you can use to create your own REXX EXECs or procedures to use with DFSMSrmm.

To get the TSO subcommands to return information as REXX variables, you must set the REXX variable SYSAUTH.EDGDATE to a valid abbreviation of a DATEFORM value.

All commands set the DFSMSrmm reason code into variable EDG@RC, if the return code in the REXX variable RC is 4, 12, or 20.

Some stem variables use the stem value of 0 to indicate the number of items returned by the command for that variable.

In some cases, such as EDG@VOL (for SEARCHVOLUME), the .0 stem variable indicates that multiple resources meet the search criteria. For example, if you issue the RMM SEARCHVOLUME subcommand, EDG@VOL.0 might contain 2, indicating that two volumes met the search criteria. EDG@VOL.1 contains the first volume serial number, and EDG@VOL.2 contains the second volume serial number.

In other cases, such as EDG@VOL (for LISTPRODUCT), the .0 stem variable indicates how many of some repeatable value exist for a single resource. For example, if you issue the RMM LISTPRODUCT subcommand, EDGVOL.0 might contain 5, indicating that five volume serial numbers are associated with the listed product. EDG@VOL.1 contains the first volume serial number, and EDG@VOL.2 contains the second volume serial number, and so on.

Some variables, such as EDG@LDMN, return information in a double stem variable. For example, if you issue the RMM LISTCONTROL LOCDEF subcommand, EDG@LDMN.1.0 variable contains the number of media names that are used for the first location. EDG@LDMN.1.1 contains the first media name, EDG@LDMN.1.2 the second media name. EDG@LDMN.2.0 variable contains the number of media names used for the second location, EDG@LDMN.2.1 contains the first media name, EDG@LDMN.2.2 the second media name.

For more information about REXX variables you can specify, see z/OS DFSMSrmm Managing and Using Removable Media.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014