Hi !
I've to change a writer on a remote system AS400 from another AS400.
I can do it using TELNET command and then using this command : CHGWTR WTR(PRT1) FORMTYPE(*SAME *NOMSG)
But i would like to do it automatically by program.
I try use this command : AREXEC CMD('CHGWTR WTR(PRT1) FORMTYPE(*SAME *NOMSG)') RMTLOCNAME(RemoteSysName...
but i got a message telling my to check my controler and my connection.
I don't understand why i can connect by TELNET command and yet the AREXEC command doesn't work ...
I'm a beginner and i don't know if a solution exists for my problem.
Thanks if you can help.
I've to change a writer on a remote system AS400 from another AS400.
I can do it using TELNET command and then using this command : CHGWTR WTR(PRT1) FORMTYPE(*SAME *NOMSG)
But i would like to do it automatically by program.
I try use this command : AREXEC CMD('CHGWTR WTR(PRT1) FORMTYPE(*SAME *NOMSG)') RMTLOCNAME(RemoteSysName...
but i got a message telling my to check my controler and my connection.
I don't understand why i can connect by TELNET command and yet the AREXEC command doesn't work ...
I'm a beginner and i don't know if a solution exists for my problem.
Thanks if you can help.