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 / abhilash

Why are you wasting your time and CPU time ... just open
the file in edit mode and type D99999 before first
record ... it will empty the file.. Cheers..

Plz dont waste CPU time....

Is This Answer Correct ?    8 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between the positional and keyword parameters? Give examples.

693


How do you create a temporary dataset?

650


Are there any set of rules for the names of the steps used in a job?

625


What are s0c1, s0c4, s0c5, s0c7 and socb?

691


What are the difference between jcl and jes?

1037






In job processing, what happens in execution stage?

691


Is automatic restart possible in jcl? If yes, how?

648


what happens in execution stage in job processing?

650


What is jcl in mainframe, and how many types of jcl statements are there for a job?

624


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2212


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1477


Explain the function of dd name parameter with a 2 part structure; audit.report?

884


How dummy is used in jcl?

639


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

598


When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?

920