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
 

 

Why is DCB needed with DD DUMMY?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Why is DCB needed with DD DUMMY?
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 20, 2009 2:49 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 20, 2009 3:22 pm    Post subject:
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: 7990
Location: Bellevue, IA

PostPosted: Wed May 20, 2009 3:55 pm    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
No new posts Sticky: difference between ... DUMMY ... and ... enrico-sorichetti JCL & VSAM 0 Mon Oct 17, 2016 4:31 pm
No new posts Help Needed with View Direct shailesh_do CA Products 2 Wed Jul 13, 2016 10:39 am
No new posts Information needed on using the COBAN... venugopal.dondla COBOL Programming 5 Thu Oct 08, 2015 3:34 pm
No new posts Help needed in Conditional statement ... vinu78 DB2 5 Tue Sep 15, 2015 10:14 am


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