Previous Topic: &AOMJOBNM

Next Topic: &AOMLDID


&AOMJSTCB

A system variable that contains the hexadecimal address of the job step TCB that either issued the current WTO or WTOR, or owns the TCB that issued the message.

This variable contains the hexadecimal address of the TCB that actually issued the WTO/WTOR. Thus, it is possible to differentiate between separate WTO/WTORs that have been issued from the same address space.

This variable is useful to &CALLed programs.

Examples: &AOMJSTCB

&CALL STATPROG &AOMATEXT &AOMJSTCB

Notes:

The ID of the address space that issued the current message is available in hexadecimal format in the system variable &AOMASID.

It might be necessary to go one step further and determine which TCB, within a particular address space, issued the WTO/WTOR.

Non-Roll-Delete messages is deleted by a JSTCB level DOM. AOM manages this automatically.

More information:

&AOMASID