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
 

 

Output files with DUMMY,DISP=SHR and BLKSIZE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Output files with DUMMY,DISP=SHR and BLKSIZE
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Thu Aug 18, 2011 11:18 am    Post subject: Reply to: Output files with DUMMY,DISP=SHR and BLKSIZE
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: 6968
Location: porcelain throne

PostPosted: Thu Aug 18, 2011 11:25 am    Post subject:
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    Post subject: Reply to: Output files with DUMMY,DISP=SHR and BLKSIZE
Reply with quote

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

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Tue Aug 23, 2011 8:10 pm    Post subject:
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    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 Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 5 Wed Jul 26, 2017 7:35 pm
No new posts Wanted to calculate TRK when i have B... Balu5491 JCL & VSAM 8 Wed Jul 19, 2017 5:43 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 7 Thu Jun 29, 2017 1:41 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm


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