× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: RUNRMTCMD
  • From: "Angela Wawrzaszek(EXCH)" <wawrzaszeka@xxxxxxxxxxx>
  • Date: Mon, 10 Jan 2000 11:06:54 -0500

        
I am trying to use runrmtcmd for a file transfer.  What I am trying to
accomplish is this -  We have a computer ALL DOS software that collects data
during testing of material and stores it in txt files.   I want to from an
AS/400 program, when a command key is pressed to pull in this data from the
text file.

I set up the command as follows:

                                                                     
 RUNRMTCMD CMD('\\austeel.austeel.com\home\chem.bat')
RMTLOCNAME('192.168.0.1' *IP) 
 RMTUSER(WAWRZASZEK) RMTPWD()                                      
 

chem.bat :   ftp -s:\\austeel.austeel.com\home\spectrom\code.txt
exit

code.txt:    open 192.168.0.1        
keybank 
keybank
put c:\spectrom\aa.txt austeellib/chemf.chemf
quit


\\austeel.austeel.com is out network ifs,  I am using this for testing
purposes, as I have not wanted to mess with the files on the other maching
yet.  however that  also will have a network address
\\aubmeltshop\spectromer1\bairdas

 *...+....1....+....2....+....3....+....4....+....5....+....6....+....7
 String '\\AUSTEEL.' contains a character that is not valid.           
 Error found on *N command.                                            
        
This is the error I keep getting,  so what am I doing wrong???

My ultimate goal is to beable to send a parameter into the bat file to
determine which file to send back.  Meaning if the user is on an AA code to
grab the aa.txt file,   if on an BB code grab the bb.txt file.  Is there a
way to sent this type of parm?

Any/all help on these 2 questions/problems would be great!

Thankyou,
Angela Wawrzaszek
Programmer/analyst
 <<Angela Wawrzaszek(EXCH).vcf>>

Angela Wawrzaszek(EXCH).vcf


As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.