IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Historic information about the "DCB parameter in the DD


IBM Mainframe Forums -> General Talk & Fun Stuff
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Ricardo Viegas

New User


Joined: 18 Oct 2012
Posts: 39
Location: Brasil

PostPosted: Fri Nov 01, 2013 9:23 am
Reply with quote

Hello!
Does, by any chance, anybody knows when it started to be possible to code the sub-parameters of the DCB parameter directly, as parameters, in the DD card?

I was able to trace back that this was already possible in the OS/390-V2R6, according to a JCL Reference manual dated September/1998
In that manual, and in all its following versions, there is the following statement:

"Alternate syntax for DCB keyword subparameters: All of the DCB keyword subparameters can be specified without the need to code DCB=. For example, the following DD statement:
//DDEX DD DSNAME=WKDATA,DCB=(RECFM=FB,LRECL=80,BLKSIZE=800),DISP=MOD
can also be specified as:
//DDEX DD DSNAME=WKDATA,RECFM=FB,LRECL=80,BLKSIZE=800,DISP=MOD"

I am in a need to now when this kind of "simplification" of coding started. That need emerged during the teaching of an introductory (but extensive - 7 weeks) course about z/OS characteristics, functions, sub-systems, etc directed to prepare "very junior" systems programmers.

Any indication/hint about that will be really appreciated.
Thanks in advance!
Regards, Ricardo
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2454
Location: Hampshire, UK

PostPosted: Fri Nov 01, 2013 2:54 pm
Reply with quote

I think I was doing it in the late 80s.
Back to top
View user's profile Send private message
Pete Wilson

Active Member


Joined: 31 Dec 2009
Posts: 592
Location: London

PostPosted: Mon Nov 04, 2013 8:58 pm
Reply with quote

It was when DFP v3.1 (MVS 4.3) was introduced, around 1989-1990 (ish). I found a document I wrote on the subject dated for our user community in Oct 1990. At the same time there were new JCL keyords introduced to allow VSAM to be allocated via JCL where in the past it could only be done via IDCAMS or TSO. The LIKE= and REFDD= keywords also emerged, and System Determined Blksize (SDB) amongst other things.
Back to top
View user's profile Send private message
don.leahy

Active Member


Joined: 06 Jul 2010
Posts: 765
Location: Whitby, ON, Canada

PostPosted: Tue Nov 05, 2013 12:17 am
Reply with quote

It's funny, but even after all this time I still catch myself coding:

DCB=(RECFM=FB,LRECL=80)

But I never code a BLKSIZE by accident anymore; I always rely on SDB unless there is a special reason not to.
Back to top
View user's profile Send private message
Ed Goodman

Active Member


Joined: 08 Jun 2011
Posts: 556
Location: USA

PostPosted: Tue Nov 05, 2013 7:32 pm
Reply with quote

no kidding, we still have people here that will fail a tech review if the format is not dcb=(xxxxx).

They learned JCL 30 years ago and by gum it's going to stay that way.

No IF statements, no BLKSIZE=0, and you have to specify a volume serial even though we've had SMS installed for more than a decade.
Back to top
View user's profile Send private message
steve-myers

Active Member


Joined: 30 Nov 2013
Posts: 917
Location: The Universe

PostPosted: Mon Dec 09, 2013 5:19 pm
Reply with quote

Mr. Goodman and others are right. Heck, I learned JCL in the 1960s, when it was DSNAME=xxx and VOLUME=SER=xxx. and I still use DCB=(RECFM=... even though I know I can use just RECFM=.... I almost always use system determined BLKSIZE, which is some sort of new fangled thing that came about when I no longer had to use DCB=(...).

Even though I'm a dinosaur that keeps to the old ways I am not so foolish as to insist you young 'uns use them, and I do adopt new ways when it makes sense, like system determined BLKSIZE. I remember coding complex DCB open exits that did something like system determined BLKSIZE before it became standard. Believe me, I do not want to return to those days!
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> General Talk & Fun Stuff

 


Similar Topics
Topic Forum Replies
No new posts VSAM LISTCAT INFORMATION JCL & VSAM 2
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Capturing Job Execution Information All Other Mainframe Topics 3
No new posts Using the Jobname parameter in a Qual... ABENDS & Debugging 1
No new posts Newbie Stuck on "Duplicate Datas... TSO/ISPF 5
Search our Forums:

Back to Top