× 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.



This is a multipart message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
First, I assume that '192.168.0.1' is the address of the pc of which you are 
attempting to run a remote
command on, right?

Secondly, this PC is attempting to run a program that is not stored on
itself, but however is stored on a server called qausteel, right?  Even
though the program is stored remotely, it will run the program on the pc
called '192.168.0.1'.

Here is a sample of our use of RUNRMTCMD
RUNRMTCMD  CMD('D:\PVC4XX\UPLOAD.BAT') +
             RMTLOCNAME(&REMOTE *IP) RMTUSER(&USER) +
             RMTPWD(&PASSWORD)

Haven't tried a UNC.  You might have to map a drive.



Rob Berendt
--
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety."
Benjamin Franklin




"Angela Wawrzaszek" <awawrzaszek@nucorauburn.com>
Sent by: midrange-l-admin@midrange.com
04/15/2002 12:45 PM
Please respond to midrange-l


        To:     "Midrange Mail List (E-mail)" <midrange-L@midrange.com>
        cc:
        Fax to:
        Subject:        FW: running a command on the IFS from batch.




>                I have been running a program that runs a batch job on
the IFS  by using STRPCO.   However I just changed this to run the CL from
the night scheduler and it doesn't like STRPCO from batch.   So I thought
I could change it to runrmtcmd but it doesn't like this either.   Telling
me my command has an invalid name.
>  Is it because I am running this from the same IP.  The as/400 and IFS
are the same IP
>
>
>  ===> RUNRMTCMD CMD('\\qausteel\home\vmi\inv.bat')
RMTLOCNAME('192.168.0.1' *IP)
>  RMTUSER(KEYBANK) RMTPWD()
> .   *...+....1....+....2....+....3....+....4....+....5....+....6...
>  String '\\QAUSTEEL' contains a character that is not valid.
>  Error found on *N command.
>
_______________________________________________
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-L-request@midrange.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.

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.