×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Bradley,
Yes, I am using Apache on V5R4.
Actually this is part of your tutorial, Stone on CGIDEV2 and on page 9-13 it says:
" Because this SSI requires dynamic information (in this case, the customer's name), a CGI program is required, which is why this HTML file is a template file. To embed this constant header in displays, use the following SSI in your other web pages:
<!--#exec cgi="/cgidev2/header"-->".
Are you saying that I can now use include virtual instead?
Here is what I am trying to accomplish. I have a program that writes information to a file. I have 12 divisions that will use this program. I need to change the *LIBL depending on the division so that the information is written to the correct file for that division.
In researching this problem, everything I have read says I need to; hard code the library name, use the QIBM_CGI_LIBRARY_LIST environment variable or use the exec cgi command to call a program to set the *libl.
I don't think the first two will work, so that leaves the third. I thought that if I could get it working in your tutorial, I could then use the same logic to set the *libl for my program. But then, like I say, I am very new to CGIDEV2 so if you or anyone else has any other ideas of how to make this work I would love to hear them.
Thanks,
Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975
Terry,
I assume you're using Apache <http://archive.midrange.com/web400/200711/msg00029.html> on a fairly recent version of the Os. If so, I
stopped using Exec directives for CGI a while ago and use include virtual
for all of them now. Try that and see if it helps.
Bradley V. Stone
BVSTools - www.bvstools.com
eRPG SDK - www.erpgsdk.com
As an Amazon Associate we earn from qualifying purchases.