IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Disp paramaters & dataset delete status


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
smithak_shetty

New User


Joined: 13 Sep 2008
Posts: 4
Location: Mysore

PostPosted: Sat Sep 20, 2008 10:41 am
Reply with quote

Hi All,

If DISP=(NEW,PASS,DELETE) for a dataset,
will the dataset be deleted once JCL executes??

Thanks,
Smitha
Back to top
View user's profile Send private message
gvel19

New User


Joined: 20 Jul 2008
Posts: 19
Location: Schenactady, US

PostPosted: Sat Sep 20, 2008 10:50 am
Reply with quote

The Dataset will be existing till the execution of the job. Once the job completes its execution the dataset gets deleted.
PASS is nothing but a temporary.

Thanks,
Vel
Back to top
View user's profile Send private message
smithak_shetty

New User


Joined: 13 Sep 2008
Posts: 4
Location: Mysore

PostPosted: Sat Sep 20, 2008 10:51 am
Reply with quote

Thank You icon_biggrin.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Sat Sep 20, 2008 12:01 pm
Reply with quote

Hi,

"Status" of DSN would depend on the usage of DSN - permanent or Temporary.

A temporary dateset (&&somename) is unknown outside of the job defining it, but a permanent dataset with a disp of (new,pass,delete) could cause a conflict with another job running at the same time. However, if things have been setup properly, there will not be any name clashes.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts DELETE SPUFI DB2 1
No new posts DSNTIAUL driven delete IBM Tools 0
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Job completes in JES, but the status ... IBM Tools 1
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
Search our Forums:

Back to Top