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

In JCl which of this activities get executed if act002 abnormally terminates //job001 job ......... //act001 exec pgm=cobo01 //act002 exec pgm=cob02, cond=(01,le) //actoo3 exec pgm=cob03, cond=only //actoo4 exec pgm=con04

3 Answers   Patni,


How do you restart a PROC from a particular step?

5 Answers  


Hello Guys, I have 1+ Year Experience in MAINFRAME TESTING. After 1 Week I have an Interview With a Company on Mainframe Testing. Please Could You Guys Please Suggest me What Sections Should I prepare ?? ___Tell Me the Topic Or Appropriate Site & Links. ?? ---------------Thank You

1 Answers   IBM,


what is the JCL statement consists of?

1 Answers  


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


i have a jcl containing header body and trailer .in header i have viswa body 2 6 1 9 7 trailer reddy .now i need to sort only body in either asecending or descending order how can i do it

1 Answers   L&T,


What is the function of the steplib dd statement?

1 Answers  


what is the COND=EVEN ? Can anyone give me an example to explain the usage.

2 Answers  


I have two files each contains 10 records. I would like to copy both files into one output file but in alternate sequence. for e.g. first record from file1 then record 2 from file2.....

3 Answers   RBS,


i want to store 20 digits . how will u do it in cobol ?

1 Answers  


which parameter is used to check the syntax of a jcl without executing it?

1 Answers   IBM,


Which statement is used to identify the private libraries in job?

1 Answers  


Categories