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


Please Help Members By Posting Answers For Below Questions

Can an individual step be restricted from using all the jobs allowed cpu time?

1005


What are the jcl procedures?

643


what are JCLLIB and STEPLIB in JCL?

671


Is automatic restart possible in jcl? If yes, how?

655


What is the difference between the positional and keyword parameters? Give examples.

705






How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5058


Where & How Do You Code Identifier In Jcl?

695


Explain the function of the dd dcb keyword?

696


What are steplib and joblib? What for they are used?

689


Explain about LMQUERY�give a dialog information about a data set

898


how can the same proc be re-used and called by many jobs?

905


What is NOTCAT ?

738


Explain how can the submitting users racf authority be overridden in a job stream?

668


what is JCL?

693


what is the use of JCL?

660