Answer Posted / bala nallapaneni
Dataset already exists in the system catalog,and u
executed the job with out deleting the existing dataset it
will abend with NOTCAT2, before executing the job delete
the existing dataset and submit the job it will run
fine.
Is This Answer Correct ? | 2 Yes | 2 No |
Post New Answer View All Answers
//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 are the 4 fields in dd statement?
How to run cobol program using jcl?
how do you access an uncataloged dataset in a jcl?
how can you check if a file is empty using jcl?
Is condition checking possible in jcl?
Matching Logic in Jcl not in cobol.Could any one please answer this question
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What dd statement is used to supply the name of a dataset?
What is Cataloged Procedures?
what sort card you will use to copy the data from one dataset to another dataset?
In job processing, what happens in execution stage?
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
Explain the jcl exec statement?
which utility is used a dummy utility?