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
Matching Logic in Jcl not in cobol.Could any one please answer this question
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
How can the attributes of one sms dataset be copied to another dataset?
How jcl is used for testing batch programs?
What is the function of job statement in jcl?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
How jcl work to handle various input output file operations?
Is their any set of rules for dd? Explain.
What parameter of the job statement is used to limit the cpu time consumed by the job?
What is use of restart and how to use it?
What is the difference between run mode and addressing mode?
What dd statement is used to supply the name of a dataset?
a dd statement has 2 types of parameters. Name them?
What is the significance of addrspc parameter in exec statement?
how to run batch program without jcl?