If you are open to trying another emulator, you might look at tn5250.
The workstation emulation program in recent versions lets you use
STRPCCMD. I have done this successfully with version 0.17.4 in linux.


On Wed, 2009-10-14 at 14:01 -0700, Jeff Young wrote:
The reason it does not work in Mocha is that the Mocha product is just a TN5250 emulator.
The IBM iSeries Access program is more than just a green screen TN5250 emulator.
It has servers that allow other access between the i and the PC.
The STRPCO command uses one of those servers to execute a command on the PC that is attached to the 5250 Emulator Session.


Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3

From: Kiran Kumar <kkumar@xxxxxxxxxxxxx>
To: midrange-l@xxxxxxxxxxxx
Sent: Wednesday, October 14, 2009 4:49:13 PM
Subject: Strpccmd

We use the following stcpccmd to invoke a browser based application
using Strpccmd in Firefox browser

CHGVAR VAR(&CMD) VALUE('%windir%\system32\cmd.exe +
/c start firefox' *BCAT &URL)

The &URL we get as a parameter is the actual URL of the application.

We use client access in production and mocha in development environment.

The above command executes well in Client Access, but not Mocha. We
could not determine as why it does not works in mocha. We noticed that
location of windows directory is different for some users. Due to this
we do not give the absolute location of windows directory. Instead we
use wild card character "%" to locate the windows directory.


Notice: This message is intended only for use by the person or entity to which it is addressed. Because it may contain confidential information intended solely for the addressee, you are notified that any disclosing, copying, downloading, distributing, or retaining of this message, and any attached files, is prohibited and may be a violation of state or federal law. If you received this message in error, please notify the sender by reply mail, and delete the message and all attached files.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by 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].