Can we delete the data using IEFBR14 , IEBGENER??
Answer Posted / biswaranjan
Its possible.But 1st you have to delete the dataset and
recreate a empty dataset with the same name.
//XXXXXXXX JOB TEST,'SORT',
// MSGCLASS=X,
// CLASS=C,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEFBR14
//DD1 DD DSN=XXXXXXX.WORK.TEST,DISP=(MOD,DELETE,DELETE)
//SYSIN DD DUMMY
//STEP2 EXEC PGM=IEFBR14
//DD1 DD DSN=XXXXXXX.WORK.TEST,DISP=(NEW,CATLG,DELETE)
//SYSIN DD DUMMY
//
| Is This Answer Correct ? | 4 Yes | 8 No |
Post New Answer View All Answers
What are the jcl procedures?
What do you understand by the term job time – out and how can you overcome that?
How does jcl act on code(if you take a cobol program)?
How can the attributes of one sms dataset be copied to another dataset?
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?
Explain the jcl exec statement?
When space is allocated for an output dataset, what units can be used?
How jcl is used for testing batch programs?
Is acct parameter mandatory?
Must tape dataset definitions include vol=ser specifications?
What are the parameter we cannot use in procedure?
What are the parameters that are used in creating a gdg?
which utility is used to run a cobol-db2 program?
Name the statement which can be used to send data to another mvs jes3 node?