Page 1 of 1

Temporaray dataset

PostPosted: Sun Mar 22, 2009 6:55 am
by praveen522
Hi,
A Temporary dataset is created while execution of the program with disp parameters as (new,keep,delete) and while it has been submitted, return code is zero.Now the question is whether temp dataset will b deleted or not, n what is the state of that temporary dataset?

Re: Temporaray dataset

PostPosted: Sun Mar 22, 2009 7:29 am
by dick scherrer
Hello,

What is the dataset name? Do you really mean a temporary dataset? A true temporary data set (by IBM/jcl definition) is created and deleted in the job. After the job, there is no "state".

If new,keep,delete did not cause a jcl error, i suspect it is only temporary by your definition.

No dataset should have a disp of new,keep. This is a very bad practice.

Suggest you look here:
http://publibz.boulder.ibm.com/cgi-bin/ ... /12.22.2.6?
and here:
http://publibz.boulder.ibm.com/cgi-bin/ ... 80/12.19.7?

It will probably be a good thing to navigate from one of those pages to the Table of Contents and bookmark that manual. You should use it often ;)