SETOBJACC has some limitations as well.
IF the object is truly read only such as a program or data area it will stay
in memory. But if the object is updated, such as a file or data queue,
then the system will force it to DASD at some point and it will fall out of
that pinned memory.
I will always use a shared pool like *SHRPOOL60 and start working back from
there since those are really rarely used. No work in those pools except the
objects that are pinned in there.
-----Original Message-----
From: MIDRANGE-L [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of
Vernon Hamberg
Sent: Friday, April 06, 2018 12:51 PM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxx>
Subject: Re: Memory pool , object question
Paul
I would not put anything into *BASE using SETOBJACC - the article I cited
says these should go into a pool where there is no work, a fixed pool, that
will not be affected by any optimization - you want it static.
It is not just data that is paged in and out of a pool - it is also *PGM
objects - and potentially almost anything else jobs work with. *BASE would
be the place where almost everything will get paged out of main memory
eventually and maybe not before too long a time.
Also be sure not to over-manage this stuff - see that article, again, for
what makes good candidates for this technique.
Cheers
Vern
On 4/6/2018 10:18 AM, Steinmetz, Paul wrote:
-snip-
I feel I can improve the performance of some long running batch jobs. Some
of these run multiple times per day.
What's the solution?
SETOBJACC, Keep in memory (KEEPINMEM), combination of both.
I'm considering the use of SETOBJACC, especially once the P9 arrives with
ample memory.
SETOBJACC needs to point to a storage pool.
The objects being considered for SETOBJACC might be used by both
interactive (*INTERACTIVE) and batch (*SHRPOOL1) My thoughts were run
everything out of *BASE, SETOBJACC would point to *BASE.
-snip-
--
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:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD
As an Amazon Associate we earn from qualifying purchases.