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 Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts Fileaid 2 commands instream work. In ... descann Compuware & Other Tools 2 Tue May 16, 2017 3:31 pm
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm


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