Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Historic information about the "DCB parameter in the DD

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> General Talk & Fun Stuff
View previous topic :: :: View next topic  
Author Message
Ricardo Viegas

New User


Joined: 18 Oct 2012
Posts: 33
Location: Brasil

PostPosted: Fri Nov 01, 2013 9:23 am    Post subject: Historic information about the "DCB parameter in the DD
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: 1712
Location: UK

PostPosted: Fri Nov 01, 2013 2:54 pm    Post subject:
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 User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Mon Nov 04, 2013 8:58 pm    Post subject:
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: 641
Location: Whitby, ON, Canada

PostPosted: Tue Nov 05, 2013 12:17 am    Post subject:
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    Post subject:
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 User


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

PostPosted: Mon Dec 09, 2013 5:19 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> General Talk & Fun Stuff All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts TOT & DATE parameter in ICEMAN hemanthj642 DFSORT/ICETOOL 4 Mon Nov 14, 2016 5:19 am
No new posts Amount field is getting corrupted whe... thesumitk SYNCSORT 5 Tue Oct 18, 2016 8:20 pm
No new posts How to display value of an exit param... lind sh CICS 2 Sun Oct 09, 2016 12:28 pm
No new posts Obtaining file information pahiker COBOL Programming 25 Tue Sep 27, 2016 7:25 pm
No new posts hot to get details when "EXEC CI... Andi1982 CICS 11 Tue Sep 20, 2016 5:01 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us