Using notification parameters, CA XCOM Data Transport automatically notifies a local system, a remote system, or a particular user that a transfer is complete without the user having to monitor the queue manually. Notification parameters allow you to specify one of the following levels of notification: Complete, Warning, or Error.
Example 1
The following example uses the xcom62 command. When the transfer completes, local user user1 is notified with a mail message, and remote user USER2 is notified with a TSO message if the transfer receives an error.
xcom62 -c1 -f LOCAL_NOTIFY=user1 NOTIFYL=MAIL NOTIFY_NAME=USER2 NOTIFYR=TSO RMTNTFYL=E LCLNTFYL=A
All other necessary parameters are read from the default configuration file, xcom.cnf.
Example 2
The following example uses the xcomtcp command. When the transfer completes, local user user1 is notified with a mail message, and remote user USER2 is notified with a TSO message if the transfer receives an error.
xcomtcp -c1 -f LOCAL_NOTIFY=user1 NOTIFYL=MAIL NOTIFY_NAME=USER2 NOTIFYR=TSO RMTNTFYL=E LCLNTFYL=A
All other necessary parameters are read from the default configuration file, xcom.cnf.
| Copyright © [set copyright date variable] CA. All rights reserved. |
|