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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

759


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

2115


What is the function of dd disp parameter?

667


What is condition checking in jcl? Is this possible?

638


What do you understand by the terms: joblib and steplib?

632






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

810


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1960


How can a stopped job be started again?

721


How do you create a temporary dataset?

676


Explain the purpose of dd dummy statement?

682


whats the diff bw the evaluate also and and?

1868


WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99 VALUE 123.45. PROCEDURE DIVISION. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. compiler : IGYGR1080-S A "VALUE" clause literal was not compatible with the data category o subject data item. The "VALUE" clause was discarded. WORKING-STORAGE SECTION. 77 W-A PIC 9(3)V99 VALUE 23.75. 77 W-B PIC ZZ9V99. PROCEDURE DIVISION. MOVE 123.45 TO W-B. MOVE W-A TO W-B. DISPLAY W-B. STOP RUN. 2375

1049


How to alter the parameters for the existing gdg?

725


What is NOTCAT ?

755


Explain the function of dd disp parameter?

607