Determines if the system or job is shutting down.
Return Value
...
false is the system is not in the midst of shutting down.
Example
Code Block | ||
---|---|---|
| ||
while (!exit && !pjs.isShuttingDown()) { // continue processing until the user exits or the job / system is ended display.screen.execute(); // user's response can be processed here } |
RPG Equivalent
SHTDN, %SHTDN()