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
if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?
What do you understand by the terms: joblib and steplib?
What dd statement is used to supply the name of a dataset?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Must tape dataset definitions include vol=ser specifications?
What is the significance of addrspc parameter in the exec statement?
What is catelog procedure and how many catelog procedure to use in one job?
what happens in execution stage in job processing?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
Which dd parameters are required?
How to pass the parameter in parm using linkage section ? (syntax)?
what is use of dsn parameter in dd statement?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
What are some jcl statements that are not allowed in procedures?