You can call an CL (or RPG) program from net.data using dtw_directcall.
Here's a sample of a function called GetSearchString passing 3 parms to
the program called INR701 in library OHBPP and getting back one return
parm
%FUNCTION(DTW_directcall)
GetSearchString (in char(6) ppItemType,
char(6) ppItemSubType,
char(5) ppClass,
inout char(800) searchstring
) {
%exec { /QSYS.LIB/OHBPP.LIB/INR701.PGM %}
Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100
"Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
10/19/2009 08:44 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>
To
<web400@xxxxxxxxxxxx>
cc
Subject
[WEB400] Execute a CLP from net.data menu step
There must be a way to call a CLP (RUNQRY) from 1 of the steps of a
Browser Menu - where the menu is created with net.data.
TIA
Don F. Cavaiani
IT Manager
Amerequip Corp.
920-894-7063
"It's amazing what you can accomplish if you don't care who gets the
credit." Harry S. Truman
This mailing list archive is Copyright 1997-2026 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.