Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 & VSAM
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    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

priya

Moderator


Joined: 24 Jul 2003
Posts: 568
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: 1592

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

New User


Joined: 12 Apr 2005
Posts: 64

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: 180

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
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
This topic is locked: you cannot edit posts or make replies. Difference between EQUAL and EQUAL TO... jithinraghavan COBOL Programming 3 Thu Apr 19, 2018 2:22 am
This topic is locked: you cannot edit posts or make replies. Unavailable RECON datasets while exec... abdulrafi JCL & VSAM 10 Fri Apr 06, 2018 12:45 pm
No new posts Creation of Datasets dynamically on t... Raghu M N DFSORT/ICETOOL 8 Fri Mar 16, 2018 12:56 am
No new posts Enterprise PL/I - dynamic allocation ... prino PL/I & Assembler 0 Mon Jan 29, 2018 10:17 pm
No new posts DUMMY When do I need add a DCB parameter Martylin JCL & VSAM 3 Fri Dec 08, 2017 7:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us