Ah. I get you, now. I might try using the JCLLIB statement so that my
personal JCL proclib was "in front" of the system proclibs. Then put a
member in my proclib with the same name as used in the system proc for the
INCLUDE member. Like putting your own macro/copy library in front of the
system libraries in a compile. Clumsy, but it should override the system
version of the INCLUDE member.


On Mon, Mar 25, 2013 at 3:55 PM, Bill Ashton <[email protected]> wrote:

> I was planning to override an existing INCLUDE for a common set of STEPLIB
> files, but for different programs. I was hoping I wouldn't have to make a
> lot of changes to the JCL just for this simple test I am running.
> Billy
>
>
> On Mon, Mar 25, 2013 at 4:53 PM, John McKown
> <[email protected]>wrote:
>
> > I haven't seen any syntax to do that. Why not use a instream PROC? You
> can
> > now nest a PROC within another PROC, so you could use an instream PROC
> much
> > like an instream INCLUDE.
> >
> > //INSTREAM PROC
> > //STEP EXEC PGM=WANDA
> > //DD1
> > // PEND
> > // EXEC PROC=EXTPROC,IPROC=INSTREAM
> > //
> >
> > //EXTPROC PROC IPROC=
> > // EXEC PROC=&IPROC
> > //* OTHER JCL IN EXTERNAL PROC IN PROCLIB
> > //*
> >
> >
> >
> >
> > On Mon, Mar 25, 2013 at 3:46 PM, Bill Ashton <[email protected]>
> > wrote:
> >
> > > Does anyone know if I can create an instream entry that would be used
> as
> > an
> > > INCLUDE? I have a bunch of steps in this job I am running, and would
> like
> > > to override the INCLUDE member being called by coding it instream in
> the
> > > top of the job, just as you would do with an instream PROC. I don't
> want
> > to
> > > change the JCLLIB, as it is pretty complex already.
> > >
> > > Thanks!
> > > *Billy Ashton*
> > >
> > > ----------------------------------------------------------------------
> > > For IBM-MAIN subscribe / signoff / archive access instructions,
> > > send email to [email protected] with the message: INFO IBM-MAIN
> > >
> >
> >
> >
> > --
> > This is a test of the Emergency Broadcast System. If this had been an
> > actual emergency, do you really think we'd stick around to tell you?
> >
> > Maranatha! <><
> > John McKown
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
>
>
>
> --
> Thank you and best regards,
> *Billy Ashton*
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>



-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! <><
John McKown

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to