>
> But when I try to define another DATACLAS as VSAMXT, by adding the line
FILTLIST
> VSAMEXT INCLUDE(VSAMEXT.**) . I get an error as "Referrenced FILTLIST is
not valid,
> But when I try to remove the DB2EXT and Just VSAMXT it goes fine and all
the dataset
> stating VSAMEXT is getting allocated using dataclas VSAMXT. Now I see the
DATACLAS
> DB2EXT is not in affect after activating the above DATACLAS.
>
> Could anyone please suggest me idea to activate both DATACLAS in the same
script.
>
Jags,
A better way to code the ACS code would be to use DO LOOPS after the WHEN
statement with EXIT. Once you have made a match you just exit rather than
look at anything else.
For example (pseudo code)
SELECT
WHEN
DO
Code
EXIT
END
OTHERWISE
DO
WRITE
EXIT
END
END
That way when you finish you just exit and not try for anything else.
If you are a member of share.or - there are a couple of good presentations
on how to WRITE ACS CODE.
Lizette
----------------------------------------------------------------------
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