Page 1 of 1

HTTP service invoking a chgcurlib on instance call

Posted: Tue Jun 06, 2023 12:15 am
by jlenzi@caesars.com
Hello Scott

I am running into a problem with my HTTP service with the below apache script where my program is in the cmliblv and am using a good library list for my job description however, the directory container to allow access to the program for the client also acts as a chgcurlib in the http instance and is causing me to pick up an object that would normally not be picked up by the jobd library list. Is there a way to have process avoid invoking the chgcurlib cmliblv to occur when my http rpg instance fires up to process the request? Thank you for your help

ScriptAlias /marker /qsys.lib/cmliblv.lib/cmgmrkmain.pgm
<Directory /qsys.lib/cmliblv.lib>
Order Allow,Deny
Allow From all
</Directory>

HTTPSubsystemDesc QHTTPSVR/QHTTPSVR
HTTPStartJobDesc CACCMSENV/CACWEBSRV
HTTPStartJobQueue *JOBD
HTTPRoutingData *JOBD
AccessFileName .htaccess

Re: HTTP service invoking a chgcurlib on instance call

Posted: Tue Jun 06, 2023 5:25 am
by emaxt6
I dont think it is httpapi related, but...
Have you tried inside the Directory to set a particular user with his required jobd ?

Re: HTTP service invoking a chgcurlib on instance call

Posted: Wed Jun 07, 2023 4:13 pm
by Scott Klement
The IBM HTTP server always sets the current library to the one that the program is in -- so your existing setup should already change the current library as you desire.

This has absolutely nothing to do with HTTPAPI, so I am moving it to the general forum.