I get that that makes it easier to make changes.  But I value screen space
too much to go for that; I want each DD to take up one or three rows, no
more whenever possible.  It's not always possible, of course, but when I
can.

I know I'm in the minority, but I do the same thing when coding.  If some
statements are related...well, like this:

  if before>after then do; x=before; before=after; after=x; end

...or:

  do jw=1 to words(str); say word(str,jw); end

I don't do it all the time, but sometimes if a few short statements are a
conceptual unit, yeah.

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

/* After a battle lost the most melancholy thing is a battle won.
-Wellington */

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of
Seymour J Metz
Sent: Wednesday, October 6, 2021 11:36

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

________________________________________
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

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.

-----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

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.

-----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

Reply via email to