×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




your problems are that strpccmd is restricted to 123 char

On Thu, Jul 16, 2015 at 9:32 PM, Booth Martin <booth@xxxxxxxxxxxx> wrote:

This is old code but might be useful.

http://martinvt.com/Code_Samples/PC_Commands/pc_commands.html

This is the relevant section:

* Start PC Organizer if not started.
C eval wCmdString = 'STRPCO PCTA(*NO)'
C callp(e) pQCmdExc(wCmdString:
C %len(%trim(wCmdString)) )
...
* Run the command.
C eval wCommand =
C 'start ' + 'http://target.site.com'
C eval wCmdString = 'strpccmd pccmd('''
C + %trim(wCommand)
C + ''') pause(*NO)'
C callp pQCmdExc(wCmdString:
C %len(%trim(wCmdString))

On 7/16/2015 12:43 PM, Joe W Holt wrote:


Anyone know how, if possible, to have a green screen make a call to the
system browser and passing a url supplied by the display?

***
Regards,
Joe W Holt
Sr Programmer/Developer
Jack Onofrio Dog Shows, LLC
405.427.8181

--
This is the Web Enabling the IBM i (AS/400 and iSeries) (WEB400) mailing
list
To post a message email: WEB400@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/web400
or email: WEB400-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/web400.





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