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
which utility is used to run a cobol-db2 program?
What is the use of disp parameter?
What is the function of the steplib dd statement?
What does it mean by Restart and Checkpoint in JCL ? How are checkpoints being taken and what is their usage ? How to use Checkpoint macro on a JOBSTEP ?
I need exexution process for JCL programs
What is the function of the dd avgrec keyword in sms datasets?
what is DD statement is used in JCL?
How jcl work to handle various input output file operations?
How can the disposition of sysout datasets be set for an entire jobstream?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
which utility is used a dummy utility?
How dummy is used in jcl?
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the purpose of disp parameter?