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



Change PGMNAME to selected program; ie IEXPLORER
Change PATH to the select path


CmdString = 'STRPCO PCTA(*NO)' ;
System(CmdString) ;

CmdString = ( 'STRPCCMD PCCMD(''rundll32 Shell32,ShellExec_RunDLL'
+ ' '
+ '"'
+ %Trim(PGMNAME)
+ '"'
+ ' '
+ '"'
+ %Trim(PATH)
+ '"'
+ ''''
+ ')'
+ ' '
+ 'PAUSE(*NO)'
) ;
System(CmdString) ;

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Salter, James
Sent: Friday, May 23, 2008 11:20 AM
To: midrange-l@xxxxxxxxxxxx
Subject: STRPCCMD

Does anyone have any experience with interfacing with a browser from the
system i?

I am trying to pull up a webpage with parameters (in this sample -
userid) and it stops on the webpage right after the ? field. Nothing
after the ? is passed to the page.

Does anyone have any suggestions or samples on how to do this?

We would potentially like to pull up maps, etc. from a system i
application.

STRPCO PCTA(*NO)
MONMSG MSGID(IWS4010)
STRPCCMD PCCMD('START http://www.mywebpage.com?&userid=My+Name') +
PAUSE(*NO)

Or would a RUNRMTCMD command be an better solution?

Thanks.
James Salter
Systems Programmer
American Cast Iron Pipe Co
Email: jsalter@xxxxxxxxxx
Phone: (205) 325-3033
Fax: (205) 307-3833

_________Confidentiality Notice_______________________ This e-mail and
any files transmitted with it is confidential and is intended solely for
the use of the individual(s) or entity(ies) to whom this e-mail is
addressed. If you are not the intended recipient or the person
responsible for delivering the e-mail to the intended recipient, be
advised that you have received this e-mail in error, and that any use,
disclosure, dissemination, forwarding, printing, retention or copying of
this e-mail is strictly prohibited. If you have received this e-mail in
error, please immediately return this e-mail to the sender and delete
the e-mail from your system.
Thank you.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/midrange-l.

______________

The information contained in this message is proprietary and/or confidential. If you are not the
intended recipient, please: (i) delete the message and all copies; (ii) do not disclose,
distribute or use the message in any manner; and (iii) notify the sender immediately. In addition,
please be aware that any message addressed to our domain is subject to archiving and review by
persons other than the intended recipient. Thank you.
_____________

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.