|
|
|
|
Use the following command syntax to invoke AREXEC :
arexec [Options] RemoteSystemID Command
The simplest way to use AREXEC is to specify only the RemoteSystemID (see Destination Names) and the command. For example, you can start AREXEC in the following way:
arexec RemoteSystemID ls \*.c
This command sends the command ls *.c to the specified remote computer. AREXECD, the AREXEC partner program on the remote computer, executes the command, and displays the results as the output of AREXEC on the local computer. If you specify any of the options more than once, the system uses the last one entered.
Security parameters may also be required, depending on how your system is configured.
The AREXEC parameters and options are as follows:
This parameter identifies the partner computer on which the AREXECD target program runs. The RemoteSystemID (partner LU name) can be a fully qualified partner LU name (FQPLU), a CPI-C symbolic destination name, or an ANAME alias.
For more information about RemoteSystemID, see Destination Names.
The command string to be executed on the remote computer. For example,
if the user ID is
The mode name. The default mode name is #INTER.
The name of the partner TP. The default TP name is AREXECD .
The user ID that is sent to the partner computer. The user ID can be up to eight characters in length. Use this option if the remote transaction program is configured for security.
This is the password for the user ID that is sent to the partner computer. The password, which can be one to eight characters in length, is required when a user ID has been specified. If you do not enter a password after specifying a user ID, AREXEC will prompt you to do so.
This option overrides the security option. By default, a request for the remote application should include a user ID and an indication that the password has been verified. If the destination accepts already-verified user IDs, the user ID of the running process is sent without a password. If the remote transaction program is not configured to require security, use this option if you receive the error message
XC_SECURITY_NOT_VALID.
Quiet operation. The AREXEC banner is not displayed; only the results from the command are shown.
To obtain help on using AREXEC, enter one of the following commands:
arexec ?
arexec -h
arexec -help
|
|
|
|
|