Paul (et al): As I have been alluding to, I work with a product that can do all of what has been discussed here, or any flavor of it. It can be invoked in a variety of ways, from direct calls, to part of an automated change management process, to flagging JCL at submission time to error notification when a schedule is built, to actually capturing the JCL as it is being written to the scheduler and changed (with the appropriate notifications made) so that the production batch environment NEVER fails with these types of conditions.
Regards, Mitch McCluhan, Legacy Modernization Consultant www.lcmg.us -----Original Message----- From: Paul Gilmartin <paulgboul...@aim.com> To: IBM-MAIN <IBM-MAIN@LISTSERV.UA.EDU> Sent: Thu, Nov 7, 2013 10:23 am Subject: Re: JCL (was: Re: Aging Sysprogs = Aging Farmers) On Thu, 7 Nov 2013 09:41:40 -0800, Richard Pinion wrote: >And to throw another twist to this thread, some people say the LRECL and RECFM hould not be coded in the JCL. That way when a change is made to the program ource, that affects LRECL and/or RECFM, the corresponding JCL doesn't have to e updated. What are some opinions about that methodology? f by changing the program source you mean coding LRECL and RECFM in the CB, the JCL needn't be changed. Values coded in the DCB quietly override ny coded in JCL. Shouldn't a warning of such disagreement be issued? believe so, but via what channel? -----Original Message----- From: Ze'ev Atlas Sent: Thu, Nov 7, 2013 8:39 am Let me add another complains about JCL, it allows changing source code meaning n run time and sometimes this is hairy: //XXX DD DSN=.... / DCB=(LRECL=80,&R /... The above is legit although I would fire anybody who doed it. R could be esolved to: / EXEC YYY,R='BLKSIZE=8000)' or it could be resolved to an early example of cose injection of your choice applaud languages such as Rexx in which lexical metacharacters are ever recognized in text introduced by variable substitution. Rexx rovides a workaround in the ever-so-controversial INTERPRET instruction. My first mentor in JCL had a habit disabling options by defaulting PROC parameter to ' ' and enabling them by substituting ''. .g.: FOO PROC C=' ' (set C='' to bypass step!) EXEC PGM=WOMBAT&C,COND=(0,LE) PEND (Now you know how I got to be the way I am.) -- gil ---------------------------------------------------------------------- or IBM-MAIN subscribe / signoff / archive access instructions, end email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN