On Tue, 2 Sep 2014 09:27:07 -0500, John McKown wrote: > >I can only think of two reason people still use IEFBR14 in this >manner. The first is that it predates the existence of IDCAMS. And so >"inertia" has set in. The other reason is that by being in JCL, the >DSN, or portion, can be a symbolic parameter. ... > >//DELIT PROC NODE=T >//DELIT EXEC PGM=IKJEFT01, >// PARM='DEL aaa&NODE..REST.OF.NAME' >//SYSTSPRT DD SYSOUT=Z >//SYSTSIN DD DUMMY >// PEND > Of course, z/OS 2.1 provides symbol substitution in the SYSIN to IDCAMS.
>But we've gotten even lazier. We just use a CA-11 step in _all_ (even >programmers submitted) jobs as the first step. That lets _it_ find and >delete all DISP=NEW datasets referenced in the JCL. > (But not, I hope, "DISP=(,CATLG)". Isn't the default disposition "(,DELETE)"?) "first step"? Not last? It deletes data sets about to be created? Or does it modify control blocks for the remainder of the job? -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
