Temporaray dataset



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Temporaray dataset

Postby praveen522 » Sun Mar 22, 2009 6:55 am

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?
praveen522
 
Posts: 2
Joined: Tue Mar 17, 2009 4:41 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Temporaray dataset

Postby dick scherrer » Sun Mar 22, 2009 7:29 am

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 ;)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post