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
 
Dispositions as DELETE and DELETE

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Mon Nov 12, 2007 7:21 pm    Post subject: Disposition Parameter of DD Statement
Reply with quote

Could anyone please explain What is the difference between DISP=SHR and DISP=OLD?
Back to top
View user's profile Send private message

Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 788
Location: Chennai, India

PostPosted: Mon Nov 12, 2007 7:28 pm    Post subject: Dispositions as DELETE and DELETE
Reply with quote

When will we go for both Normal and Abnormal Disposition as DELETE and DELETE?
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Nov 12, 2007 7:28 pm    Post subject:
Reply with quote

Have you tried the fine manual?

O.
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 686
Location: Earth

PostPosted: Mon Nov 12, 2007 7:57 pm    Post subject:
Reply with quote

gnanas,
If you don't specify any disposition then default is =(NEW,DELETE,DELETE). We generally specify this kind of disposition for temporary datasets used in the step. Please let us know if this is not what you wanted..
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Nov 13, 2007 3:51 am    Post subject:
Reply with quote

Hello,

Quote:
What is the difference between DISP=SHR and DISP=OLD
OLD specifies exclussive use, SHR specifies the file may be shared with other processes.

Quote:
When will we go for both Normal and Abnormal Disposition as DELETE and DELETE
Specify delete for both when the file is to be deleted whatever the outcome fo the step. This is typically used for datasets that are only for use within one step.
Back to top
View user's profile Send private message
Binaya

New User


Joined: 03 Jul 2007
Posts: 77
Location: Hyderabad

PostPosted: Tue Nov 13, 2007 11:56 am    Post subject: Re: Disposition Parameter of DD Statement
Reply with quote

I feel this question has to be in freshers forum..
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Skip file from delete pema_yozer All Other Mainframe Topics 3 Tue Aug 29, 2017 3:19 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 JCL to delete component in a package sundaram.naveen Compuware & Other Tools 14 Tue Nov 29, 2016 6:21 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 Delete record or Reset RC code using ... mpawan Compuware & Other Tools 4 Tue Jul 26, 2016 3:52 pm

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