If you change the proc to //PROCNAME PROC PROG=IEFBR14 //STEPNAME EXEC PGM=&PROG // PEND then //EXECUTE EXEC PROC=PROCNAME, PROG=IEBGENER will work.
On Wed, Dec 8, 2010 at 7:20 PM, Charles Mills <charl...@mcn.org> wrote: > Am I reading the JCL reference correctly that there is no way to override an > EXEC statement or the PGM= parameter of an EXEC statement in a cataloged > procedure? No way to do something like > > //STEP1 EXEC MYPROC,PGM.PROCSTP1=IEFBR14 > > Or > > //STEP1 EXEC MYPROC > //STEP1.PROCSTP1 EXEC PGM=IEFBR14 > > (I am assuming here not modifying the proc, which does not already have an > &PGM symbol.) > > Charles > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO > Search the archives at http://bama.ua.edu/archives/ibm-main.html > -- Mike A Schwab, Springfield IL USA Where do Forest Rangers go to get away from it all? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html