Manage Learn to apply best practices and optimize your operations.

Running a job on the iSeries after it has been transferred to a PC

The REXEC command on a PC or the RMTCMD within iSeries Access allows you to call a program on the iSeries from a Windows PC.

I know how to run a Windows command from an iSeries using RUNRMTCMD. I am working on something that requires a job to run on the iSeries after a file has been transferred. Is there a way that a Windows PC can call a program on the iSeries?
There are two options:
  • If iSeries Access is installed on the PC you have a command called RMTCMD that allows you to send commands to the iSeries.
  • On any Windows (even when iSeries Access is not installed) there is a tool called REXEC, which allows submit commands to the iSeries server.
  • Both tools are used to submit "batch commands" with no screen involved.
  • Both tools require start of server on the AS/400. (STRHOSTSVR *RMTCMD or STRTCPSVR *REXEC.)
This was last published in November 2008

Dig Deeper on Remote Access to iSeries

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

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

Please create a username to comment.