|
I was given a great answer to this on easy400 groups @ yahoo.com... from Steve Landess if my memory is correct... But this is what I use from his suggestions... I have a CL program: PGM DCL VAR(&JOB) TYPE(*CHAR) LEN(10) RTVJOBA JOB(&JOB) IF COND(&JOB *EQ 'CGINEW') THEN(CHGLIBL + LIBL(QTEMP MMCUST120 PMDBFA ICDBFA JPDBFA + CADBFA PLDBFA GLDBFA CUSTOM TIMEDATA + CGINEW AM2000 PM2000 CA2000 JP2000 GL2000)) .... more if's here.... TFRCTL PGM(QCMD) ENDPGM -------------------------------- CGINEW is the name of the http server instance... That way if you have multiplie instance, this cl will give each instance it's own libray list... I call this CL (HTTPLIBL) ------------------------------------------------------- And you run it from your routing entry for the QHHTPSVR Display Routing Entries System: EVCLFIN Subsystem description: QHTTPSVR Status: ACTIVE Type options, press Enter. 5=Display details Start Opt Seq Nbr Program Library Compare Value Pos 5 HTTPLIBL CGINEW 'HTTPWWW' 1 10 QCMD QSYS 'HTTPWWW' 1 hth, tim > -----Original Message----- > From: web400-bounces@xxxxxxxxxxxx [SMTP:web400-bounces@xxxxxxxxxxxx] On > Behalf Of Shane_Cessna@xxxxxxx > Sent: Tuesday, April 12, 2005 10:28 AM > To: WEB400@xxxxxxxxxxxx > Subject: [WEB400] Library List question... > > Hey all, > > How do any of you set up your library list for CGI jobs if you have to > access files in another library other than the CGI library (the one that > is accessed with the requested URL)? > > I've tried to set the environment variable QIBM_CGI_LIBRARY_LIST in my > HTTP server config...but when I retrieve the library list via QUSRJOBI, i > get nothing back in any of the 4 library lists (System, Product, Current & > > User)... > > I've also tried to call a CL from my RPG programs to set the library list > to no avial...can anyone help me out here? > > Shane Cessna > iSeries Programmer > iSeries WAS Administrator > North American Lighting, Inc. > (618) 662-4483 x2776 > shane_cessna@xxxxxxx > -- > This is the Web Enabling the AS400 / iSeries (WEB400) mailing list > To post a message email: WEB400@xxxxxxxxxxxx > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/mailman/listinfo/web400 > or email: WEB400-request@xxxxxxxxxxxx > Before posting, please take a moment to review the archives > at http://archive.midrange.com/web400. > This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy the message.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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.