DCB parameter

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
santhosh kumar
Member
Posts: 17
Joined: Wed Sep 07, 2011 9:27 am
Location: india

DCB parameter

Post by santhosh kumar » Thu Sep 08, 2011 11:58 am

Hi,

What is the default values will take for DCB parameter, when i dont declare a DCB parameter in the creation of dataset.

Could you please advise me on this...

thanks in advance...
santhosh

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Thu Sep 08, 2011 4:19 pm

First of all, keep in mind that DCB is obsolete and has been for some time now. I'd suggest that you remember that it exists, and then forget about actually using it.

It's rare that you need to specify the dataset attributes, but the circumstances depend greatly on what program is being used to create the dataset. As far as I know, there are no default values, and your job would most likely fail if you didn't supply the proper values when they were needed. Outside of that, I suspect that every system would be different based on their unique configuration.

Isn't this something you could easily check and verify for yourself?

santhosh kumar
Member
Posts: 17
Joined: Wed Sep 07, 2011 9:27 am
Location: india

Post by santhosh kumar » Thu Sep 08, 2011 6:53 pm

thanks MrSpock

one more thing, when i am sorting. if i dont declare DCB parameter for temporary datasets. what will happen.

Please advise me on this..

Thanks in advance!
santhosh

DikDude
Moderator
Posts: 1001
Joined: Fri Jul 22, 2011 8:39 am
Location: usa

Post by DikDude » Thu Sep 08, 2011 8:57 pm

if i dont declare DCB parameter for temporary datasets. what will happen.
Isn't this something you could easily check and verify for yourself?
Run a test and post a reply if there are any questions or problems. . .
Have a good one

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Thu Sep 08, 2011 8:58 pm

This is just a general comment, but most sorting processes determine those sort of details based on the indicated input and output details, and adjust the allocation requirements dynamically as needed.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Mon Sep 12, 2011 6:23 pm

With SMS, you do not need to use the DCB parameter to specify data set attributes, as MrSpock has also mentioned.
one more thing, when i am sorting. if i dont declare DCB parameter for temporary datasets. what will happen.
Temporary DSNs (&&TEMP) are different. They are managed by system, so as an application developer you should not be bothered about the DCB of Temporary DSNs. Are you talking about Sort-Work files by any chance?
Last edited by Anuj Dhawan on Wed Sep 21, 2011 1:05 pm, edited 2 times in total.
Regards,
Anuj

santhosh kumar
Member
Posts: 17
Joined: Wed Sep 07, 2011 9:27 am
Location: india

Post by santhosh kumar » Mon Sep 12, 2011 6:32 pm

Hi anuj,

Thanks for the reply..

Yes, I am talking about the Sort-work files

Thanks!
santhosh

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Mon Sep 12, 2011 11:02 pm

You SHOULD NOT specify any attributes for the sort work data sets. DFSORT will set the needed attributes automatically.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Wed Sep 21, 2011 2:56 pm

Thanks Frank.
Yes, I am talking about the Sort-work files
You've an answer from Frank already. On the other hand, most of the sites I worked on had DYNALLOC set to on, so I rarely code SORTWORK files in the SORT application/s, let the DCB for them a distant thing to do.
Regards,
Anuj

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others