Use the Send Job Command at the command prompt to send an executable file to a remote system to perform a job.
The -c3 option specifies that this is a Send Job transfer. The local job file is specified by the LOCAL_FILE_SJ parameter.
The executable file or command script that contains the job must have in it the control statements that are needed to execute the job on the remote system. These control statements must be in a form that is recognized by the remote system. For example, if you are sending to an IBM z/OS system, this file could contain JCL statements. If you are sending to a UNIX system this file could contain a UNIX shell script. For sending to a Windows system, the file would be a .bat file.
Example 1:
In the following example, the XCOM62 command is used. The job sent for execution on the remote system is in the file MYFILE.
XCOM62 -c3 -f LOCAL_FILE_SJ=MYFILE
All other necessary parameters are read from the default configuration file XCOM.CNF.
Example 2:
In the following example, the XCOMTCP command is used. The job sent for execution on the remote system is in the file MYFILE.
XCOMTCP -c3 -f LOCAL_FILE_SJ=MYFILE
All other necessary parameters are read from the default configuration file XCOM.CNF.
| Copyright © 2012 CA. All rights reserved. |
|