|
Vern,
Support for the client side of STRPPCCMD is built into the
emulator...nothing to install, turn on or start. Unlike RUNRMTCMD.
Even non-IBM emulators can/could have it. I know Powerterm does...
Charles
On Sat, Jul 16, 2011 at 1:09 PM, Vern Hamberg<vhamberg@xxxxxxxxxxx> wrote:
Thx, Scott
That's cool. But it won't help for us - I can't make the assumption that
support for STRPCCMD is in place, or that certain file shares are there.
But I believe I have an answer using EIM APIs - am working an adding SSO
to some of our stuff.
Vern
On 7/15/2011 6:14 PM, Scott Klement wrote:
No, it's just this:--
STRPCCMD PCCMD('CMD /C ECHO %USERNAME%>
\\mynetserver\MYSHARE\MYFILE.TXT') PAUSE(*NO)
Then read the contents of MYFILE.TXT to find out the username.
On 7/15/2011 5:52 PM, Vern Hamberg wrote:
I don't have a Pro/VIP subscription, so can't see the article - does it
involve a program you call on the PC? I'm not sure that would fly for
our situation.
Thanks
Vern
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 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.