Stopping Db2

Before Db2 stops, all Db2-related write to operator with reply (WTOR) messages must receive replies.

About this task

Procedure

Begin general-use programming interface information.To stop a Db2 subsystem:

Issue one of the following STOP DB2 commands:
  • -STOP DB2 MODE(QUIESCE)
  • -STOP DB2 MODE(FORCE)

The following messages are returned:

DSNY002I - SUBSYSTEM STOPPING
DSN9022I - DSNYASCP '-STOP DB2' NORMAL COMPLETION
DSN3104I - DSN3EC00 - TERMINATION COMPLETE

If the STOP DB2 command is not issued from a z/OS console, messages DSNY002I and DSN9022I are not sent to the IMS or CICS® master terminal operator (MTO). They are routed only to the z/OS console that issued the START DB2 command.

What to do next

Before restarting Db2, the following message must also be returned to the z/OS console that is authorized to enter the START DB2 command:
DSN3100I - DSN3EC00 - SUBSYSTEM ssnm READY FOR -START COMMAND
End general-use programming interface information.