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
I need exexution process for JCL programs
What do you understand by the term job time – out and how can you overcome that?
Does jcl support automatic restart?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
Explain the function of dd disp parameter?
how you will the direct the data to spool using sysout option?
what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?
what is use of dsn parameter in dd statement?
Can I send output of job to my remote device careerride123?
What is the purpose of dd?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
What is the significance of addrspc parameter in exec statement?
how JCL works?
List in order the hierarchical levels of jcl?
Explain how can values be passed from the job stream to an executable program?