Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Difference between Dummy & Temporary datasets

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
rambabu
Currently Banned

Active User


Joined: 18 Apr 2005
Posts: 67

PostPosted: Fri Apr 22, 2005 11:09 am    Post subject: Difference between Dummy & Temporary datasets
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
References
priya

Moderator


Joined: 24 Jul 2003
Posts: 624
Location: Bangalore

PostPosted: Fri Apr 22, 2005 11:56 am    Post subject:
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: 1504

PostPosted: Sun Apr 24, 2005 5:26 am    Post subject:
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

Active User


Joined: 12 Apr 2005
Posts: 65

PostPosted: Tue Apr 26, 2005 6:03 pm    Post subject:
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: 187

PostPosted: Wed Apr 27, 2005 4:19 am    Post subject: Hi
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1