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

What are s0c1, s0c4, s0c5, s0c7 and socb?

1132


Name what parameter directs the output of the job log dataset?

1021


what is the difference between JES3 and JES2?

1095


What do you understand by the term job time – out and how can you overcome that?

986


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

1250


What is one line to pass PARM from JCL to COBOL?

4919


Can an individual step be restricted from using all the jobs allowed cpu time?

1517


how to do automated restart when a job abends?

1342


Differentiate between addressing mode and run mode.

1015


how you can access an uncataloged dataset in a JCL?

1087


what is the purpose of coding notify parameter in job statement?

1118


What is the purpose of the dd keylen parameter?

1163


what is SOC4 error?

1177


Can we call instream to catalog and catalog to instream?

1102


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

1122