View previous topic :: View next topic
|
Author |
Message |
Musab Razeen Ahmed
New User
Joined: 24 Feb 2011 Posts: 16 Location: India
|
|
|
|
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
|
|
Back to top |
|
|
chandracdac
New User
Joined: 15 Jun 2007 Posts: 92 Location: bangalore
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
|