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 / bill cecchini
Use the dataset itself to get the required DCB attributes.
//STEP01 EXEC PGM=IEBGENER
//SYSUT1 DD DUMMY,DCB=USERID.DATASET
//SYSUT2 DD DSN=USERID.DATASET,DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
What is the use of disp parameter?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
What is the purpose of disp parameter?
How to override loadlib?
how to compare two datasets without using superce because output is limited to 133 bytes
How does jcl act on a cobol code?
Are there any set of rules for the names of the steps used in a job? What are they?
Is automatic restart possible in jcl? If yes, how?
Explain dfsort utility?
How to execute 2nd and 4th steps among 5 steps in jcl proc?
Why include statement is used in a jcl?
How to run cobol program using jcl?
Explain about ISPF/TSO Commands
Is automatic restart possible in jcl?
How does the jcl specify the job to os?