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
ASKED:
November 23, 2010 6:26 PM
UPDATED:
November 26, 2010 12:07 AM
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.
Try using DIR
At a Windows command line, type DIR /? for parameters.
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
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