|
I've just started to experiment with Net.Data. I've tried to follow the instructions in "How to Get Net.Data up and Running" on the Net.Data website. I created a library called CGIBIN and copied DB2WWW from QHTTPSVR into it (v4r3). I added map and exec statements referring to the CGIBIN library to the HTTP server configuration file. Get and Post are enabled. I set up a Net.Data ini file in CGIBIN based on the sample shown on the web site. I'm pretty sure the path strings are spelled correctly. *PUBLIC has *USE authority to CGIBIN and another directory I created for macros. Just for good measure, user QTMHHTP1 has the same authorities. I created a macro file in CGIBIN called WEBMACRO with a member called TESTMACRO that contains a hello world macro from the tech studio training course. When I used the substitution path strings in my URL trying to invoke my macro I got an error 403 (not authorized.) Hoping that it was a typo in one of the configuration files, I tried a fully qualified path as follows: \\computername\qsys.lib\cgibin.lib\db2www.pgm\qsys.lib\cgibin.lib\webm acro.file\testmacro.mbr\HelloWorld Got same result. *PUBLIC has *USE authority to all of the objects in the URL above. I'm doing something simple, stupid, and wrong--right? ########################################### The above is my personal opinion and is not intended to represent good programming practice or the product of a sound mind. Joel Fritz +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.