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

Difference between Dummy & Temporary datasets


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

New User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Fri Apr 22, 2005 11:09 am
Reply with quote

What is the difference between dummy and temporary datasets? Can we pass the temporary dataset to another step?
Back to top
View user's profile Send private message
priya

Moderator


Joined: 24 Jul 2003
Posts: 568
Location: Bangalore

PostPosted: Fri Apr 22, 2005 11:56 am
Reply with quote

Dummy dataset doesn't occupy memory, while Temporary dataset occupies memory. (they are created and deleted within the job scope)

Yes, You can pass Temporary datasets to another steps.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sun Apr 24, 2005 5:26 am
Reply with quote

When a dummy I/P ds is read an immediate EOF occurs.
When a dummy O/P ds is written to, no data is transferred.


If you concatenate dummy ds in other than the last position in the concat, the 1st read of the dummy ds produces an EOF, even if there are real ds following in the concat.
Back to top
View user's profile Send private message
andycool

New User


Joined: 12 Apr 2005
Posts: 64

PostPosted: Tue Apr 26, 2005 6:03 pm
Reply with quote

Can anyone let me know the use of a dummy dataset.
Please explain creating some situation.

Regards,
Back to top
View user's profile Send private message
vijayamadhuri

Active User


Joined: 06 Apr 2005
Posts: 180

PostPosted: Wed Apr 27, 2005 4:19 am
Reply with quote

The dummy dataset is coded on the DD ststement to test the execution of the pgm without actually reading or writing into the dataset.It basically
simulates the presence of the file even without it actually existing.

//ddname DD DUMMY
or
DD DSN=nullfile

if the DUMMY FILE IS READ the O.S sends an EOF indicator to the pgm being executed.This will result the pgm to execute based on it's logic without actually reading any data.
If write is requested the file being imaginary is simply ignored.
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 Timestamp difference and its average ... DB2 11
No new posts Difference when accessing dataset in ... JCL & VSAM 7
No new posts Merging 2 datasets into one DFSORT/ICETOOL 1
No new posts PL/I, VB Datasets and the RDW PL/I & Assembler 4
No new posts What is the difference between Taskty... Compuware & Other Tools 2
Search our Forums:

Back to Top