Error msg when trying to execute a program Windows from Iseries through the RUNRMTCMD.

10 pts.
Tags:
Execute Format
IBM iSeries
iSeries error messages
RUNRMTCMD
I have problems trying to execute a program Windows from Iseries through the RUNRMTCMD, the message appears me is "command was not exceuted properly", these are the sentences I'm using

CMS ('ls')

RMTLOCNAME

('142.15.2..210' *IP) 

RMTUSER (USERID)

RMTPWD ('PASSWORD')



Software/Hardware used:
iseries with windows platform

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Discuss This Question: 4  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    If the command you are trying to run is 'ls' (CMD, not CMS), then that could be the reason, as 'ls' is not a windows command.
    69,510 pointsBadges:
    report
  • PSMurray
    Try using DIR At a Windows command line, type DIR /? for parameters.
    530 pointsBadges:
    report
  • TomLiotta
    Previous comments are correct, though it's not clear if they are relevant. They might be. It's just not certain. The reasons that it's not certain are that you haven't told us what OS version you're using and that there is no system message containing the text "command was not executed properly". The text of an error message is not as important as the message identifier. Text can be dynamically generated or can contain substitution values. Further, anyone can modify message texts on their own systems. That makes it difficult to look for related information on a different system, and we can't look into yours. Tell us your OS version so we can look at similar message files, and tell us the message identifier so we know what condition is being signaled. And if a previous comment resolved your problem, at least let us know. Tom
    125,585 pointsBadges:
    report
  • TomLiotta
    BTW, if you're not familiar with message identifiers, let us know that too. Learning about message IDs is often more important than a particular message. Tom
    125,585 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following