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
Can an individual step be restricted from using all the jobs allowed cpu time?
What are the jcl procedures?
what are JCLLIB and STEPLIB in JCL?
Is automatic restart possible in jcl? If yes, how?
What is the difference between the positional and keyword parameters? Give examples.
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
Where & How Do You Code Identifier In Jcl?
Explain the function of the dd dcb keyword?
What are steplib and joblib? What for they are used?
Explain about LMQUERY�give a dialog information about a data set
how can the same proc be re-used and called by many jobs?
What is NOTCAT ?
Explain how can the submitting users racf authority be overridden in a job stream?
what is JCL?
what is the use of JCL?