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



Perhaps instead of RUNCMD they meant RMTCMD?  RMTCMD is a PC command to 
talk to your system i.
Start,
Run
cmd <ok>

Syntax
RMTCMD command [//remotesystem] [/Z]
RMTCMD /I [drive] [path] filename [/Q] [//remotesystem] [/Z]

Parameters

command The i5/OS CL command with parameters to send to the server.
/I      Specifies that the commands to be sent are found in the filename 
specified after the /I parameter. There must be a blank space after the 
/I.
drive   Specifies the drive to use.
path    Specifies the name of the directory path to use on the drive.
filename        Specifies the name of the file containing the i5/OS CL 
commands. The file must have one command (with the necessary parameters) 
per line. 
/Q      Specifies that no prompts should be displayed when an error is 
detected by one of the commands.
//remotesystem  Specifies the name of the system to receive and run the 
commands.
/Z      Specifies to only display the required messages on your 
workstation.
Recovery

The ERRORLEVEL value indicates whether this command was successful or not. 
 Also, the RmtCmd's ERRORLEVEL value will match the highest severity of 
all returned host messages according to the following:

ERRORLEVEL      Severity from the host
10      10
20      20
21      30
22      40
23      50
24      60
25      70
26      80
27      90
28      99
Example
To issue a series of i5/OS CL commands that are in a file named 
commands.lst, issue the following command:

RMTCMD /I COMMANDS.LST



Rob Berendt

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.