Determines if the system or job is shutting down.
Return Value
true if the system is in the midst of shutting down.
false is the system is not in the midst of shutting down.
Example
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()