Examples

Example 1:

You find that a system with higher I/O capability is locking out slower systems from accessing the communications data set. After checking the value of the interval, currently set at 15 seconds, you decide the interval should be 20 seconds. To make this change, you enter:
SETSMS INTERVAL(020)

Example 2:

Assume that on system MVS3 you want to set the SMS trace table size to 16KB, deselect all trace options, then select three options. To make these changes, enter:
SETSMS DESELECT(ALL),TRACE(ON),SIZE(16K)
SETSMS SELECT(ACSINT,CDSC,CONFC)
To determine the current tracing status on MVS3, enter:
DISPLAY SMS,TRACE
The following display would show the trace table size of 16KB and the ON/OFF status of each of the individual trace entries. In this example only the ACS, CDS, and CONFC options would show the ON status.
10.24.04 DISPLAY SMS

IGD002I 11:08:57 DISPLAY SMS 056 
TRACE = ON SIZE = 128K TYPE = ERROR 
JOBNAME = * ASID = * 
TRACING EVENTS: 
MODULE = ON SMSSJF = ON SMSSSI = ON ACSINT = ON
OPCMD = ON CONFC = ON CDSC = ON CONFS = ON
MSG = ON ERR = ON CONFR = ON CONFA = ON
ACSPRO = ON IDAX = ON DISP = ON CATG = ON
VOLREF = ON SCHEDP = ON SCHEDS = ON VTOCL = ONVTOCD = ON 
VTOCR = ON VTOCC = ON VTOCA = ON
RCD = ON DCF = ON DPN = ON TVR = ON
DSTACK = ON UAFF = ON  
VOLSELMSG = (OFF,0) TYPE = ERROR JOBNAME = *
ASID = * STEPNAME = * 
DSNAME = * 

Example 3:

You can use the SETSMS command to turn on tracing for SMS data set stacking and other events:
SETSMS SELECT(MODULE,DSTACK,VTOCC)

Example 4:

You can use the SETSMS command to change the activity keypoint value.
SETSMS AKP(300)
This results in the following output:
SETSMS AKP(300)                                        
IGW467I DFSMS TVS ACTIVITY KEY POINT PARMLIB VALUE 959 
CHANGED ON SYSTEM: SYSTEM1                             
OLD VALUE: 200                                         
NEW VALUE: 300                                         

Example 5:

You can use the SETSMS command to change the quiesce timeout value.
SETSMS QTIMEOUT(500) 
This results in the following output:
SETSMS QTIMEOUT(500)                         
IGW467I DFSMS TVS QTIMEOUT PARMLIB VALUE 962 
CHANGED ON SYSTEM: SYSTEM1                   
OLD VALUE: 400  1                            
NEW VALUE: 500  1                            

Example 6:

You can use the SETSMS command to change the MAXLOCKS maximum and increment values.
SETSMS MAXLOCKS(200,100) 
This results in the following output:
SETSMS MAXLOCKS(200,100)                     
IGW467I DFSMS TVS MAXLOCKS PARMLIB VALUE 965 
CHANGED ON SYSTEM: SYSTEM1                   
OLD VALUE: 100  50  1                        
NEW VALUE: 200  100  1                       

These MAXLOCKS values are for example only. In practice, you might want to set the minimum and increment values higher to avoid generating too many messages.

Example 7:

You can use the SETSMS command to control how to issue the volume selection analysis messages. Assume you want to issue detailed analysis messages for all volumes on failure allocations, enter:
SETSMS VOLSELMSG(ON,ALL) TYPE(ERROR)
After the processing completes, check the parameter settings, enter:
DISPLAY SMS,VOLSELMSG
This results the following report:
IGD002I 08:14:24 DISPLAY SMS 488
VOLSELMSG = (ON,ALL)    TYPE = ERROR    JOBNAME = *
ASID = *  STEPNAME = *                                               
DSNAME = *                                                           
TRACE    = ON     SIZE = 128K     TYPE = ERROR                           
JOBNAME = *    ASID = *   
Note that because the TYPE parameter value is shared by SMS trace facility and volume selection analysis messages, changing it for volume selection analysis messages will therefore affect SMS tracing.