Can we delete the data using IEFBR14 , IEBGENER??
Answer Posted / karunakar reddy
Hey Try as below and see if the below JCL can help.
//DELETEDS JOB (@),'PREP T-2 FOR R01',
// REGION=0M,
// CLASS=C,MSGCLASS=X,
// NOTIFY=&SYSUID
//JS10 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DUMMY,DCB=SSR.TEST.FILE
//SYSUT2 DD DSN=SSR.TEST.FILE,DISP=(OLD,KEEP,KEEP)
//SYSIN DD DUMMY
//SYSUDUMP DD SYSOUT=*
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
How is the record format of an output dataset specified?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
What is concatenating?
Explain the function of the steplib dd statement?
What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?
What is the motivation behind coding class parameter in job statement?
//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 /*
When space is allocated for an output dataset, what units can be used?
what is the use of JCL?
List in order the hierarchical levels of jcl?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
which utility is used to run a cobol-db2 program?
How jcl is used for testing batch programs?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
How to submit jcl through a cobol program?