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

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?

1136


How would you understand error(execution phase)?

1322


Is condition checking possible in jcl? If yes, how?

1345


What is the use of symbol // in jcl?

1543


how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?

1462


What is the significance of addrspc parameter in exec statement?

1264


when can a job time-out occur? How to overcome that?

1351


in ways data can be passed to a COBOL program from JCL?

1293


Brief description of inline procedure of jcl.

1317


Explain how can an in-stream dataset be terminated?

1413


what is the compile process of cobol program expalin with code

2652


What is the function of //cntl statement?

1398


What does a disposition of (new,catlg,keep) for a dsn mean?

1200


How does the jcl specify the job to os?

1218


How jcl work to handle various input output file operations?

1224