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

what is use of SYSIN DD DUMMY


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

New User


Joined: 31 Jan 2007
Posts: 56
Location: banglore

PostPosted: Sat May 19, 2007 1:12 pm
Reply with quote

hi
can anyone please tell me what is practical use of
sysin dd dummy

why do we use dummy dataset.
Back to top
View user's profile Send private message
sandeep1dimri

New User


Joined: 30 Oct 2006
Posts: 76

PostPosted: Sat May 19, 2007 1:40 pm
Reply with quote

To simulate the file environment for the program which writes/read the files
so instead of providing the file we put a Duumy in the same fashion that we are provinding an empty file
Back to top
View user's profile Send private message
vinay upadhyay

New User


Joined: 13 May 2007
Posts: 14
Location: chennai

PostPosted: Sat May 19, 2007 4:08 pm
Reply with quote

The dummy parameter is coded in DD statement to test the execution of a program without actually reading or writing a dataset. The OS actully simulates the presence of dataset.
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: Sat May 19, 2007 7:29 pm
Reply with quote

Hello,

If you specify DD DUMMY and read the file, it will raise the "at end" on the first read. If you write to a DD DUMMY, it does no/io, but the program runs as thought it was creating output. This can be handy if you need to run a program that has several outputs and you only need part of them - especially if an output is a very large report that is not needed for this particular run.

DD DUMMY is often used as a "place-holder" for clarification that there is as dataset used there and is overridden at execution with the actual DD information for the run.
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 Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts concatenate sysin to dsn JCL & VSAM 7
No new posts "Standard" SYSIN, SYSPRINT ... PL/I & Assembler 0
No new posts DUMMY When do I need add a DCB parameter JCL & VSAM 3
Search our Forums:

Back to Top