get active library using proxy instance
Posted: Mon Jun 25, 2018 6:15 am
Hi,
we installed three different instances on our ibm i.
- Port 80, Port 81 and Port 90 as a Proxy
- Port90 switches the user to 80 or 81
In Genie we can detect the active instance with a call:
CALL PGM(PROFOUNDUI/PUI0002300) PARM(&GENIE &GENIELIB +
&GENIESKIN &DOCROOT &USERAGENT)
In the variable &genielib we get the correct library of the active instance.
We created an environment where we only use Rich DSPF's. So we decided to use sessions.
Also in sessions we want to use the proxy instance.
Is there a way to detect the correct library?
Many thanks,
David
we installed three different instances on our ibm i.
- Port 80, Port 81 and Port 90 as a Proxy
- Port90 switches the user to 80 or 81
In Genie we can detect the active instance with a call:
CALL PGM(PROFOUNDUI/PUI0002300) PARM(&GENIE &GENIELIB +
&GENIESKIN &DOCROOT &USERAGENT)
In the variable &genielib we get the correct library of the active instance.
We created an environment where we only use Rich DSPF's. So we decided to use sessions.
Also in sessions we want to use the proxy instance.
Is there a way to detect the correct library?
Many thanks,
David