AS/400 Net.Data Sample URL Breakdown
From Support
URL Used to call a Net.Data query:
http://125.1.1.40:1080/cgi-bin/db2www/rjsdata/net.data/Hello.mac/sqltest2?cusno=475938
Sample URL Breakdown
"http://125.1.1.40:1080/cgi-bin/db2www" maps to the Net.Data directory to call the Net.Data program.
"rjsdata/net.data" maps to the data directory which hold the Net.Data macro file.
"Hello.mac" is the Net.Data macro file name.
"sqltest2" is the sample macro name to run a data query.
"?cusno=475938" is the parameter data passed to the Net.Data Macro.
The following settings also have to be added to the AS/400 Web Server configuration:
Map /cgi-bin/db2www/* /QSYS.LIB/QHTTPSVR.LIB/DB2WWW.PGM/*
Exec /QSYS.LIB/QHTTPSVR.LIB/*
