Bob,
That's Dean's way (and, AFAIK, the only way) to see if the WHEN ... DO rule is 
executed.
Since the FILTLIST only applies to one specific dataset, there won't be any 
impact to the system.

Of course, one might be able to save a few cycles if one were to code a first 
WHEN ... DO rule to test for valid DASD units and exit if it isn't, instead of 
repeating the DASD unit test in every WHEN ... DO rule. But that's another 
issue.

Ulrich

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf Of 
Robert Pelletier
Sent: Friday, August 17, 2007 10:36 AM
To: [email protected]
Subject: Re: SMS Question - Urgent

Question: I'm not an SMS expert but is this necessary: WRITE '&DATACLAS
SPECIFIED (' &DATACLAS ')'  


Bob Pelletier
Connecticut Student Loan Foundation
Rocky Hill, Ct.
My stuff is pretty basic:

 PROC DATACLAS

<snipped>

 WHEN ((&DSN EQ &PRODVSAM) AND              
      (&UNIT EQ &DASD_UNITS))               
   DO                                                      
    SET &DATACLAS EQ 'PRODVSAM'                            
    WRITE '&DATACLAS SPECIFIED (' &DATACLAS ')'            
    EXIT                                                   
   END

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to