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 disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
What is the significance of addrspc parameter in the exec statement?
What is job control language?
Differentiate between the joblib and the steplib statements?
Can we call instream to catalog and catalog to instream?
How can the disposition of sysout datasets be set for an entire jobstream?
How to submit a jcl from cics?
Explain dfsort utility?
How jcl is used for testing batch programs?
In job processing, what happens in execution stage?
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?
Can I send output of job to my remote device careerride123?
have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file
what operation is performed by job statement?
How to execute 2nd and 4th steps among 5 steps in jcl proc?