Issuing commands from IMS terminals
You can enter all Db2 commands except START DB2 from either an IMS terminal or program. The terminal or program must be authorized to enter the IMS /SSR command.
About this task
An IMS subsystem can attach to more than one Db2 subsystem, so you need to add a prefix. Commands that are directed from IMS to Db2 with a special character that identifies which subsystem to direct the command to. That character is called the command recognition character (CRC). It is specified it when you define Db2 to IMS, in the subsystem member entry in IMS.PROCLIB.
Most examples in this information assume that both the command prefix and the CRC are the hyphen (-) . However, if you can attach to more than one Db2 subsystem, you must issue your commands using the appropriate CRC. In the following example, the CRC is a question mark character:
Example
You enter the following command:
/SSR ?DISPLAY THREAD
Db2 returns the following messages:
DFS058 SSR COMMAND COMPLETED
DSNV401I ? DISPLAY THREAD REPORT FOLLOWS -
DSNV402I ? ACTIVE THREADS -
⋮