I've seen it done, but I would consider it a very bad practice. If the
applications need QTEMP prior to the other libraries then either job
descriptions (my strongly suggested way) or the system value will put it at
the top of the user library list. As Rob points out I'm not sure how the
system would react to it being there. It might be a benign reaction since
IBM really has not offered any advice one way or the other that I've seen.
For a variety of reasons I think that job descriptions should be used to set
the user library list not the system value. I always encourage the system
value to be left as delivered by IBM with just QTEMP and QGPL in them. Now
either the job description or the software can set it as needed. Mainly it
forces the administrator to think out security and how users access the
system, and then appropriately set it up. Properly documented it also
aids in HA and DR scenarios.
--
Jim Oberholtzer
Agile Technology Architects
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Rob
Berendt
Sent: Wednesday, April 20, 2016 7:38 AM
To: Midrange Systems Technical Discussion
Subject: Re: QTEMP in the system library list?
Not a good idea.
Some applications make a copy of a file and put it into QTEMP and then do an
OVRDBF for a particular application to go to QTEMP. If, however, you put
QTEMP in the system library list this same file may be used for regular
production applications (granted, still in the same job).
I know of some things which would spiral downward rather quickly if someone
did this.
If it is put into the library list I've only seen it at the very end of the
user library list.
If you're trying to test one particular task, and you don't want to modify
the code with any overrides, then just have that one job temporarily put it
at the top of it's user library list. If you're trying to qtemp an object
normally in a system library like QSYS or QUSRSYS, then you're just screwed.
Figure out an alternative.
Rob Berendt
--
IBM Certified System Administrator - IBM i 6.1 Group Dekko Dept 1600 Mail
to: 2505 Dekko Drive
Garrett, IN 46738
Ship to: Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
From: David Gibbs <david@xxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Date: 04/20/2016 08:17 AM
Subject: QTEMP in the system library list?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxx>
I'm curious ... does anyone put QTEMP in their system library list?
Are there any strong reasons to not put QTEMP in the system library list?
Thanks!
david
As an Amazon Associate we earn from qualifying purchases.