I think Nathan is right on with the actgrp(*new).

A product I develop and support always hits an initial endpoint pgm from the Apache instance. We have allowed the ability to set a libl based on http request parms, at that level for the job along with actgrp(*new). No problems.

Your issue is obviously as you have already stated, Is that you hit a SP right off the bat.... yeah... yuck.

From my understanding with Apache admin (which is very limited) is that you ha e the chance to set an initial libl that will apply to every instance.

Curious myself now.

Jay

On Aug 26, 2020, at 5:47 PM, Nathan Andelin <nandelin@xxxxxxxxx> wrote:




The problem is that Apache keeps a soft lock on the files opened in the ILE
RPG program even though we do an LR='1' close.


You can solve the "soft lock" problem by using ACTGRP(*NEW) on the CRTPGM
or CRTSRVPGM commands, although that would add some latency and overhead to
the web service.

We provide separate HTTP server instances for hosted organizations which is
another way to individualize their library lists. I can think of other ways
to individualize library lists, but each one has pros and cons.
--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing list
To post a message email: WEB400@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/web400.


This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 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].