Thanks for this Brad. I've been looking at your example of a simple .config
file. How are you accomplishing the setting up of the library list for the
programs on the i?
For the moment I've just hard coded a CHGLIBL command in the beginning of
the program named in the script alias. I was thinking of making this
dynamic by getting a named library list depending on the server instance
being used (I'm assuming the job name is always the same as the name of the
server instance). For example,
RTVJOBA JOB(&name)
CALL LIBL_PGM(&name) /* Does a CHGLIBL depending on the name of the job.







- *Subject*: Re: HTTP Server test environment for RPG
- *From*: Brad Stone <bvstone@xxxxxxxxx>
- *Date*: Fri, 8 Oct 2021 07:45:00 -0500

------------------------------
I like to make a separate instance for testing and live. Either on a
different port or a different IP address (using a different host/subdomain).

So there would be:

mysite.com (live)
dev.mysite.com (dev/test) or (mysite.com:8433)

Each with their own instance, ip address, library and IFS files.

On Fri, Oct 8, 2021 at 3:56 AM Dave <dfx1@xxxxxxxxxxxxxx> wrote:

Hello,

I need to configure the server so that that the external party can commence
testing.
I've seen examples where a ScriptAlias is simply added to the server
configuration in order to simply call the test program (change library
lists, etc).
It's also been suggested to use activation groups but that would need a lot
more work to make sure everything is running only in that activation group.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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