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
how you can direct the data to spool using SYSOUT option?
Name a few IBM utility programs, and explain its function.
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
What is the purpose of dd?
define cond parameter in jcl?
What is the function of job statement in jcl?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
Explain the function of //jcllib statement?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
what is use of space parameter in dd statement?
What is notcat 2 - gs?
Is condition checking possible in jcl?
How can a stopped job be started again?
Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC
how can you check if a file is empty using jcl?