Use the Send Job Command 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 or Linux system, this file could contain a shell script. For sending to a Windows system, the file would be a DOS .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 /tmp/myfile.
xcom62 -c3 -f LOCAL_FILE_SJ=/tmp/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 /tmp/myfile.
xcomtcp -c3 -f LOCAL_FILE_SJ=/tmp/myfile
All other necessary parameters are read from the default configuration file xcom.cnf.
| Copyright © [set copyright date variable] CA. All rights reserved. |
|