Kiran,
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.
hth,
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.
<
http://forums.systeminetwork.com/isnetforums/editpost.php?do=editpost&p
=336781>
======================================================================================
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.
As an Amazon Associate we earn from qualifying purchases.