Beverly Caldwell
2018-06-11 23:34:31 UTC
This is the second time this has happened to me in as many months:
A job in the DB2 install process:
Job has 12 steps, the, first 11 are HLASM steps compilingl the various bits
and pieces needed by DB2. Step 1 defines a temporary pds with
DISP=(NEW,PASS) gives it some DCB info even a DSORG=PO. Name is
&&TPDS(member name) . Steps 2 - 11 output the compiled code into this
temporary pds. using &&TPDS(member name) DISP=OLD,PASS. 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.
Anybody have any idea what's going on here ? I'm hoping someone will pop up
with a "Oh you can't do that" and tell me why. Either that or it's some
ancient quirk of JCL.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN
A job in the DB2 install process:
Job has 12 steps, the, first 11 are HLASM steps compilingl the various bits
and pieces needed by DB2. Step 1 defines a temporary pds with
DISP=(NEW,PASS) gives it some DCB info even a DSORG=PO. Name is
&&TPDS(member name) . Steps 2 - 11 output the compiled code into this
temporary pds. using &&TPDS(member name) DISP=OLD,PASS. 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.
Anybody have any idea what's going on here ? I'm hoping someone will pop up
with a "Oh you can't do that" and tell me why. Either that or it's some
ancient quirk of JCL.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to ***@listserv.ua.edu with the message: INFO IBM-MAIN