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
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
No new posts JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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