What display presents the wait-field of an running process of a NonStop process?
STATUS $Z452, DETAIL
System: \NODE January 31, 2019 15:17
Pid: 2,429 ($Z452) Primary
Wait State: %004 (LDONE)
Userid: 255,30 (SUPER.ET29860)
Program File Name: $SYSTEM.SYS03.TACL
Swap File Name: $SYSTEM.#0
Current Extended Swap File Name: $SYSTEM.SYS03.TACLSEGF
Library File Name: $DATA7.PRG9.TUNELIB
Process Time: 0:0:0.123
Process Creation Time: January 31, 2019 12:06:40.124220
Process States: LOGGED ON, RUNNABLE
Program Data Model: 32-bit
IPU Association: BINDABLE, UNBOUND
IPU Number: 0
Solved! Go to Solution.
The wait state is reflected in the FLAGS field of the JOBS (NonStopProcess) record, and is present on the "NonStop - Details of a Process" display, amongst others. The states are not shown as a bit mask like wait state is. Instead, wait states are mapped to specific flag values as follows:
V = (LINT)
F = (LCAN), (LDONE) or (LREQ)
T = (LTMF)
Hope that helps. If there is a specific wait state you need to detect that is not detectable using these FLAG values, let us know.