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 parameters

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Musab Razeen Ahmed

New User


Joined: 24 Feb 2011
Posts: 15
Location: India

PostPosted: Fri Mar 25, 2011 12:22 pm    Post subject: DISP parameters
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    Post subject: Reply to: DISP parameters
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: 6968
Location: porcelain throne

PostPosted: Fri Mar 25, 2011 12:54 pm    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Fri Mar 25, 2011 2:19 pm    Post subject:
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    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
This topic is locked: you cannot edit posts or make replies. Selecting two copybooks of different ... Vignesh Sid COBOL Programming 8 Tue Sep 05, 2017 7:28 pm
No new posts LISTCAT on a dataset with symbolic pa... shreya19 JCL & VSAM 5 Fri Apr 07, 2017 5:43 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts CICS NEW SIT PARAMETERS CICS BEHAVIOR... Kyle Carroll CICS 0 Fri Nov 04, 2016 11:55 pm
No new posts Symbolic Parameters in SYSIN DD state... madishpa DFSORT/ICETOOL 3 Mon Jun 27, 2016 6:23 pm

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