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

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is DSN in JCL and what are the parameters to declare the DSN?

708


Explain the hierarchy levels in jcl?

1107


Is there any command to check wether the ps file is in sorted order?

2416


Differentiate between the joblib and the steplib statements?

847


what is use of dcb parameter in dd statement?

762






In job processing, what happens in execution stage?

691


what happens in conversion stage in job processing?

716


What do you know about jcl?

638


what is “Cond= even” and “Cond=only”?

728


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

669


Explain the job statement in jcl?

633


how do you code a null statement?

760


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2040


which utility is used to run a cobol-db2 program?

791


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

776