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 / anand

//NUAEA62T JOB ,'DAILY REPORTS',
// MSGLEVEL=(1,1),MSGCLASS=Q,
// CLASS=D,NOTIFY=&SYSUID
//STEP1 EXEC PGM=IEBGENER
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD *
//SYSUT2 DD DSN=Test,DISP=SHR
/*

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is job control language?

1091


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

1168


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5539


which utility is used to sort a file in jcl?

1220


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

1462


what is the compile process of cobol program expalin with code

2584


what is DSN in JCL and what are the parameters to declare the DSN?

1195


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

1140


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

1097


Step 1 RC 4 Step 2 Step 3 I want to know the COND parameter which can be coded in step 2 or 3. Step 2 should be executed based on Step 1 RC and Step 3 should not be executed based on step 1's RC

4900


What is the function of a dd statement?

1206


what is use of disp parameter in dd statement?

1099


Explain the function of job statement in jcl?

1210


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2293


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

1384