Paul,
I agree on both of your points regarding GENER and instream processing.
To be able to introduce the exec instream directly to the background and
execute would certainly simply things.
The GENER step I added was used simply to debug and sanity check the basic
JCL flow using the same disposition processing. I am not recommending it as
a solution. The basic job flow works if it weren't for the presence of the
MODEL DD. In order to resolve the JCL error with few changes to the JCL,
adding VOL=REF=*.STEP008.SYSUT2 to the MODEL DD statement will fix it.
----- Original Message -----
From: "Paul Gilmartin" <[EMAIL PROTECTED]>
Newsgroups: bit.listserv.ibm-main
To: <[email protected]>
Sent: Wednesday, May 23, 2007 3:11 PM
Subject: Re: &&PDS caused JCL error - WHY
On Wed, 23 May 2007 14:58:02 -0400, Phil Knight wrote:
As a test, interestingly enough, if you substitute the IKJEFT01 step with
an
IEBGENER step to simply print the members, your basic JCL setup works
fine.
Moving on from there, I modified your job inserting an IEBGENER step after
IEBUPDTE to copy the &&PDS to a new temporary loadlib named
&&LOAD. If
The thought of using IEBGENER to copy to a loadlib is kinda scary.
SYSEXEC points to &&LOAD and DD name MODEL points to &&PDS (or
visa versa),
the exec runs fine. The problem occurs when both of these match.
I've done this sort of thing in one IKJEFT01 step, creating
SYSEXEC as a temporary DS &&SYSEXEC, allocating a member
with a referback and VOL=REF=*.SYSEXEC, copying in a member
from an instream data set with a REPRO command in SYSTSIN,
then executing it.
Might there be a Requirement to execute an EXEC from an instream
data set under either IKJEFT01 or IRXJCL?
-- gil
----------------------------------------------------------------------
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
----------------------------------------------------------------------
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