View previous topic :: View next topic
|
Author |
Message |
sureshmurali Warnings : 1 New User
Joined: 25 Nov 2010 Posts: 70 Location: Sivakasi, India
|
|
|
|
In this link
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IEA1B640/12.19.3?SHELF=&DT=20000718114500&CASE=
I am seeing the last statement as :
If you omit the DISP parameter, the default is a NEW data set with a disposition of DELETE for both normal and abnormal termination disposition. Thus, you can omit the DISP parameter for a data set that is created and deleted during a step.
How it will help us in which this dataset has the lifetime only at a particular step?
How it differ from a temporary data set that will be deleted after the job
ends?
Please clarify
Thanks in advance |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
A temporary data set can be referenced in subsequent job steps, which is often helpful. DISP=(NEW,DELETE,DELETE) means the data set cannot be used outside the one job step. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
How it will help us in which this dataset has the lifetime only at a particular step? |
Consider this a "work file" for use only by the particular step. Often used when there is too much data to load into an array within the program. |
|
Back to top |
|
|
|