Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Disp paramaters & dataset delete status

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Disp paramaters & dataset delete status
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    Post subject: Reply to: Disp paramaters
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    Post subject: Reply to: Disp paramaters
Reply with quote

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

Senior Member


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

PostPosted: Sat Sep 20, 2008 12:01 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 3 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
This topic is locked: you cannot edit posts or make replies. session stuck in TPX with status ACL amitc23 CA Products 1 Tue Dec 13, 2016 12:53 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us