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...

Hi Guyz,
My requirement is to empty out a PS file but not to delete.
How would I do that. Is there any Utility. If any other
way, plz answer. Thanks.

Answer Posted / garry

Try This :

//JOBCARD
//STEP1 EXEC PGM=IEFRBR14
//DD1 DD DSN=FILE1,DISP=(MOD,DELETE,DELETE)
May need to code DCB and SPACE parameter.
//DD2 DD DSN=FILE1,DISP=(NEW,CATLG,CATLG)
MUST need to code DCB and SPACE parameter.
//

Ply respond with YES or NO.

Thanks

Garry

Is This Answer Correct ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

1279


How jcl work to handle various input output file operations?

1219


List the different components of jcl statement?

1146


What dd statement is used to supply the name of a dataset?

1442


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2497


what happens in conversion stage in job processing?

1272


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

1301


In job processing, what happens in conversion stage?

1239


How would you understand error(execution phase)?

1314


Explain in DD statement what is the use of DCB parameter?

1180


When space is allocated for an output dataset, what units can be used?

1325


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

1242


A dd statement consists of 4 fields. Name them?

1471


a dd statement has 2 types of parameters. Name them?

1171


what sort card you will use to copy the data from one dataset to another dataset?

1296