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 / garry
Try This :
//JOBCARD
//STEP1 EXEC PGM=IEFRBR14
//DD1 DD DSN=FILE1,DISP=(MOD,DELETE,DELETE)
May need to code DCB and SPACE parameter.
//DD2 DD DSN=FILE1,DISP=(NEW,CATLG,CATLG)
MUST need to code DCB and SPACE parameter.
//
Ply respond with YES or NO.
Thanks
Garry
| Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?
How jcl work to handle various input output file operations?
List the different components of jcl statement?
What dd statement is used to supply the name of a dataset?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
what happens in conversion stage in job processing?
What are steplib and joblib? What for they are used?
In job processing, what happens in conversion stage?
How would you understand error(execution phase)?
Explain in DD statement what is the use of DCB parameter?
When space is allocated for an output dataset, what units can be used?
Which statement is used to identify the private libraries in job?
A dd statement consists of 4 fields. Name them?
a dd statement has 2 types of parameters. Name them?
what sort card you will use to copy the data from one dataset to another dataset?