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
Explain the function of job statement in jcl?
How can unused space allocation be returned to the system when a dataset is closed?
What is the use of disp parameter?
Explain how can the submitting users racf authority be overridden in a job stream?
how you can access an uncataloged dataset in a JCL?
What are the rules employed while naming the steps in a job?
What is condition checking in jcl? Is this possible?
what is a jcl?
What is the difference between run mode and addressing mode?
what EXEC statement is and what is the syntax of EXEC statement used in JCL?
Can I share my data with other jobs? How?
what are the various stages of job processing?
Explain how can a stopped job be started again?
For what purpose steplib and joblib are used ?
How can an in-stream dataset be terminated?