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
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts REXX to get the all datasets name parasmalik20 CLIST & REXX 5 Tue Jul 18, 2017 9:10 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Difference between TWALENG and TWASIZE Arunkumar Chandrasekaran CICS 3 Tue Jan 03, 2017 12:57 pm

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