John Dawes wrote:
>Can anybody tell me how SMS differentiates between a filter list for DASD
and a filter list for datasets?  For >example, in the following code how
does SMS know that it is a filter for dasd:
>
>  FILTLIST VOL_BANC   INCLUDE(APPG*,PROM*)

A filter list is just a list of possible values that you want to test the
value of a variable against.
Assuming the above filter list values are volser patterns, you could do:
IF &ANYVOL = APPG* OR &ANYVOL = PROM* .  . .

or you could do:
IF &ANYVOL = &VOL_BANC . . .

If the above filter list contains the first node (HLQ) of datasets, you
could do:
IF &HLQ = &VOL_BANC . . .

If I am only testing for one or two possible values in a variable, I will
likely use the first
IF statement above. If I am testing for three or more possible values, I
use a filter list.

Regards,
John

----------------------------------------------------------------------
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