Re: Submit a JCL from within another JCL
On Thu, 16 Jul 2009 05:40:45 -0500, Parin Gangar paringan...@gmail.com wrote: I remember there is some IKJ utility that allows us to do that, but, I can't quite remember the name. I think IEBEDIT is the utility you may be thinking about. But as others have very well pointed out, there are probably easier and more flexible ways to do it. Cheers, Jantje. -- 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
Re: Submit a JCL from within another JCL
Likewise your favorite SORT product. -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Thursday, July 16, 2009 7:07 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Submit a JCL from within another JCL On Thu, 16 Jul 2009 18:06:23 -0400, Thompson, Steve wrote: You can use IKJ : //SYSTSIN DD * SUBMIT 'YOUR.PDS.JCL(JCL)' Subject to the restriction that the source data set must have RECFM=F[B],LRECL=80. IEBGENER is more flexible. Except that the OP did say KSDS... IDCAMS can REPRO to the INTRDR. As the thread raveled, that slipped from my short term memory. Checking, the OP said flat file / KSDS. We don't know whether he meant he was seeking a utility that works for both, or would find either satisfactory. But, yes, either REPRO or IEBGENER is free of the F80 restriction (I haven't tried REPRO for submit). -- gil -- 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 Checked by AVG - www.avg.com Version: 8.5.375 / Virus Database: 270.13.16/2241 - Release Date: 07/16/09 05:58:00 -- 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
Re: Submit a JCL from within another JCL
XXX is the name of a file containing JCL. //CALLJOB EXEC PGM=IEBGENER //SYSUT1 DD DSN=XXX,DISP=SHR //SYSUT2 DD SYSOUT=(A,INTRDR) //SYSIN DD DUMMY //SYSPRINTDD DUMMY -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Parin Gangar Sent: Thursday, July 16, 2009 1:41 PM To: IBM-MAIN@bama.ua.edu Subject: Submit a JCL from within another JCL Hi, I have a requirement where I need to submit a JCL stored in a flat file / KSDS file from within another JCL which is executing. I remember there is some IKJ utility that allows us to do that, but, I can't quite remember the name. It would be great help if I can get some pointers. Thanks, Parin -- 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 -- 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
Re: Submit a JCL from within another JCL
Thanks, I will try and post any issues. -- 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
Re: Submit a JCL from within another JCL
Just iebgener the cards into the internal reader, iefrdr or something similar. Ken Klein Sr. Systems Programmer Kentucky Farm Bureau Insurance - Louisville kenneth.kl...@kyfb.com 502-495-5000 x7011 -Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Parin Gangar Sent: Thursday, July 16, 2009 6:41 AM To: IBM-MAIN@bama.ua.edu Subject: Submit a JCL from within another JCL Hi, I have a requirement where I need to submit a JCL stored in a flat file / KSDS file from within another JCL which is executing. I remember there is some IKJ utility that allows us to do that, but, I can't quite remember the name. It would be great help if I can get some pointers. Thanks, Parin -- 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 -- 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
Re: Submit a JCL from within another JCL
have a requirement where I need to submit a JCL stored in a flat file / KSDS file from within another JCL which is executing. Flat file: //SUBMIT EXEC PGM=IEBGENER //SYSIN DDDUMMY //SYSUT1 DDDISP=SHR,DSN=flat-file //SYSUT2 DDSYSOUT=(,INTRDR) (I'd check the placement of the comma, in the SYSUT2 DDName) - Too busy driving to stop for gas! -- 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
Re: Submit a JCL from within another JCL
You can use IKJ : //REXX1EXEC PGM=IKJEFT1B //SYSTSIN DD * SUBMIT 'YOUR.PDS.JCL(JCL)' //SYSTSPRT DD SYSOUT=* Cordialement, Yann Cuny Groupe GENERALI Industrialisation et Gestion des Environnements * 01 58 34 12 64 *yc...@externe.generali.fr -Message d'origine- De : IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] De la part de Parin Gangar Envoyé : jeudi 16 juillet 2009 12:41 À : IBM-MAIN@bama.ua.edu Objet : Submit a JCL from within another JCL Hi, I have a requirement where I need to submit a JCL stored in a flat file / KSDS file from within another JCL which is executing. I remember there is some IKJ utility that allows us to do that, but, I can't quite remember the name. It would be great help if I can get some pointers. Thanks, Parin -- 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 -- 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
Re: Submit a JCL from within another JCL
Parin Gangar wrote: Hi, I have a requirement where I need to submit a JCL stored in a flat file / KSDS file from within another JCL which is executing. I remember there is some IKJ utility that allows us to do that, but, I can't quite remember the name. It would be great help if I can get some pointers. Thanks, Parin Probably the easiest way would be to IEBGENER it to an internal reader. Rick -- 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
Re: Submit a JCL from within another JCL
On Thu, 16 Jul 2009 14:17:38 +0200, CUNY Yann wrote: You can use IKJ : //REXX1EXEC PGM=IKJEFT1B //SYSTSIN DD * SUBMIT 'YOUR.PDS.JCL(JCL)' //SYSTSPRT DD SYSOUT=* Subject to the restriction that the source data set must have RECFM=F[B],LRECL=80. IEBGENER is more flexible. -- gil -- 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
Re: Submit a JCL from within another JCL
-Original Message- From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of Paul Gilmartin Sent: Thursday, July 16, 2009 4:46 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Submit a JCL from within another JCL On Thu, 16 Jul 2009 14:17:38 +0200, CUNY Yann wrote: You can use IKJ : //REXX1EXEC PGM=IKJEFT1B //SYSTSIN DD * SUBMIT 'YOUR.PDS.JCL(JCL)' //SYSTSPRT DD SYSOUT=* Subject to the restriction that the source data set must have RECFM=F[B],LRECL=80. IEBGENER is more flexible. -- gil snip Except that the OP did say KSDS... IDCAMS can REPRO to the INTRDR. Later, Steve Thompson -- 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
Re: Submit a JCL from within another JCL
On Thu, 16 Jul 2009 18:06:23 -0400, Thompson, Steve wrote: You can use IKJ : //SYSTSIN DD * SUBMIT 'YOUR.PDS.JCL(JCL)' Subject to the restriction that the source data set must have RECFM=F[B],LRECL=80. IEBGENER is more flexible. Except that the OP did say KSDS... IDCAMS can REPRO to the INTRDR. As the thread raveled, that slipped from my short term memory. Checking, the OP said flat file / KSDS. We don't know whether he meant he was seeking a utility that works for both, or would find either satisfactory. But, yes, either REPRO or IEBGENER is free of the F80 restriction (I haven't tried REPRO for submit). -- gil -- 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