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


Please Help Members By Posting Answers For Below Questions

what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

956


What is the significance of addrspc parameter in the exec statement?

851


What is job control language?

826


Differentiate between the joblib and the steplib statements?

1100


Can we call instream to catalog and catalog to instream?

919


How can the disposition of sysout datasets be set for an entire jobstream?

1107


How to submit a jcl from cics?

902


Explain dfsort utility?

1085


How jcl is used for testing batch programs?

994


In job processing, what happens in execution stage?

924


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?

878


Can I send output of job to my remote device careerride123?

914


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

1230


what operation is performed by job statement?

874


How to execute 2nd and 4th steps among 5 steps in jcl proc?

987