ctmspdiag

The ctmspdiag utility is a tool to print or erase diagnostic messages recorded from stored procedures (SPs) in the Control-M/Server database. ctmspdiag can also set or show the diagnostic request status of SPs.

Running the ctmspdiag Utility

This procedure describes how to run the ctmspdiag utility, which enables you to print or erase diagnostic messages recorded from stored procedures (SPs) in the Control-M/Server database.

Begin

  1. Do one of the following:

    • UNIX: Log in to a Control-M/Server account

    • Windows: Open a command prompt window where Control-M/Server is installed.

  2. Type one of the following commands to invoke the ctmspdiag utility:

    • ctmspdiag -SET -SPNAME <storeProcedureName> -MODE <Y/N>

    • ctmspdiag -PRINT -SPNAME <storeProcedureName>

    • [-FROM_DATE<timeStamp>] [-TO_DATE <timeStamp>]

    • ctmspdiag -DEL -TO_DATE <timeStamp>[-SPNAME <storeProcedureName>]

    • ctmspdiag -SHOW [-SPNAME <storeProcedureName>]

    • ctmspdiag -TRUNCATE