IBM AS/400e Computer Hardware User Manual


 
Chapter 16. REXEC Server
The Remote Execution (REXEC) server is a TCP/IP application that allows a client
user to submit system commands to a remote server system. The user identifier,
password, and command to be performed are sent from the user’s client program to
the server. The server validates the user, runs the requested command, and returns
the results of the command to the client.
Commands submitted to the AS/400 host fall into three categories:
AS/400 command processor
You run AS/400 command processor commands by specifying QCAPCMD as
the target of the client REXEC.
Qshell command interpreter (OS/400 option 30)
You can use the Qshell interpreter by specifying qsh as the target of client
REXEC.
Spawned paths
You can run any AS/400 program in a child (spawned) job by specifying
the complete path to the program or shell script as the target of the REXEC
command.
Accessing REXEC Functions through Operations Navigator
Although, most REXEC functions are available
only
from a command line interface,
you can also access configuration options from Operations Navigator.
To access REXEC server functions through Operations Navigator, perform these
steps:
1. Double-click your AS/400 server in the main tree view of Operations Navigator.
2. Double-click Network.
3. Double-click Servers.
4. Double-click TCP/IP.
5. Double-click REXEC.
See the online Help in Operations Navigator for information about using Operations
Navigator for REXEC functions.
The remainder of this chapter discusses how to start, stop, and configure the
REXEC server from the command line interface.
Note: Although the command line interface and Operations Navigator provide much
of the same function, the actual menu commands and parameters are not
necessarily the same.
Starting the REXEC Server from the Command Line Interface
Specify the
Start TCP/IP Server
(STRTCPSVR) command with the SERVER
parameter set to *REXEC, as follows:
STRTCPSVR SERVER(*REXEC)
© Copyright IBM Corp. 1997, 1999 399
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|