What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?
Answer Posted / ganga
Read from beginning of dataset. But if u write, then it
will overwrite on existing data. i.e old data is lost.
| Is This Answer Correct ? | 9 Yes | 2 No |
Post New Answer View All Answers
if the submitter of a job wants to inform another user about the job completion, how can it be done?
Is acct parameter mandatory?
Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed
in ways data can be passed to a COBOL program from JCL?
how JCL works?
which utility is used to sort a file in jcl?
how to do automated restart when a job abends?
Explain the purpose of dd * statement in jcl?
a dd statement has 2 types of parameters. Name them?
what is use of disp parameter in dd statement?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
what is DD statement is used in JCL?
//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 /*
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
Which dd parameters are required?