Invoking the user exit at end of routed program

If you want your dynamic distributed program link user exit program to be invoked again when the routed program has completed, you must set the UE_Dyropter field in the parameter list to UE_Yes before returning control to CICS®, on the initial invocation of the user exit.

The final exit is invoked either with a reason of UE_LINKTERM (the application program that is linked-to completed successfully) or UE_LINKABEND (the application program that is linked-to completed unsuccessfully). For both reasons, the parameter list contains the values that are used to route the link request. Therefore, the final exit points can be used to keep statistics, such as which link requests have been successful, or which systems seem to be unavailable.

For more information about DPL, see Dynamic distributed program link user exit (UE015050).