|
If you don't have access to the files in other libraries then that means it is a security issue, not a library list issue, right? Simply adding a library to the library list will add it, then do a USROPN on the file in the RPG program, or if you are on OS/400 V5R1 or later, use the EXTFILE and EXTMBR (if applicable) keywords on the F specs. That way you can set the file and its library: FMyFile IF E K DISK EXTFILE(somefield) USROPN D somefield S 21A C eval somefield = 'MYLIBR/CUSTMAST') C OPEN MYFILE -Bob Cozzi www.RPGxTools.com If everything is under control, you are going too slow. - Mario Andretti -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Shane_Cessna@xxxxxxx Sent: Tuesday, April 12, 2005 12:28 PM 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.
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.