Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is notcat 2 - gs?

1412


Is their any limit for data sets?

1119


What is use of restart and how to use it?

1264


List the various advantages of using jcl language?

1387


How does jcl act on a cobol code?

1104


Differentiate between the joblib and the steplib statements?

1337


Is it possible to code instream data in a PROC?

1252


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

1058


What is the function of the dd mgmtclas keyword in sms datasets?

1180


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

2642


Which statement is used to identify the private libraries in job?

1126


What is one line to pass PARM from JCL to COBOL?

4899


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

1135


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

2503


What is the maximum length of a single line of jcl?

1288