|
Douglas, Files, or any object for that matter, placed into QTEMP go away when the job ends. The QTEMP library is unique for each job and only exists while a given job is running. Probably the most common way to get objects into QTEMP is to use CRTDUPOBJ although there are several others. I would like to suggest the use of a user index for your purposes. I rarely use work files anymore having replaced them with user indexes. They can be created on the fly, the format is flexible, the data is sorted as it is added much like a logical file, and they perform well. According to IBM documentation they are faster than data files. HTH, Rick -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Douglas W. Palme Sent: Tuesday, May 17, 2005 10:42 AM To: RPG Group Subject: work files in qtemp I have been working on a program that will reuqire me to use some sort of temporary hold file, a friend suggested that I use a work file in qtemp for the processing of the data...however, I have never used work files before, let alone in qtemp. Should I just create the file in my library and then copy it to the qtemp directory and then process the data deleting the file once I am done? Any other suggestions would be appreciated. Douglas Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.