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
What does a disposition of (new,catlg,keep) for a dsn mean?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you
Explain the function of dd disp parameter?
Explain the purpose of dd dummy statement?
What is the significance of addrspc parameter in the exec statement?
what are the types of abends that occur on job failure? And explain the possible causes of these
how do you create a dataset in a jcl with the same file organisation as that of another existing dataset?
What is the use of disp parameter?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
what is SOC4 error?
what is use of dcb parameter in dd statement?
What do you understand by the term job time – out and how can you overcome that?
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
In sms datasets, what is the function of the dd mgmtclas keyword?