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 / mithun suresh
Hi, try this out
Option 1: Use IEBGENER Utility
//DELJOB JOB ..........
//STEP01 EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
//SYSUT1 DD *
//SYSUT2 DD DSN=USERID.DATASET,DISP=SHR
Is This Answer Correct ? | 9 Yes | 6 No |
Post New Answer View All Answers
Is it possible to left uncode disp? If yes, how?
What is the function of a dd statement?
What is the syntax of JCL statement?
What is the purpose of dd * statement in jcl?
What is the function of //cntl statement?
How do you overcome this limitation ?
Explain how can the attributes of one sms dataset be copied to another dataset?
what is DD statement is used in JCL?
how you will the direct the data to spool using sysout option?
How can return codes be tested before execution of a job step?
Explain the purpose of dd * statement in jcl?
What is catelog procedure and how many catelog procedure to use in one job?
Differentiate between addressing mode and run mode.
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
How does jcl specify the job to the operating system?