|
First of all, I am only referring to the USRLIBL, NOT the SYSLIBL. QTEMP is only used for the duration of a job. When the job closes QTEMP is cleared. Therefore, QTEMP should be used for things that are unique to that job. We put all of our job setup information in QTEMP. We do this by copying data areas from a generic production library to QTEMP, and them modify them to the job. If we put files in QTEMP, they are copies of an empty template in our production library. That file performs its purpose. Generally, this is only done in a batch job, which means the file goes away when the job is done. However, the code is set up to delete the file from QTEMP before copying it up, or clearing the file. In either case, if an error occurs you respond to the existence or non-existence of the file depending on what method you are using. I think maybe what I have learned from this discussion is that which ever way you go, you have to have the rule understood by all programmers, and then there should be no problem. So, if you have QTEMP at the bottom of your library list, you program using that method. If QTEMP is always at the top, you program to that method. The end result may be the same. But, unless I happen to get another job before I retire, that requires QTEMP to be at the bottom of the LIBL, it will always be at the top, and I, and all the other programmers in the shop, will program for it being that way. Dave -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore Sent: Friday, January 12, 2007 9:56 AM To: Midrange Systems Technical Discussion Subject: RE: Creating a physical AND Logical file This is a valid question. What reason would you want QTEMP on top of the library list? I'm curious at the reasons why. Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx midrange-l-bounces+alanshore=nbty.com@xxxxxxxxxxxx wrote on 01/12/2007 10:46:25 AM:
Guarantees are a dime a dozen until a problem happens... However, I think I would feel pretty comfortable if the problem never occurred in 37 years... Then, if it did occur, I would attempt to fix the problem,
which would not be to move QTEMP. -----Original Message----- From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Alan Shore Sent: Friday, January 12, 2007 9:36 AM To: Midrange Systems Technical Discussion Subject: RE: Creating a physical AND Logical file It looks like we will agree to disagree. Since QTEMP is at the bottom there was no further "weird" problems. Would this happen again? Who knows, but changing the library QTEMP to be at the bottom will NOT create this same problem again in the future. Can YOU guarantee that this situation will exist? Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx midrange-l-bounces@xxxxxxxxxxxx wrote on 01/12/2007 10:28:48 AM:Sounds like a programming error to me... And then the baby got thrown out with the bathwater - instead of fixing the bathwater...
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.