Haven't tried in RPG yet, but my CL program that I am trying to write now to end a communications port, will not work. It is crazy because the exact same command works from the command line. In debug the command below gets error message-ID TCP1901 "Internet address 10.62.127.95 not valid." so I copy/paste it onto the command line and it works. I have tried just about everything, the latest being using QCMDEXC to execute the command. Still same result.
Any ideas?
ENDTCPCNN PROTOCOL(*TCP) LCLINTNETA('10.62.127.95 ') LCLPORT(54026) RMTINTNETA('10.64.54.133 ') RMTPORT(61725)
Any ideas?
ENDTCPCNN PROTOCOL(*TCP) LCLINTNETA('10.62.127.95 ') LCLPORT(54026) RMTINTNETA('10.64.54.133 ') RMTPORT(61725)
Comment