Hi Is CGI RPGs program not considering library list? (correct me if I am wrong) What is the best practice for a CGI RPG to access files that are in a different library? (using doCmd to ADDLIBLE?, SQLRPGLE?, Add LIBL in QTMHHTTP USRPRF?) Thanks!
Hi Is CGI RPGs program not considering library list? (correct me if I am wrong) What is the best practice for a CGI RPG to access files that are in a different library? (using doCmd to ADDLIBLE?, SQLRPGLE?, Add LIBL in QTMHHTTP USRPRF?) Thanks!
I would suggest that you open all the files under user controlled opens and add the necessary libraries with doCMD. This minimizes the library list for the default user profile and allows it to be used for a variety of web enabled applications. I believe that the CGI program does use the library list for the objects it references. It runs under the QTMHHTTP user profile and takes it's library list from there. You could set up a new job description for your CGI programs and attach that job description to the QTMHHTTP user profile, but that is not the route I would suggest. Good luck, and if any knows differently about the library list, let us all know! Thanks, Kevin