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
What are s0c1, s0c4, s0c5, s0c7 and socb?
Explain the job statement in jcl?
How to alter the parameters for the existing gdg?
What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?
//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 /*
What is one line to pass PARM from JCL to COBOL?
My Question is 1. How to cound no. of records in JCL. Please explain with an example. 2. How to execute only odd steps in JCL? I know EDIT TYPE = Inculde, Step Name = 1,3,5 and COND code for all even step. Anyone knows other than this.
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
Explain the function of the dd dcb keyword?
How does jcl act on code(if you take a cobol program)?
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
what sort card you will use to copy the data from one dataset to another dataset?
Can I share my data with other jobs? How?
State the uses of syspring, sysin, sort fields, sum fields and dummy.