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 use of dcb parameter in dd statement?

778


Is it possible to left uncode disp?

717


Where can program checkpoints be stored for use in a restart?

851


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

2174


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

906






Explain how can the attributes of one sms dataset be copied to another dataset?

708


What is the purpose of dd?

728


What are some jcl statements that are not allowed in procedures?

730


Is their any limit for data sets?

706


How can return codes be tested before execution of a job step?

929


How does jcl act on code(if you take a cobol program)?

711


Explain dd statement in jcl?

646


I need exexution process for JCL programs

1855


How can the disposition of sysout datasets be set for an entire jobstream?

847


how you will the direct the data to spool using sysout option?

1769