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

Why is DCB needed with DD DUMMY?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
niks_jude
Warnings : 1

Active User


Joined: 01 Dec 2006
Posts: 144
Location: Mumbai

PostPosted: Wed May 20, 2009 2:30 pm
Reply with quote

I get an abend when I dummy my output PS file and also remove the DCB. But when I provide DCB it works fine. I was of the opinion that we do not need DCB definition when we dummy the file. Please note that the routine handling the I/O is assembler and no definition in COBOL is required for files in our system. Is the assembler the reason for this or even COBOL would require a DCB on a DD DUMMY?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 20, 2009 2:49 pm
Reply with quote

What abend do you get, and what is the explanation from the manuals regarding this abend.

What happens when you try it with a COBOL module.
Back to top
View user's profile Send private message
niks_jude
Warnings : 1

Active User


Joined: 01 Dec 2006
Posts: 144
Location: Mumbai

PostPosted: Wed May 20, 2009 3:15 pm
Reply with quote

It is S013 abend.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 20, 2009 3:22 pm
Reply with quote

I guessed that it is an S013 abend.

And once again - what is the explanation from the manuals regarding this abend.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed May 20, 2009 3:55 pm
Reply with quote

Suggestion: go to the Manuals link at the top of the page, find the JCL User's Guide manual, and read section 4.2.2.1 on how the system gets DCB parameter values. Compare what is needed for a complete DCB with the provided data in the Assembler program. On a DD DUMMY, where will the values come from?
Back to top
View user's profile Send private message
niks_jude
Warnings : 1

Active User


Joined: 01 Dec 2006
Posts: 144
Location: Mumbai

PostPosted: Wed May 20, 2009 4:22 pm
Reply with quote

Got it...thanks.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts Help needed to assemble IMS sample co... ABENDS & Debugging 4
No new posts RABBIT HOLE NEEDED - "Live"... All Other Mainframe Topics 0
No new posts Mainframe profiles needed @ Cognizant Mainframe Jobs 0
No new posts COBOL Student learning COBOL File Han... COBOL Programming 3
Search our Forums:

Back to Top