Vern,

The thing is, I need to be able to get this to work exactly the same as
STRPCCMD. Basically, I can't touch the program code, so I need to have a
command called STRPCCMD (in a library higher than QSYS, obviously) which
will do the *exact* same thing as STRPCCMD...

Commercial solutions are not an option, sadly.

Rory


On Mon, Dec 10, 2012 at 3:33 PM, Vernon Hamberg <vhamberg@xxxxxxxxxxxxxxx>wrote:

Rory

<verndor-response>
If you are open to a commercial offering, we have the Office Integrator
product that can be used to run commands on a PC from the command line
of the i. An app on the PC has to be run to receive the requests - there
is an enhancement that will work slightly differently, on its way pretty
soon.

Call 888.rjs.soft toll-free or email me or Richard, who is also on these
lists - or email sales.rjssoftware.com
</verndor-response>

Vern

On 12/10/2012 5:19 PM, Rory Hewitt wrote:
All,

Does anyone know of a way that I can emulate the behavior of STRPCCMD?

I know that STRPCCMD sends a 'hidden' screen to the emulator that
contains
some control characters, followed by the actual command to be run, and
the
emulator then executes that command.

I have access to the 5250 data-stream but my 'emulator' (actually a
data-stream parser which displays the screen in the browser) is not able
to
run STRPCCMD. I would like to be able to 'recognize' the hidden screen
(easy) and then invoke some processing to execute the same functionality
as
is executed by STRPCCMD. Is this possible, perhaps using a socket to run
a
command on the PC?

I've posted this in the RPG400-l list as the software will most likely be
written using RPG...

Thanks,

Rory

--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.





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.