Customizing the WLM application data sets — IWMAREX2

WLM provides the IWMAREX2 exit to specify:
You should use this exit to allocate data sets according to your installation's storage management policies. You can not change any of the following TSO/E ALLOCATE parameters in IWMAREX2:
Unless you code otherwise in this exit, the WLM application uses the following data set information as the defaults:
   UNIT(SYSDA)
   TRACKS SPACE(15,15)

Processing

This exit is called from the IWMARZAL REXX exec.

Parameters

IWMAREX2 has the following parameters:
ARDSDIR
Specifies the number of 256 byte records to be allocated for the application recovery data set.
ARDSOPTS
Specifies the options for the application recovery data sets, with the following sub-parameters:
UNIT(xxxx)
Specifies the unit type for the TSO ALLOCATE command.
STORCLAS
The SMS storage class.
MGMTCLAS
The SMS management class.
DATACLAS
The SMS data class.

To determine what to specify for unit, check which UNIT type is coded for the TSO ALLOCATE command in your installation.

ARDSSPACE
Specifies the options to allocate a data set. The options are:
SPACE(quantity,(increment))
TRACKS
CYLINDERS
BLOCKS(value)
PDDSDIR
Specifies the number of 256 byte records to be allocated for the print service definition data set.
PDDSOPTS
Specifies the options for the print service definition data set, with the following sub-parameters:
UNIT(xxxx)
Specifies the unit type for the TSO ALLOCATE command.
STORCLAS
The SMS storage class.
MGMTCLAS
The SMS management class.
DATACLAS
The SMS data class.

To determine what to specify for unit, check which UNIT type is coded for the TSO ALLOCATE command in your installation.

PDDSSPACE
Specifies the options to allocate a print definition data set. The options are:
SPACE(quantity,(increment))
TRACKS
CYLINDERS
BLOCKS(value)
SDDSDIR
Specifies the number of 256 byte records to be allocated for the service definition data set.
SDDSOPTS
Specifies the options for the service definition data sets, with the following sub-parameters:
UNIT(xxxx)
Specifies the unit type for the TSO ALLOCATE command.
STORCLAS
The SMS storage class.
MGMTCLAS
The SMS management class.
DATACLAS
The SMS data class.
SDDSSPACE
Specifies the options to allocate a data set. The options are:
SPACE(quantity,(increment))
TRACKS
CYLINDERS
BLOCKS(value)
XMLDSOPTS
Specifies the options for the service definition XML data sets, with the following sub-parameters:
UNIT(xxxx)
Specifies the unit type for the TSO ALLOCATE command.
STORCLAS
The SMS storage class.
MGMTCLAS
The SMS management class.
DATACLAS
The SMS data class.
XMLDSSPACE
Specifies the options to allocate a service definition XML data set. The options are:
SPACE(quantity,(increment))
TRACKS
CYLINDERS
BLOCKS(value)

Examples

The following examples show some uses of the IWMAREX2 exit:
  • Suppose you want to specify that the UNIT type for your TSO allocate commands in your installation is type SYSDS. In exit IWMAREX2, you specify the following:
       /* REXX */
       'ARDSOPTS(UNIT(SYSDS))'
       Exit 0
  • Suppose you want to specify the service definition data sets as SMS managed data sets in the standard storage class, and in the NOMIG management class. In exit IWMAREX2, you specify the following:
       /* REXX */
       queue 'ARDSOPTS(STORCLAS(STANDARD) MGMTCLAS(NOMIG))'
       queue 'ARDSSPACE(SPACE(10,10) TRACKS)'
       Exit 0