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

Name the parameters which can be used to limit the number of records written to a sysout dataset?

648


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

642


how to run batch program without jcl?

10055


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

725


I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8654






What is the maximum length of a single line of jcl?

821


Explain how can the disposition of sysout datasets be set for an entire jobstream?

628


Can we use DISP=SHR in output file in JCL

946


what is use of space parameter in dd statement?

744


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

600


write a jcl to execute a job by 7:00 am on jan 20,1986?

688


What is the function of dd name parameter with a 2 part structure; audit.report?

693


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

969


what is the use of JCL?

657


Is it possible to code instream data in a PROC?

742