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



yes, or you could just have it be part of the menu html (assuming the menu
itself is a net.data macro)


Larry Kleinman
Kleinman Associates, Inc.
212-949-6469
203-255-4100



"Don Cavaiani" <dcavaiani@xxxxxxxxxxxxx>
Sent by: web400-bounces@xxxxxxxxxxxx
10/19/2009 10:56 AM
Please respond to
Web Enabling the AS400 / iSeries <web400@xxxxxxxxxxxx>


To
"Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
cc

Subject
Re: [WEB400] Execute a CLP from net.data menu step






Thanks Larry. So I have to make a 'mini' macro as you detail below,
then "call" it from the "menu" html, right?

-----Original Message-----
From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx]
On Behalf Of Larry Kleinman
Sent: Monday, October 19, 2009 9:04 AM
To: Web Enabling the AS400 / iSeries
Subject: Re: [WEB400] Execute a CLP from net.data menu step

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




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
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.