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
List in order the hierarchical levels of jcl?
How does jcl specify the job to the operating system?
Explain the function of dd disp parameter?
What is the function of job statement in jcl?
What are the utility programs in jcl?
when can a job time-out occur? How to overcome that?
What are steplib and joblib? What for they are used?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The disp in the JCL is SHR and the pgm opens the file in EXTEND mode. What happens ?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.
how you can direct the data to spool using SYSOUT option?
What are the jcl procedures?
What is the purpose of dd * statement in jcl?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
How do you run a COBOL batch program from a JCL? How do you run a COBOL/DB2 program?