× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Huh?

Not sure what you mean by dedicated...

If you mean the 5250 session can't be used while the interactive app is
running, you are incorrect.

If you use the PAUSE(*NO) parameter, then control returns to your session
immediately.

STRPCO
STRPCCMD CMD('notepad.exe') PAUSE(*NO)

Charles


On Tue, Mar 31, 2015 at 4:18 PM, Jeff Young <jyoung0950@xxxxxxxxx> wrote:

Charles,
The major restriction for that is that it requires a client access session
to be dedicated to it and the job must be run in that interactive session.
As long as that is not a problem, your solution is ideal.

Jeff Young
Sr. Programmer Analyst

On Tue, Mar 31, 2015 at 3:57 PM, Charles Wilt <charles.wilt@xxxxxxxxx>
wrote:

No...passwords are a one-way hash.

Well, technically there was (is?) a security hole if you had LANMAN (v1)
passwords stored for use with Netserver/QNTC.

They were quite easily to get to and to break.

That was many years ago..

If you must use RUNRMTCMD, you'll have to ask for the users password.

If you're only needed it so you can run an interactive app on the PC of
the
logged in user, then consider using Start PC Command (STRPCCMD)

STRPCCMD uses a special 5250 screen to send a remote command to the PC
via
the 5250 emulation session itself.

Only catch is you have to make sure the STRPCO command gets run in the
session before STRPCCMD will work.

I put together my own little wrapper..

pgm parm(&pCommand &pPause)
dcl var(&pCommand) type(*CHAR) len(128)
dcl var(&pPause) type(*CHAR) len(4)

strpco pcta(*NO)
monmsg msgid(IWS4010)
if cond(&pPause *EQ '*YES') +
then(strpccmd pccmd(&pCommand) pause(*YES))
else +
cmd(strpccmd pccmd(&pCommand) pause(*NO))

endpgm

Charles


On Tue, Mar 31, 2015 at 3:44 PM, tim <iseriesstuff@xxxxxxxxx> wrote:

is it possible to execute the runrmtcmd with the user/password of the
user
logged in?

i know how to get the user, but how can i get the password?
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.


--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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