IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

DISP parameters


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Musab Razeen Ahmed

New User


Joined: 24 Feb 2011
Posts: 16
Location: India

PostPosted: Fri Mar 25, 2011 12:22 pm
Reply with quote

Hi everyone,

could any one please explain me what would happen in the following scenario?

scenario: job1 is currently running and is using a dataset named dd1. Now I run another job simultaneously that accesses the same dataset with

1. DISP=NEW
2. DISP=MOD
3. DISP=OLD
4. DISP=SHR

In case of the above cases what would be the result of the scenario ?

MUSAB AHMED
icon_biggrin.gif icon_biggrin.gif icon_biggrin.gif
Back to top
View user's profile Send private message
chandracdac

New User


Joined: 15 Jun 2007
Posts: 92
Location: bangalore

PostPosted: Fri Mar 25, 2011 12:26 pm
Reply with quote

Hi

Your question is not clear. Mention the full details like the data set u r using is input or output .. and explain us what you want to know exactly so that some one can explain it clearly.

Thanks
C
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Mar 25, 2011 12:54 pm
Reply with quote

everything depends on the job1 disp parms.

the jcl user's guide provides an excellent discussion on this rookie/interview topic.

you could also look at previous threads in interview questions and/or jcl to find the answer.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Mar 25, 2011 2:19 pm
Reply with quote

easy way to remember is
1. exclusive 'lock/hold/disp' on anything prevents any type of access by another task.
2. a task can not have an exclusive when another already has 'any type' of access.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Injecting HTTPHEADER parameters in th... PL/I & Assembler 0
No new posts passing symbolic parameters through d... JCL & VSAM 3
No new posts Trim values of parameters in JCL JCL & VSAM 2
No new posts Alter User LOGON Script Parameters CLIST & REXX 11
Search our Forums:

Back to Top