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

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

1079


Is it possible to define dd statements as you want?

1059


What is catelog procedure and how many catelog procedure to use in one job?

8545


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

1394


is there any way to execute more than one proc in the same exec statement at the same time..?

2578


What parameter directs the output of the job log dataset?

1208


In sms datasets, what is the function of the dd mgmtclas keyword?

1337


Explain the purpose of dd dummy statement?

1156


what are the various stages of job processing?

1233


Explain the function of the dd dcb keyword?

1181


How would you understand error(execution phase)?

1164


Explain the hierarchy levels in jcl?

1625


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

1175


What is multithreading in jcl?

1393


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

2403