Ask the Expert

Call a program on NT from the iSeries

Can I call a program on NT from the iSeries?

Install CA/400 Express on the NT server. Enable remote command support...

To enable remote command support on a Win2K server:

Select: Control Panel, Administrative Tools, Services On the Services screen look for "client Access Express Run Remote Command" and double click on it. Then select the start button to start the process on the PC. Make a note of the IP address for this server, you will need it later.

Utilizing the Run Remote Command (RUNRMTCMD), your CLP, running on the AS/400 could then execute some program on the NT server....

For example:

RUNRMTCMD CMD(PC_COMMAND) RMTLOCNAME('nnn.nnn.nnn.nnn' *IP) RMTUSER(userid) RMTPWD(password)

Where nnn = the IP address of the NT server, user ID and password are the user ID and password for the NT server.


This was first published in June 2001

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

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
Sort by: OldestNewest

Forgot Password?

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

Your password has been sent to: