Exit Calling Convention

Three parameters are passed to the WLM exit by IBM® Connect:Direct®.

  • The first parameter points to the WLM System Capacity Information Area (IWMWSYSI).
  • The second parameter points to a list of system names that were found in goal mode by the WLM query. At least one of these systems must have a IBM Connect:Direct/Plex server active.
  • The third parameter is used for the WLM exit return code. The following describes the possible return codes:
Return Code Description
0 This indicates all systems are considered equal and no choice is made.
Negative value This indicates that no systems are selected.
1-n This indicates the chosen system by an index into the eligible system list.

The following figure depicts the information passed to the WLM exit: