Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

RUNRMTCMD transfer failure

Status
Not open for further replies.

jellybeenz

Technical User
Mar 7, 2002
37
US
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top