Use the Send Report command to send a copy of a report file from a local system to a remote system for printing.
The -c2 option specifies that this is a Send Report transfer. The report file on the local system is specified by the LOCAL_FILE_SR parameter.
Example 1:
In the following example, the xcom62 command is used. The configuration file is /myconfig.cnf, the local report file sent is named /tmp/myfile.rpt, and it is placed on HOLD status on the remote system until released by the remote system.
xcom62 -c2 -f /myconfig.cnf LOCAL_FILE_SR=/tmp/myfile.rpt HOLDFLAG=YES
Example 2:
In the following example, the xcomtcp command is used. The configuration file is /myconfig.cnf, the local report file sent is named/tmp/myfile.rpt, and it is placed on HOLD status on the remote system until released by the remote system.
xcomtcp -c2 -f /myconfig.cnf LOCAL_FILE_SR=/tmp/myfile.rpt HOLDFLAG=YES
| Copyright © [set copyright date variable] CA. All rights reserved. |
|