Can we delete the data using IEFBR14 , IEBGENER??
Answer Posted / karunakar reddy
Hey Try as below and see if the below JCL can help.
//DELETEDS JOB (@),'PREP T-2 FOR R01',
// REGION=0M,
// CLASS=C,MSGCLASS=X,
// NOTIFY=&SYSUID
//JS10 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DUMMY,DCB=SSR.TEST.FILE
//SYSUT2 DD DSN=SSR.TEST.FILE,DISP=(OLD,KEEP,KEEP)
//SYSIN DD DUMMY
//SYSUDUMP DD SYSOUT=*
| Is This Answer Correct ? | 4 Yes | 6 No |
Post New Answer View All Answers
What parameter of the job statement is used to limit the cpu time consumed by the job?
Explain the function of //cntl statement?
what are the statements that are not valid to be included in an include statement?
define cond parameter in jcl?
Can I share my data with other jobs? How?
Suppose I have five jobs to do. But I want to hold one?
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 ?
Is condition checking possible in jcl? If yes, how?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
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 is notcat 2 - gs?
Explain dfsort utility?
How can a jobs execution priority be modified?
Explain the function of dd disp parameter?
What are the 2 types of parameters in dd statement?