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
, it has much more options including security (Note: This is not freeware).
Dig Deeper on Remote Access to iSeries
Use work station customize object or printer type in iSeries Access to print the output of an RPG file from the AS/400 to an HP printer.
What to do when an application is published in IFS from Win2k3 server, and users are unable to access the shared folder on AS/400.
Connecting the iSeries in AS/400, issue STRHOSTSVR *ALL. Make sure the as-signon port is in listen state and check the firewall settings.