× 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: Re: "RUNRMTCMD" on NT Server
  • From: Rob Berendt <rob@xxxxxxxxx>
  • Date: Fri, 26 May 2000 8:44:41 -0500

I say again. Use FTP from the 400 to start a batch 
file on the NT box.
Test this out interactively.  Do the following.
I)  From your 400 do the following from a command line
        A)  ping nameofpc
                1)  If it works go to B)
                2)  If it doesn't work
                        a)  If command not found, load TCP/IP on 
                                400, configure and everything.
                        b)  If location not found then verify DNS 
                                and PC name
        B)  ftp nameofpc
                1)  If it works go to C)
                2)  If it doesn't work
                        a)  Load ftp server on NT that comes free 
                                with NT
        C)  quote rcmd drive:\directory\batchfilename.bat
II)  Once you get this tested out interactively, do it in a 
program.  Contact again for further details.  
But, really this isn't an RPG issue, and you're kinda on the wrong list.  
Subscribe to midrange-l also.  They have an archive available at:
http://midrange.com/
You might want to check out:
http://archive.midrange.com/midrangelarchives/199902/msg01296.html





mullerj@nabiscosa.co.za on 05/26/2000 08:31:47 AM
Please respond to RPG400-L@midrange.com@Internet
To:     rpg400-l@midrange.com@Internet
cc:      
Fax to: 
Subject:        Re: "RUNRMTCMD" on NT Server

Rob,

The rcmd subcommand will run a CLP on the AS400 from the NT
Server, I would like to do this the other way round - run a batch file
(.BAT) on the NT Server from the AS400. One of the reasons why
I would like to initiate the process from the AS400 is that we have
scheduled as well as interactive jobs on the AS400 from which we
would like to transfer data to the NT Server and at the same time
run the Server update via batch (.BAT) file initiated from the AS400.
This means that the transfer and update will not take place if the
job on the AS400 aborts abnormally.

Thanks for your help so far and please let me know if you need
any more information.


> Date: Thu, 25 May 2000 11:08:08 -0500
> From: Rob Berendt <rob@dekko.com>
> Subject: Re: "RUNRMTCMD" on NT Server
> 
> Load up the freebie FTP server that comes with NT.  
> Then use a CLP to pipe some FTP subcommands.  I think 
> you are looking for quote rcmd.  If you have further 
> questions, please ask.
+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---


+---
| This is the RPG/400 Mailing List!
| To submit a new message, send your mail to RPG400-L@midrange.com.
| To subscribe to this list send email to RPG400-L-SUB@midrange.com.
| To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com.
| 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.