× 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: Running a program on an RS6000 via FTP
  • From: Carl Galgano <cgalgano@xxxxxxxxxxxxxxxxx>
  • Date: Wed, 23 Apr 1997 09:53:27 -0400

I have a client who has an AS400 & RS6000 on an ethernet network.  We are
currently using FTP to transfer files and it works fine.  The AS400 is the
client and the RS6000 is the server.

We now have a requirement that the AS400 run the program on the RS6000 that
creates the file that is to be transfered to the AS400.  I would like to add
an FTP command in my FTP script that will allow me to do this.  The RS600
programmer to me to use the following to execute the program from a $ prompt
on the RS6000:

run pgmname

I thought I could use the QUOTE subcommand to do what I wish to do what I
need, something like this:

QUOTE run stc.322gatex

However the server comes back and says that RUN is not recognized.  See the
screen below.  Does anyone sknow if this can be done, and if it can, how do
I do it.

TIA

                             File Transfer Protocol                             
                                                                                
 Previous FTP subcommands and messages:                                         
   Connecting to host name RS6000 at address 206.199.165.180 using port 21.     
   220 ris FTP server (Version 4.9 Thu Sep 2 20:35:07 CDT 1993) ready.          
   215 UNIX Type: L8 Version: BSD-44                                            
 > login ediftp ruby                                                            
   Number of arguments for a prompted login to the server not correct.          
 > login ediftp                                                                 
   331 Password required for ediftp.                                            
   230 User ediftp logged in.                                                   
 > quote run stc.322gatex                                                       
   500 'RUN stc.322gatex': command not understood.                              
                                                                                
                                                                                
                                                                                
 Enter an FTP subcommand.                                                       
 ===>                                                                           
                                                                                
                                                                                
                                                                                
 F3=Exit     F6=Print       F9=Retrieve                                         
 F17=Top    F18=Bottom    F21=CL command line                                   
                                       

                                         
Carl J. Galgano
EDI Consulting Services, Inc.   
540 Powder Springs Street
Suite C19
Marietta, GA 30064
770-422-2995

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the Midrange System Mailing List!  To submit a new message,   *
* send your mail to "MIDRANGE-L@midrange.com".  To unsubscribe from     *
* this list send email to MAJORDOMO@midrange.com and specify            *
* 'unsubscribe MIDRANGE-L' in the body of your message.  Questions      *
* should be directed to the list owner / operator: david@midrange.com   *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.