I am facing an issue while using the RUNRMTCMD command from iseries. I am trying to Zip a set of text files that are produced as output in the IFS directory. The IFS directory is mapped to the Win2000 machine. The command I am using to accomplish this is: RUNRMTCMD CMD('"C:WinzipWZZip.exe -a -P "C:Program FilesTestTest.zip" "C:Program FilesTest*.*""') RMTLOCNAME('xxx.xxx.xxx.xx' *IP) RMTUSER(XXXXXX) RMTPWD(XXXXXX)
When i execute this command, I am receiving an error message:
FATAL ERROR: win32/windows system error (util.cpp@1305): The handle is invalid.
Program is terminating!
The same command when executed using the RUN option in windows, works fine.
Has anyone faced this issue before OR can anyone provide insights into why this issue is happening?