Information

This site will undergo a brief period of maintenance on Thursday, 23 April at 2:30 AM Central/1:00 PM IST. During a 30 minute window, site availability may be intermittent.

Examples for SMSSELCT


The following example shows you how to assign SMS volumes:


Command

Result

SMFUNC22 member

SET  NAME=SMSSELCT ACTIVE=YES
     MSG=I SMF=I
     FLST=53 RLST=26
     DESC='ASSIGN VOL FROM STOGROUP'

The function is defined and activated.

SMFLST53 member

SET  MODE=ACT
     INC STOGROUP=/

All DFSMS data sets are selected.

SMRLST26 member

SET  VOLSEL=BESTFIT
     INC STOGROUP=APPLA

The function selects the volume with the extent that is closest to the data set’s primary extent request for all data sets in storage group APPLA.

SET  VOLSEL=MAXSPACE
     INC DSN=DIV325.PAY*.**.MSTR

The function selects the volume with the largest single extent for payroll master files in division 325.

SET  VOLSEL=PERCENT
     INC JOBCLASS=T

The function selects the volume with the largest percentage of free space for all SMS-managed data sets in jobs that are running in class T.

The following example shows you how to require all initial allocations (first volume) for an SMS-managed data set with a second qualifier of PARMS to be allocated on SMS-managed volumes SMS001 to SMS009. In this scenario all extends for these types of SMS-managed data sets go to SMS-managed volumes SMS010 and SMS011.

Warning

Important

If the SMS-managed pools that are used in the SMSPOOL and SMSPOOL_EXT parameters do not include volumes from the data set’s storage group, the allocation will fail.

Command

Result

SMSYS00 member

SMS_ALLOC=YES

SMSSELCT is processed during DASDM ALLOCATE processing.

SMS_EXTEND=YES

SMSSELCT is processed during DADSM EXTENDNV processing.

SMFUNC22 member

SET  NAME=SMSSELCT ACTIVE=YES
     MSG=I SMF=Y
     FLST=53RLST=26
     DESC='ASSIGN VOL FROM STORGRP'

The function is defined and activated.

SMSPOLxx member

SET  NAME=SMSP1
     INC VOL=SMS00/

An SMSPOL named SMSP1 is defined. SMSP1 includes all volumes that start with SMS00.

SET  NAME=SMSP2
     INC VOL=(SMS010,SMS011)

An SMSPOL named SMSP2 is defined. SMSP2 includes volumes SMS010 and SMS011.

SMFLST53 member

SET  MODE=ACT
     INC QUAL2=PARMS

All data sets that have PARMS as the second qualifier are selected.

SET  MODE=INACT
     INC DADSM_FUNC=(ALLOCATE,EXTENDNV)

SMSPOLs are not processed for any other data sets.

SMRLST26 member

SET  SMSPOOL=SMSP1,SMSPOOL_EXT=SMSP2
     INC QUAL2=PARMS

The initial allocation is allowed only to the volumes that are defined in SMSP1, and extends are allowed only to the volumes that are defined in SMSP2.



 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

BMC AMI Storage Allocation 8.2