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
Name the parameters which can be used to limit the number of records written to a sysout dataset?
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
how to run batch program without jcl?
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.
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?
What is the maximum length of a single line of jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
Can we use DISP=SHR in output file in JCL
what is use of space parameter in dd statement?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
write a jcl to execute a job by 7:00 am on jan 20,1986?
What is the function of dd name parameter with a 2 part structure; audit.report?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
what is the use of JCL?
Is it possible to code instream data in a PROC?