RUNSTATE
From CometWiki
(Difference between revisions)
| Line 1: | Line 1: | ||
== RUNSTATE == | == RUNSTATE == | ||
| - | + | ||
System variable: RUNSTATE | System variable: RUNSTATE | ||
Length/precision: 1.0 | Length/precision: 1.0 | ||
| Line 36: | Line 36: | ||
|- | |- | ||
|} | |} | ||
| - | |||
Revision as of 05:24, 1 June 2009
RUNSTATE
System variable: RUNSTATE Length/precision: 1.0 Description:
The system variable named RUNSTATE contains a value indicating the status of the current partition.
RUNSTATE is a one-digit numeric variable.
RUNSTATE is maintained by Comet and used by the QMONITOR program.
The value of RUNSTATE is unique for each partition.
| RUNSTATE value | Description | _ | 0 | Following termination of the partition. If secured, the user's password will be requested. | _ | 1 | Normal running condition, either secured or unsecured. |
| 2 | At startup or just following QENDITOR. | ||||||
| 3 | Using security and the "program to be run" has a value for this user's password. | ||||||
| 4 | User is running a CGI application. | ||||||
| 5 | Following an error in a CGI application. | ||||||
| 6 | User is in a program which was ENTERed. (Added in Comet 2004) |