Question on Workfile

pts.
Tags:
AS/400
DataCenter
IBM DB2
RPG
RPGLE
Hi, Please could any one help me getting answers to these Questions.... What is the diff. between Workfile and PF? How do u create a WorkFile in RPG or CL. What are the advantages of WorkFile over PF? Thanks Rama

Answer Wiki

Thanks. We'll let you know when a new response is added.

Hi Rama

There is no difference between a work file and a physical file, a work file is simply a physical file that is used to store temporary data in. It’s like, for example, the difference between a taxi and a car.

When I use a “work file” I tend to copy an empty file from my data library to QTEMP and then use overrides to point to the copy in QTEMP. That way, when the job ends QTEMP is cleared and I don’t have to worry about the disk space used by any work files.

Hopefully this should make it clearer, if not let us know.

All the best

Jonathan

Discuss This Question: 1  Reply

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Hi Jonathan, Thanks alot. Rama
    0 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following