I got this about 6 months ago. For this to work, your network ID must match your RmtUser value. Therefore, you either need to access your network as 'Dummy', or change your RmtUser to whatever your name is. Of course, this is a big downer if you want to make this a generally available option, as you need a seperate program for each person who might want to use it. Because of this, we abandoned this approach, and use transfer Icons on the Desktop. "Trow, Jim" <firstname.lastname@example.org To: email@example.com m> cc: Sent by: Subject: RUNRMTCMD... midrange-l-admin@mi drange.com 07/12/01 09:27 Please respond to midrange-l Greetings 'n salutations, I'm attempting to automate the transfer of data from the AS/400 to an Excel spreadsheet, via Client Access. I've created a pre-defined TTO file, successfully installed the LOGONUSR API, yet continue to receive the following error message when attempting to execute the associated RUNRMTCMD: RUNRMTCMD Cmd('\\DBH\NetworkFiles\data\Information Systems\File Transfers\ICR0001C.BAT') + RmtLocName('nnn.nnn.nnn.nnn' *IP) + RmtUser('dummy') RmtPwd('dummy') CCSID(*Calc) A remote host refused an attempted connect operation. Command did not complete successfully. The CMD itself is pointing to the correct file out on the LAN, the correct IP address is identified, as well as the userid and password. The only thing I notice when attempting to execute this is that the remote password (RMTPWD) shows up as *None when recalling the command (even though it is defined as a valid p/w when setting up the command), although this may just be part of a built-in security feature. I am currently running Client Access, v3r2m0. Client Access Remote Command appears to be running as a NT Service. I've run out of ideas on this one, any help would be appreciated! Regards, James D. Trow Information Systems Supervisor Dick Blick Holdings, Inc. Ph: (847) 681-6820 Email: firstname.lastname@example.org _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l or email: MIDRANGE-Lemail@example.com Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.