× 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.



PATH_INFO must be set. For example:

PATH_INFO=/macro-file/html-section


Its pretty easy to play around with it from QShell. Simply set
environment variables via:

export -s PATH_INFO=/macro-file/html-section


and then call Net.Data:

system 'call qhttpsvr/db2www'

If you want to pickup the INI file, you will need to cd to the library
where the INI file resides before calling the program.


"WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx> wrote on 01/22/2020 01:12:23
PM:

From: Kevin Parrett <kparrett@xxxxxxxxxxxxxxxxxxx>
To: "web400@xxxxxxxxxxxxxxxxxx" <web400@xxxxxxxxxxxxxxxxxx>
Date: 01/22/2020 01:19 PM
Subject: [EXTERNAL] [WEB400] Blast from the past
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxxxxxxxx>

Years ago I wrote a CL program that would allow me to call the
DB2WWW (net.data) program and execute a macro. I used this a lot for
emailing from batch jobs ran on the system. There used to be a
sample of this program on the internet but I have not found it. I
think there were a couple of environment variables changed or passed
when DB2WWW was called. QUERY_STRING I know was one of them and the
other I thought was PATH. I have yet to get it to work.

Does anyone remember net.data or have a sample of this code?

I do know there is an API for this but the @DTW_SENDMAIL function is
just to easy not to use.




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.