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
which parameter is use to declare the name of dataset in dd statement?
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
State the uses of syspring, sysin, sort fields, sum fields and dummy.
What are hierarchy levels in jcl?
What do you understand by the terms: joblib and steplib?
List the different jcl statements that are not permitted in the procedures?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
Explain the function of dd disp parameter?
//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 /*
How can unused space allocation be returned to the system when a dataset is closed?
In sms datasets, what is the function of the dd mgmtclas keyword?
what are JCLLIB and STEPLIB in JCL?
how JCL works?
how you can direct the data to spool using SYSOUT option?
what is DSN parameter and DISP parameter is used for?