What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?

Answers were Sorted based on User's Feedback



What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / kavya

DISP=OLD means os will search for an existing data set of
the name specified
DISP=SHR allows multiple jobs to read the same data set.

Is This Answer Correct ?    6 Yes 0 No

What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / guest

DISP=OLD denotes exclusive control of the dataset; DISP=SHR
means there is no exclusivity.

Is This Answer Correct ?    3 Yes 0 No

Post New Answer

More JCL Interview Questions

Ques: How can we code COND parameter in a JCL so that only even steps (or only odd steps) get execute??

3 Answers   HSBC,


When a dataset is UNCATALOGED in a JOBSTEP, how to get its UNIT and VOL in JCL to refer in subsequent steps ?

1 Answers   IBM,


What is multithreading in jcl?

0 Answers  


IN-STREAM DATA NOT ALLOWED IN PROC how can come out from this problem

7 Answers  


can a job be submitted through jcl only? is there another way to submit a job?

2 Answers   CSC,






How to read records in reverse order in flat file?

1 Answers  


What is model dataset label(Model DSCB)?

1 Answers  


Explain about LMPUT-

1 Answers  


Using DELETE what type of file can you delete? a)SEQUENTIAL FILE B)INDEXED FILE C) D) Some options were there..i cant remember

3 Answers   HSBC,


in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths

1 Answers   DELL,


is step name is compulsory in jcl ?

2 Answers  


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


Categories