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
Is there any command to check wether the ps file is in sorted order?
which utility is used to sort a file in jcl?
what is the resolution for sb37 error
what is a jcl?
Explain the function of //cntl statement?
Are there any set of rules for the names of the steps used in a job?
What is multithreading in jcl?
Suppose I have five jobs to do. But I want to hold one?
What is concatenating?
How jcl is used for testing batch programs?
which utility is used to run a cobol-db2 program?
Define concatenating?
when does a dataset go uncataloged?
What do you understand by jcl?
Explain the function of dd disp parameter?