Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 pm
No new posts Mainframe dataset split purushottam DFSORT/ICETOOL 13 Tue Aug 29, 2017 12:28 pm
No new posts Delete IMS remote transaction when MO... Sam Singh IMS DB/DC 0 Wed Aug 23, 2017 9:12 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us