Note: All monitored files should be de-activated, the data queues should be empty, and then the SBS jobs should be temporarily shut down before saving the application library to a SAVF file.

  1. De-activate all monitored files. From the Main Menu, choose option 11, and enter “29” next to all of the files that are currently activated (they will be highlighted in white). If there are many files activated, you can submit the following command to de-activate all files:

    Note: Ensure Database Monitor is in your LIBL (ADDLIBLE DATATHREAD)
    CALL IDT465 PARM(‘0’ ‘*ALL’ ‘ ‘)

    Note: To ensure all files have been de-activated, choose 11 from the Database Monitor Main Menu and check to make sure all monitored files are presently colored yellow, indicating that they are not activated.

  2. After all the data queues are empty, shut down the subsystem. The subsystem monitor job IDT450 is the job that cleans out the data queues and moves the data to the database files and should be running. To check the data queues for data, submit the command:

     CALL DQVIEW SLAW (press ENTER twice to view)

    This will list the data queues and show if there is any data in them. Example:

    In this example the data queues are empty and it is now safe to stop all the monitor jobs and shut down the Database Monitor subsystem. Press F12 to exit DQVIEW.

    Note: If there is any data in any of the data queues please allow the IDT450 monitor job/s to run until the data queues are empty.

  3. Next, shut down the monitor jobs under the Database Monitor subsystem. There are two ways to do this:
    1. From option 17 within Database Monitor, submit the command ENDALL.
    2. With Database Monitor in the LIBL, from the command line, submit the following command:

      CALL END460 This will shut down the DT manager and the SBS jobs in the Database Monitor SBS

  4. To end the Database Monitor subsystem from the command line submit the following command:

    ENDSBS DATATHREAD *IMMED

  5. Create the following save file:

    CRTSAVF FILE(QGPL/DTSAVF) TEXT('Database Monitor Library Savefile')

  6. Save command to save the Database Monitor Library DATATHREAD:

    SAVLIB LIB(DATATHREAD) DEV(*SAVF) SAVF(QGPL/DTSAVF)


Still have questions? We can help. Submit a case to Technical Support.

Last Modified On: April 08, 2019