Previous Topic: Input Parameters for User Exits

Next Topic: How You Define Consoles to a CICS Region

Return Codes from a User Migration ID Exit

A user migration ID exit informs your region of its decision by setting one of the following return codes (in R15):

0

No change to the MIGID setting that has been determined

4

Force MIGID=NO.

8

Force MIGID=YES.

No other return codes are defined, and any other return value is treated as RC=0.

Exit Tracing

You can trace migration ID exit processing (for either the default exit or a user exit) by using SYSPARMS AOMCOPTS=01. This causes a message (N86M01) to be written to the log for each request for analysis of a command (either by using SYSCMD MIGID=EXIT or by using the NCL built-in function).

The exit is not called if no consoles are acquired or if the current console type does not support migration IDs (only EXTMCS consoles support migration IDs).