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

Does dd dsn=dummy save cpu cycles.


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

New User


Joined: 15 Jan 2007
Posts: 36
Location: Kerala

PostPosted: Mon Dec 01, 2008 5:44 pm
Reply with quote

I have to do some processing and write some data to a 5 files based on some conditions. But one file is no longer needed. So i put that file to dummy in the jcl like 'dd dsn=dummy' instead of DD DSN=&&SHORTS,DISP=(,PASS).

Will this save performance. Will this save cpu cycles.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Mon Dec 01, 2008 7:24 pm
Reply with quote

Hi Babu,

Yes, and more importantly, it eliminates the wait time inherent in writing data to a device.
Back to top
View user's profile Send private message
bijoybabu83

New User


Joined: 15 Jan 2007
Posts: 36
Location: Kerala

PostPosted: Mon Dec 01, 2008 8:15 pm
Reply with quote

Hi ,
Thanks for your Prompt help.

One more question I do have is will it take any CPU cycles if we put dd dummy.

Thanks,
Babu -
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon Dec 01, 2008 9:00 pm
Reply with quote

I don't think CPU cycles will be affected one way or the other. Where you save is I/O time which is where 99% of your time goes anyway. Also, CPU cycles aren't nearly as critical as they were years ago.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon Dec 01, 2008 10:05 pm
Reply with quote

Hello,

All "write"s take some cpu overhead - dummy uses the least.

If you are really interested in cpu use, you could change the code so that the file is no longer referenced in the code. The data moves/calculations to build the output "record" take more cpu than the dummy write. . .
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 OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts Infosphere Optim - unable to save Col... IBM Tools 0
No new posts DUMMY When do I need add a DCB parameter JCL & VSAM 3
This topic is locked: you cannot edit posts or make replies. How to save expanded jcl's into one l... CLIST & REXX 13
No new posts DD DUMMY & CPU TIME Testing & Performance 16
Search our Forums:

Back to Top