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

Output files with DUMMY,DISP=SHR and BLKSIZE


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

New User


Joined: 29 Oct 2010
Posts: 10
Location: Chennai

PostPosted: Thu Aug 18, 2011 11:11 am
Reply with quote

Dear All,

I do see the output file defined with dummy followed DISP=SHR,DCB parameters. Is there any use DUMMY with parameters DISP and DCB?

Can you please tell me what will happen if we don't use those parameters.

Code:
//OUTPUT1   DD DUMMY,DISP=SHR,                                   
             DCB=(RECFM=VB,LRECL=2004,BLKSIZE=2008)
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Thu Aug 18, 2011 11:18 am
Reply with quote

Have you tried the JCL manual?

Doesn't hurt to try, does it?

Often you'll see stuff lying around after overriding a DD to DUMMY.

Someone once joked that with huge blocksize/buffers the data would get igrnored quicker. Try it. Maybe it wasn't a joke...
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Aug 18, 2011 11:25 am
Reply with quote

Quote:
Can you please tell me what will happen if we don't use those parameters.


it is so easy to test, why don't you try?

at my site, the set-up is such, that any dummy, requires some dcb parms.
Back to top
View user's profile Send private message
Soumik Das

New User


Joined: 06 Aug 2011
Posts: 25
Location: India

PostPosted: Tue Aug 23, 2011 7:40 pm
Reply with quote

see this....
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Tue Aug 23, 2011 8:10 pm
Reply with quote

krishna_ragav wrote:
Can you please tell me what will happen if we don't use those parameters.

Try this: in any JCL of yours, replace the
Code:
//xxxxx DD SYSOUT=x
by
Code:
//xxxxx DD DUMMY
Submit, and then you tell us what happens!
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 Write line by line from two files DFSORT/ICETOOL 7
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
Search our Forums:

Back to Top