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
Priority: 169
Wait State: %004 (LDONE)
Userid: 255,30 (SUPER.ET29860)
Myterm: $ZN21A.#PTDXJUN
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
GMOMJOBID:
Program Data Model: 32-bit
IPU Association: BINDABLE, UNBOUND
IPU Number: 0
Solved! Go to Solution.
Hi Jerry,
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.
Hi Jerry,
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.
Awesome. It is just what we needed.
Thank you Jamie.
Regards;
Gerardo
Members | Likes |
---|---|
46 | |
13 | |
13 | |
12 | |
10 |