|
Tom, surely if the shops standards is to specify QTEMP wherever a reference is made to a file in QTEMP, to me your code means that you are searching for that file in your library list that no longer contains QTEMP. If you were looking for the file in QTEMP then you should have coded accordingly. Alan Shore NBTY, Inc (631) 244-2000 ext. 5019 AShore@xxxxxxxx midrange-l-bounces@xxxxxxxxxxxx wrote on 01/12/2007 11:25:08 PM:
But keep in mind that QTEMP is created for the job and is accessible by that job _regardless_ of whether it's listed in the job's library list. The only reason to place it in the list is so that it gets _searched_ when an object needs to be located and no library is given. For example: rmvlible QTEMP cpyf QIWS/QCUSTCDT QTEMP/tmpcust crtfile(*yes) chkobj *LIBL/tmpcust *file ...gives CPF9801 "Object TMPCUST in library QTEMP not found." (assuming one isn't unexpectedly elsewhere in the list.) But that's not because the 'scratchpad' doesn't exist. QTEMP is still there and TMPCUST is still in it. That can be shown by: chkobj QTEMP/tmpcust *file No CPF9801. Object was found just fine. Removing QTEMP from the library list doesn't delete the library; it just makes library list searches shorter. Granted, the searches also fail to find objects in QTEMP; but I was trying to understand why jobs would create objects that _needed_ to be "searched" for in the first place. Especially if they'll _only_ be found at the very last place that can be searched. It seems to be deliberately worsening performance for no benefit. I wondered if anyone had good reasons, ones that I'd failed to imagine. Tom Liotta -- Tom Liotta The PowerTech Group, Inc. 19426 68th Avenue South Kent, WA 98032 Phone 253-872-7788 x313 253-479-1416 Fax 253-872-7904 http://www.powertech.com -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.