If you are using DBCTL to access DB2® databases via BMPs, you can use certain DBCTL operator commands to enter external subsystem commands (where DB2 is the external subsystem).
To display the status of all or specified external subsystems, use the /DISPLAY command with the SUBSYS keyword. (This is similar to using the /DISPLAY command with the CCTL keyword to display the status of CICS® systems connected to DBCTL.)
To display the status of origin application schedule numbers (OASNs), which are IMS™ recovery elements in a DB2 subsystem, use the /DISPLAY command with the OASN and SUBSYS keywords. If you then need to purge any incomplete UOWs in the external subsystem, use the /CHANGE command with the SUBSYS, OASN, and RESET keywords.
To enter an external subsystem command from the DBCTL console or a program authorized do so, use the /SSR command. For example:
/SSR -DISPLAY THREAD
displays information about DB2 threads. The command is processed in DB2 and the response is sent back to the terminal from which you issued the /SSR command.