4.7.5.4 Stopping a Host
To stop a host, use the STOP HOST
command with the IMSID
parameter with a value matching the IMSID
specification on the HOST, TYPE=IMS
statement. Refer to the Defining the Local Gateway . Use the IMMED=YES
parameter to stop the host immediately without waiting for requests in progress to complete. Outstanding requests are sent an error message. (For a description of error messages, refer to the Error and Informational Messages) Use the IMMED=NO
to allow the host to complete processing outstanding requests and then shutdown. While waiting, the host does not accept any new requests. IMMED=NO
is the default. The example below stops the IMS3 host after transaction processing completes.
Listing 4‑17 STOP HOST
Command Example
STOP HOST, IMSID=IMS3
Parent topic: Changing IMS Host Configurations