Q

Using remote AS400 commands in a Windows environment

RUNRMTCMD is the AS400 implementation of REXEC client and it supports 2000 characters, but the REXEC daemon from iSeries Access only supports up to 1000 characters. To run a long command, such as a SQL Server IS package, you will want to use a different REXEC daemon.

I am trying to run a SQL Server IS package with a lot of variables from the iSeries via RUNRMTCMD and it is over 1000 characters in length and seems to truncate. It says it can handle 2000 characters so what do I need to do to get this working? I am using V5R4 iSeries Access.
RUNRMTCMD is the AS400 implementation of REXEC client and it supports 2000 characters. However, I think the other side is the REXEC daemon from iSeries Access only supports up to 1000 characters. If you need to use remote commands in Windows environment, we recommend using a different REXEC daemon on the Wndows server. For example use the one from www.denicomp.com, it has much more options including security (Note: This is not freeware).
This was last published in May 2008

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.

-ADS BY GOOGLE

SearchEnterpriseLinux

SearchDataCenter

Close