> OK so far. Step 12 > allocates the entire pds to a ddname to service link
edit INCLUDE  statements.and immediately after that in the JCL alllocates
&&TPDS(member)
> to use as SYSIN to the linkage editor. This allocation fails with a
dataset  not found.jcl error All dispositions except the first and even
includig the
> last (failing) one are OLD, PASS.

Beverly,

If you are referring the same temp dataset with 2 different DDnames in the
same step, then you probably need VOL=REF

something like this

//STEP0100 EXEC PGM=SORT
//SORTOUT  DD DSN=&&IN,DISP=(,PASS),SPACE=(CYL,(1,1),RLSE)
...
//STEP0200 EXEC PGM=ABCD
//INA      DD DSN=&&IN,DISP=(OLD,PASS),VOL=REF=*.STEP0100.SORTOUT
//INB      DD DSN=&&IN,DISP=(OLD,PASS),VOL=REF=*.STEP0100.SORTOUT


Kolusu





----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to