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?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!