Previous Topic: Uninitialized Variables Yield Unpredictable ResultsNext Topic: Problems Related to Commands in Subsystem


Problems with WTO and WTOR Messages in Subsystem Interface

Symptom:

I am finding problems related to WTO and WTOR messages in the subsystem interface.

Solution:

When you find problems related to WTO and WTOR messages in the subsystem interface, CA Customer Support may ask you to invoke a special REXX function called OPS09TRC. This function returns a string containing a z/OS control block useful for debugging purposes.

Important! Use this function only when CA Customer Support asks you to do so, because it is not intended as a programming interface and we may change it at any time.

One way to use the OPS09TRC function is to trap a WTO message through a rule and copy the returned control block strings into global variables. You can then use the OPSVIEW option 4.8 to examine the returned data.

Use the following format to call the OPS09TRC function:

CB = OPS09TRC("functioncode")

The functioncode argument can be any of the following values:

MAJWQE

Returns the major WQE being processed. The length of the control block returned depends on the version of z/OS you have.

MINWQE

Returns the minor WQE being processed. The length of the control block returned depends on the version of z/OS you have.

SSOB

Returns the SSOB related to the current subsystem interface call.

SSWT

Returns the WTO SSOB extension related to the current subsystem interface call.