I use this.
*************** Beginning of data *************************************
0001.00 GOOGLE: PGM
0001.01 IWS4010: MONMSG MSGID(IWS4010) EXEC(GOTO CMDLBL(TAG3))
0002.00 STRPCO PCTA(*NO)
0002.01 TAG3: STRPCCMD PCCMD('"C:\Program Files\Internet +
0002.02 Explorer\iexplore.exe" +
0002.03
http://www.google.com') PAUSE(*NO)
0003.00 ENDPGM
****************** End of data ****************************************
Steve Dodkins
I.T Manager ebm-papst UK Ltd
Chelmsford Business Park,
CM2 5EZ Chelmsford, UK
Tel: +44 (0) 1245 468555
Dir: +44 (0) 1245 456510
steve.dodkins@xxxxxxxxxxxxxxx
www.ebmpapst.co.uk/index2.htm
________________________________
From: midrange-l-bounces@xxxxxxxxxxxx on behalf of Chris Bipes
Sent: Fri 23/05/2008 18:11
To: Midrange Systems Technical Discussion
Subject: RE: STRPCCMD
This appears to be a limitation of the START command under XP. This
worked:
STRPCCMD PCCMD('"c:\Program Files\Internet Explorer\iexplore.exe"
http://www.mywebpage.com?&userid=My+Name' <
http://www.mywebpage.com/?&userid=My+Name'> ) PAUSE(*YES)
Chris Bipes
Director of Information Services
CrossCheck, Inc.
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Salter, James
Sent: Friday, May 23, 2008 9: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' <
http://www.mywebpage.com/?&userid=My+Name'> ) +
PAUSE(*NO)
Or would a RUNRMTCMD command be an better solution?
--
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.
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit
http://www.messagelabs.com/email
______________________________________________________________________
As an Amazon Associate we earn from qualifying purchases.