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

which parameter is use to declare the name of dataset in dd statement?

715


WORKING-STORAGE SECTION. 01 GROSS-PAY. 05 BASIC-PAY PIC 9(5). 05 ALLOWENCES PIC 9(3). PROCEDURE DIVISION. MOVE 1000 TO BASIC-PAY. MOVE 250 TO ALLOWENCES. DISPLAY GROSS-PAY. STOP RUN. 77 W-A PIC 9(3)V99 VALUE 23.75 77 W-B PIC ZZ9V99 VLAUE 123.45 after the statement MOVE W-A TO W-B what will be W-B's value? a.123.75 b.b23.75 (where b indicates space) c.023.75 d.invalid move

842


State the uses of syspring, sysin, sort fields, sum fields and dummy.

628


What are hierarchy levels in jcl?

926


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

608






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

629


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

963


Explain the function of dd disp parameter?

586


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

894


How can unused space allocation be returned to the system when a dataset is closed?

798


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

849


what are JCLLIB and STEPLIB in JCL?

656


how JCL works?

782


how you can direct the data to spool using SYSOUT option?

906


what is DSN parameter and DISP parameter is used for?

662