CA ADS Batch enables the console operator to instruct the runtime system to terminate an application.
If operator shutdown is enabled at runtime, the runtime system begins by issuing a WTOR (write-to-operator with reply) macro. At any time during application execution, the operator can issue a SHUTDOWN command, described below, that causes the runtime system to terminate the application with an optional dump. If shutdown is disabled, the operator can terminate the application only by canceling the job.
The system default for operator shutdown is determined using the ADSOBSYS utility; the ADSOBSYS default is DISABLED. Control statements specified at runtime can override the system default. For more information about enabling operator shutdown, see ADSOBSYS, and Control Statements.
If operator shutdown is enabled, the operator can issue a SHUTDOWN command to terminate the application. Syntax for the SHUTDOWN command is shown below:
►►──────┬─ Shutdown ─┬────────┬─┬─────────────────────────────────────────────►◄ │ └─ Dump ─┘ │ └─ SD ──────────────────┘
Specifies that the runtime system is to terminate the application.
Specifies that a system dump of the application is to be produced.
Is equivalent to SHUTDOWN DUMP.
Note: Under BS2000/OSD, the SHUTDOWN command must be entered by means of the BS2000/OSD /INFORM-PROGRAM command. For example, if the application runs as an interactive task, enter:
/INFORM-PROGRAM MSG='SHUTDOWN DUMP'
|
Copyright © 2013 CA.
All rights reserved.
|
|