What is the difference between TEMP and DUMMY file?

This Forum is for the guests or the users who are not registered on this board. This part allows guests to post in.
TempDummy

What is the difference between TEMP and DUMMY file?

Post by TempDummy »

What is the difference between TEMP and DUMMY file? Are not they just and serves the same purpose?
William Collins
Global Moderator
Global Moderator
Posts: 490
Joined: Sun Aug 25, 2013 7:24 pm

Re: What is the difference between TEMP and DUMMY file?

Post by William Collins »

If you mean a temporary dataset, starting with one or two ampersands, then No.

So what do you mean by "TEMP"?

DD DSN=NULLFILE is the equivalent of DD DUMMY.
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: What is the difference between TEMP and DUMMY file?

Post by Robert Sample »

A DUMMY file provides an immediate end-of-file for input, and all data written for output is discarded immediately. A temporary file can have data for input or be used for output (or both in different steps of a job) -- consider it the same as any disk data set (it just goes away at the end of the job rather than staying around like disk data sets).
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “You are a Guest.”