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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is one line to pass PARM from JCL to COBOL?

903


Differentiate between the joblib and the steplib statements?

862


How to execute 2nd and 4th steps among 5 steps in jcl proc?

750


How is a type of file defined in the jcl that executes the cobol program?

716


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

638






Why include statement is used in a jcl?

691


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

925


what is the use of JCL?

666


List the different jcl statements that are not permitted in the procedures?

642


What is the purpose of dd?

728


What is the function of //jcllib statement?

814


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

740


In sms datasets, what is the function of the dd mgmtclas keyword?

865


What is condition checking in jcl? Is this possible?

628


Can an individual step be restricted from using all the jobs allowed cpu time?

1011