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

What is the purpose and meaning of the REGION keyword and what JCL statement is it associated with?

3 Answers   IBM,


a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?

1 Answers   IBM,


after submiting the jcl.how do you know that the job has been completed.

4 Answers   ACS,


How to submit multiple jobs. These jobs are members in PDS. The second job should run if the first job runs successfully and so on.

1 Answers  


What does S0C4 error mean?

8 Answers  






What is the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file

3 Answers   Virtusa,


how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly

5 Answers   IBM, TCS,


How to pass data to a program that is coded in an exec statement?

0 Answers  


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?

3 Answers  


Can anyone tell me the syntax for printing two files at two different destinations in a single step?

3 Answers  


Categories