DCB parameter
Moderators: Frank Yaeger, DikDude, Moderator Group
-
- Member
- Posts: 17
- Joined: Wed Sep 07, 2011 9:27 am
- Location: india
DCB parameter
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...
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
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?
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?
-
- Member
- Posts: 17
- Joined: Wed Sep 07, 2011 9:27 am
- Location: india
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
With SMS, you do not need to use the DCB parameter to specify data set attributes, as MrSpock has also mentioned.
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?one more thing, when i am sorting. if i dont declare DCB parameter for temporary datasets. what will happen.
Last edited by Anuj Dhawan on Wed Sep 21, 2011 1:05 pm, edited 2 times in total.
Regards,
Anuj
Anuj
-
- Member
- Posts: 17
- Joined: Wed Sep 07, 2011 9:27 am
- Location: india
- Frank Yaeger
- Moderator
- Posts: 812
- Joined: Sat Feb 18, 2006 5:45 am
- Location: San Jose, CA
- Contact:
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
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort
-
- Moderator
- Posts: 1625
- Joined: Sat Aug 09, 2008 9:02 am
- Location: Mumbai, India
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
- Cobol Interview Questions
50+ Interview Questions - JCL Interview Questions
50+ Interview Questions - DB2 Interview Questions
100+ Interview Questions - CICS Interview Questions
70+ Interview Questions - VSAM Interview Questions
27 Interview Questions
Other References
Mainframe Tools and others
- XPEDITER Reference
Explains how we can debug a program - FILEAID Reference
Explains how to browse , edit and delete datasets - Change Man Reference
Quick Start tutorial on Changeman - Abend Reference
Important Abend codes explained - FaceBook Page
MainframeGurukul FaceBook Page - LinkedIn Page
MainframeGurkul Linkedin Page