Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 / guest

OLD specifies exclusive use of a dataset, SHR allows
multiple jobs to concurrently access the dataset Note: When
updating a dataset, you would normally use OLD.

Is This Answer Correct ?    28 Yes 2 No

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

Answer / shailendra 2008

disp=old means at the time of execution another job can't
use that file.after completion of job another job can use.

disp=shr at the timeof exection many user can use in read
mode.

Is This Answer Correct ?    18 Yes 1 No

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

Answer / ganga

Read from beginning of dataset. But if u write, then it
will overwrite on existing data. i.e old data is lost.

Is This Answer Correct ?    9 Yes 2 No

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

Answer / sunil

disp= old ...it will give exclusive use of dataset.
disp= shr....multiple job can use the dataset concurrently..
but in both case, while writing , it will overwrite to old
dataset..i.e, old data will be lost.

Is This Answer Correct ?    5 Yes 1 No

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

Answer / anurag

Generally DISP = OLD is used when a Dataset is generated in
a step of job and then subsequently used in the next up
coming steps of the same job ,
DISP=SHR signifies that the dataset is can be shared by the
multiple jobs.

Is This Answer Correct ?    8 Yes 6 No

Post New Answer



More JCL Interview Questions

How jcl work to handle various input output file operations?

0 Answers  


Can I send output of job to my remote device careerride123?

0 Answers  


I have a file in which I have 20 records. I want my first record to go into file 1 and second record to go in second file. I want to copy the alternate records like this in the two output files. How can I do this using JCL?

4 Answers  


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

0 Answers  


oza017.myorg.emp has 100 records ,oza018.myorg.staff has 200 records but 50 are the common records in both files copy all the common records into oza017.myorg.xyz dataset

3 Answers   Cognizant,






please could u tell me the difference between SORT, SYNCSORT,CA-SORT, DFSORT,

1 Answers   IBM,


in ways data can be passed to a COBOL program from JCL?

0 Answers  


What is multithreading in jcl?

0 Answers  


Describe the various parameters utilized in the creation of a gdg?

0 Answers  


what are the symbolic parameters? why do we use symbolic parameters ?

2 Answers   IBM, TCS, UST, Xansa,


how do you access an uncataloged dataset in a jcl?

0 Answers   IBM,


Do we need to code DCB parameters when using DISP position as MOD?

1 Answers   Accenture,






Categories