STATUS monitor command The "STATE", "PROGRAM", and "STEP" fields in this format are similar to the "STATE", "CURRENT PROGRAM", and "STEP" fields, respectively, in the first format above. If the selected program task is active, only the program on the top of the stack is shown. If the task state is "Not active", then the entire execution stack is shown, beginning with the main program and ending with the top of the stack. The "CYCLES" field shows the total number of cycles that have been completed, followed by the total number of cycles to be completed. The value -1 indicates that cycles are to be executed indefinitely.
The "STACK" field indicates the size of the stack currently in use (in kilobytes). The "MAX" field shows the maximum amount of the stack that has been used since the last time the program was executed. If a program has failed with the "*Not enough program stack space*" error, the MAX field indicates how much stack space was requested by the operating system. This will give you a value to use to reallocate stack space to the task. The "LIMIT" field shows the limit on the stack size. This limit may be changed with the STACK monitor command.
Example In the example shown in Status Display, tasks 0 and 1 are running, task 2 has completed one cycle (and is no longer running), and task 3 is inactive and has an empty stack. Task 1 was started by the request "EXECUTE 1 ai.monitor.jobs" (note the "MAIN PROGRAM" field). The next step to execute is step 25 of program "ai.check.job", which was called either directly or indirectly by the main program "ai.monitor.jobs". The task has not completed any cycles, and is using a stack that is currently 2.5 kilobytes in size.
Related Keywords ABORT monitor command ABORT program instruction EXECUTE monitor command EXECUTE program instruction KILL monitor command KILL program instruction PROCEED monitor command RETRY monitor command STACK monitor command STATUS real-valued function eV+Operating System Reference Guide, 2.x,18321-000 Rev A Page 165