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
Explain in DD statement what is the use of DCB parameter?
Is it possible to define dd statements as you want?
What is catelog procedure and how many catelog procedure to use in one job?
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
is there any way to execute more than one proc in the same exec statement at the same time..?
What parameter directs the output of the job log dataset?
In sms datasets, what is the function of the dd mgmtclas keyword?
Explain the purpose of dd dummy statement?
what are the various stages of job processing?
Explain the function of the dd dcb keyword?
How would you understand error(execution phase)?
Explain the hierarchy levels in jcl?
When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?
What is multithreading in jcl?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE