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



Booth

Thanks for your replay, but the below suggestion didn't work for me.

Below is what I ended up doing: I modified the original program that
generates the web link, and passed it to this program, which actually
brought up the web page as expected.

This works in case anyone would find it usefull. With some tinkering, a
person could probably make this a nice service program.

PGM &WEBLNK
DCL VAR(&WEBLNK) TYPE(*CHAR) LEN(70)
DCL VAR(&SEL) TYPE(*CHAR) LEN(200)
Dcl &Quote *Char ( 1 ) Value( '"' )
DCL VAR(&SEL) TYPE(*CHAR) LEN(200)

// declare the path to internet explores
DCL VAR(&IE) TYPE(*CHAR) LEN(51) +
VALUE('"C:\Program Files\Internet +
Explorer\IEXPLORE.EXE" "')
// Add quotes to the end of the target web link
CHGVAR VAR(%SST(&WEBLNK 65 1)) VALUE(&QUOTE)
// concat the path to internet explorer to the target web page
CHGVAR VAR(&SEL) VALUE(&IE || &WEBLNK)

STRPCO
MONMSG MSGID(CPF0000 IWS4010)
STRPCCMD PCCMD(&SEL)
RCLRSC
RETURN
ENDPGM

<See if something like this might work for you:
< In your DSPF
< RTNCSRLOC(&REC &FLD)
< REC 10A H
< FLD 10A H

< In your RPG:
< select;
< when FLD = 'WSABA#'; // Enter pressed in this field
< exsr CreateWeb;
< endsl;

Regards,



SWBC
9311 San Pedro Ave., Suite 600
San Antonio, TX 78216

Visit our website at www.swbc.com

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.