jellybeenz
Technical User
I have written a CL program that uses RUNRMTCMD to initiate a .tto to download a data file to an NT workstation. It also runs a pc batch file to further process the downloaded file. The batch file runs flawlessly, but the file transfer results in a spool file with the error statement "The system name is invalid or has not been configured. Transfer failed." The transfer runs fine locally and also if I use STRPCCMD. However, I want to be able to schedule the job or run it from a dumb terminal.
Here is a code snippet:
DCL VAR(&PRGXFR) TYPE(*CHAR) LEN(48) +
VALUE('E:\IBM.NT\CA400\rtopcb.exe /s +
c:\data\mmsale.tto')
RUNRMTCMD CMD(&PRGXFR) RMTLOCNAME(xxxxxx *IP) +
RMTUSER('xxxxxx') RMTPWD('xxxxx') +
CCSID(*CALC)
MONMSG MSGID(CPF91CC)
The Client Access Remote Command service is started on the NT. The NT has been added to the host table on the AS/400. The username and password are all in the proper upper/lower case. I am using Client Access for Windows 95/NT. I don't know what else to do. I would greatly appreciate any input on this problem. Thanks.
Here is a code snippet:
DCL VAR(&PRGXFR) TYPE(*CHAR) LEN(48) +
VALUE('E:\IBM.NT\CA400\rtopcb.exe /s +
c:\data\mmsale.tto')
RUNRMTCMD CMD(&PRGXFR) RMTLOCNAME(xxxxxx *IP) +
RMTUSER('xxxxxx') RMTPWD('xxxxx') +
CCSID(*CALC)
MONMSG MSGID(CPF91CC)
The Client Access Remote Command service is started on the NT. The NT has been added to the host table on the AS/400. The username and password are all in the proper upper/lower case. I am using Client Access for Windows 95/NT. I don't know what else to do. I would greatly appreciate any input on this problem. Thanks.