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 / mithun suresh

Hi, try this out

Option 1: Use IEBGENER Utility
//DELJOB JOB ..........
//STEP01 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
//SYSUT2 DD DSN=USERID.DATASET,DISP=SHR

Is This Answer Correct ?    9 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the function of job statement in jcl?

1197


How can unused space allocation be returned to the system when a dataset is closed?

1481


What is the use of disp parameter?

1134


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

1124


how you can access an uncataloged dataset in a JCL?

1127


What are the rules employed while naming the steps in a job?

1139


What is condition checking in jcl? Is this possible?

1112


what is a jcl?

1132


What is the difference between run mode and addressing mode?

1239


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

1158


Can I share my data with other jobs? How?

1104


what are the various stages of job processing?

1278


Explain how can a stopped job be started again?

1133


For what purpose steplib and joblib are used ?

1132


How can an in-stream dataset be terminated?

1335