Neil,
Ther VALUNIT & GDVX are in the same select statement. The VALUNIT is placed
before the GDVX. There is FILTLIST VOL_NONSMS. However the FILTLIST does not
contain any TEST.** HLQs. :
WHEN (&ANYVOL = &VOL_NONSMS OR &HLQ = &HLQ_NONSMS)
SET &STORCLAS = ''
It is also part of the same SELECT statement and it precedes the GDVX "WHEN"
statement.
Neil Duffee <[EMAIL PROTECTED]> wrote:
If both of these WHEN statements are part of the same SELECT, then
&VALUNIT will take precedence over &GDVX_... since only *one*
condition results from a SELECT. However, 3390 is a member of the
FiltList so (&UNIT NE &VALUNIT) is false and not selected. Are there
other WHEN options in the same SELECT that match ie. (&VOL EQ
&NOT_SMS)?
Not directly obvious in SMS but DISP=MOD,VOL=SER=xxx will bypass ACS
and use the specified volume. (when no catalogue entry is found)
There's some verbiage about it in the DISP= section of the JCL
Reference manual. [Got stung with this one when I moved production
datasets to SMS managed. My ACS ignored &VOL values but 2-3 jobs
were using MOD with VolSer=. That's were an obsolete-type SG pool
comes into play. I placed all those names in the SG and, magically,
they were now considered SMS datasets.]
----------> signature = 6 lines follows <--------------
Neil Duffee, Joe SysProg, U d'Ottawa, Ottawa, Ont, Canada
telephone:1 613 562 5800 x4585 fax:1 613 562 5161
mailto:NDuffee of uOttawa.ca http:/ /aix1.uottawa.ca/ ~nduffee
"How *do* you plan for something like that?" Guardian Bob, Reboot
"For every action, there is an equal and opposite criticism."
"Systems Programming: Guilty, until proven innocent" John Norgauer
2004
----------------------------------------------------------------------
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
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
----------------------------------------------------------------------
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