Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups 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 -> Interview Questions
Author Message
Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 370
Location: 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
References
PostPosted: Mon Nov 12, 2007 7:21 pm    Post subject: Re: Disposition Parameter of DD Statement Reply with quote

Gnanas SNG

Senior Member


Joined: 06 Sep 2007
Posts: 370
Location: 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: 1754
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

Senior Member


Joined: 27 Feb 2007
Posts: 508
Location: India

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
Moved: Mon Nov 12, 2007 8:12 pm by William Thompson From JCL to Interview Questions
dick scherrer

Global Moderator


Joined: 23 Nov 2006
Posts: 6032
Location: 221 B Baker St

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

Active User


Joined: 03 Jul 2007
Posts: 52
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
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Interview Questions All times are GMT + 6 Hours
Page 1 of 1