What CA XCOM exits are available on the AS/400 and what are they used for?

Document ID : KB000027714
Last Modified Date : 14/02/2018
Show Technical Document Details


What CA XCOM exits are available on the AS/400 i5/OS and what are they used for?



Each XQUE writer retrieves output from a single AS/400 output queue and sends the output to a single remote system. Set the ENABLEEXIT parameter to *YES on the STRRMTWTR command to activate the XQUE User Exit. The program XQUEEXIT will be invoked for each entry processed by the XQUE writer. The XQUE user exit provides XQUE users with dynamic control of the XQUE spool writer. Spooled file entries processed by XQUE may be identified prior to transmission and the report and transmission attributes can be changed. Entries on the outqueue can either be bypassed and not transmitted, or deleted. In addition, the XQUE writer may be canceled based on user criteria.

The Post Processing Exit (XCOMPPE)

The post processing exit XCOMPPE allows users to access the parameter values of a transfer after it has been received. This exit is called by every transfer (source or target) just prior to the termination of the transfer. The information passed by the exit can be used to perform customized processing after the transfer has been received, such as collecting statistics about CA XCOM usage, and executing other jobs depending upon the data received, and other user-specific processing requirements.

The Receive Report User Exit (XCOMRREXIT)

A user exit is available for receiving reports. This exit allows XCOM on the receiving AS/400 to access and modify some of the print parameters prior to the report being placed on an output queue. Sample source for a customized version of XCOMRREXIT to suppress the banner page is supplied in XCOM2/SAMPLES(XCOMRREXIT). The REPORT-EXITPRINTER-FILE and REPORT-EXITSPOOL-FILENAME fields may be modified in the exit.

Additional Information:

Each of these exits is user written. Samples are provided in XCOM2/SAMPLES (or whatever library you have installed XCOM into.) Refer to Appendix B, "User Exits." in the User Guide.  Here is the link to select the Documentation.