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 / bill cecchini

Use the dataset itself to get the required DCB attributes.

//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DUMMY,DCB=USERID.DATASET
//SYSUT2 DD DSN=USERID.DATASET,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of disp parameter?

1143


Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2458


What is the purpose of disp parameter?

1128


How to override loadlib?

2041


how to compare two datasets without using superce because output is limited to 133 bytes

2109


How does jcl act on a cobol code?

1185


Are there any set of rules for the names of the steps used in a job? What are they?

1078


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

1117


Explain dfsort utility?

1347


How to execute 2nd and 4th steps among 5 steps in jcl proc?

1326


Why include statement is used in a jcl?

1185


How to run cobol program using jcl?

1234


Explain about ISPF/TSO Commands

1950


Is automatic restart possible in jcl?

1223


How does the jcl specify the job to os?

1158