I generally put each parameter on a separate line, for ease in editing.

--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


________________________________________
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> on behalf of 
Pommier, Rex <rpomm...@sfgmembers.com>
Sent: Wednesday, October 6, 2021 10:13 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: [EXTERNAL] Re: IBM JCL Expert preview in today's announcement 
letter

Hi Bob,

I'm in your boat but trying to transition to Gil's.  :-)  Much easier to change 
DSN if it's the last parameter on the line.

Rex

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of Bob 
Bridges
Sent: Wednesday, October 6, 2021 8:57 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: IBM JCL Expert preview in today's announcement letter

Just a side comment, you may be in the minority putting DISP first, but the 
minority isn't tiny; my observation is that a lot of folks do it.  I sometimes 
do myself -- I like making parms line up, it often makes them easier to read -- 
but alas, my habit is still to put it after the DSN.  Always in the same order, 
in fact, so I guess I have a "standard" even though it's peculiar to me:

  //DDNAME   DD DSN=DATA.SET.NAME,DISP=(,CATLG),
  //            DCB=(DSORG=PS,RECFM=VB,LRECL=1028[,BLKSIZE=half-tracK]),
  //            [UNIT=something,]SPACE=(CYL,(5,20),RLSE)

Yeah, I still do DCB=(...).  I learned JCL forty years ago.  I hear it's no 
longer needed, but I'm used to it.  Sue me.

---
Bob Bridges, robhbrid...@gmail.com, cell 336 382-7313

/* When I heated my home with oil, I used an average of 800 gallons a year.  I 
have found that I can keep comfortably warm for an entire winter with slightly 
over half that quantity of beer.   -Dave Barry, _Postpetroleum Guzzler_ */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Paul Gilmartin
Sent: Wednesday, October 6, 2021 08:32

    JED provides complete JCL validation, reformatting
    and enforcement of JCL standards.  ...

What's a "standard"  Suppose a site has a standard for naming job steps.
Can it enforce that?  Or only "standards" in the view of the JED author.

In DD statements I habitually code DISP as the first option.  I may be in a 
minority.  Does JED enforce ordering of options?  Might it require or prohibit 
"DCB=(...)"?  (is ""DCB=(...)" ever needed nowadays?  I still see it coded on 
occasion.)

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
The information contained in this message is confidential, protected from 
disclosure and may be legally privileged. If the reader of this message is not 
the intended recipient or an employee or agent responsible for delivering this 
message to the intended recipient, you are hereby notified that any disclosure, 
distribution, copying, or any action taken or action omitted in reliance on it, 
is strictly prohibited and may be unlawful. If you have received this 
communication in error, please notify us immediately by replying to this 
message and destroy the material in its entirety, whether in electronic or hard 
copy format. Thank you.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send 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

Reply via email to