z/OS Infoprint Server Messages and Diagnosis
Previous topic | Next topic | Contents | Index | Contact z/OS | Library | PDF


Tracing Infoprint Server daemons

z/OS Infoprint Server Messages and Diagnosis
GA32-0927-00

Tracing Infoprint Server daemons

This section describes how to trace processing in Infoprint Server daemons.

Tip:
You cannot trace the aophinvd, aoplogd, and aopsdbd daemons individually. To trace these daemons, you must trace the Printer Inventory Manager daemon, aopd.

To start tracing one of the Infoprint Server daemons:

  1. Stop the Infoprint Server daemon that you want to trace using one of these methods:
    • Enter the MVS™ START command to run the AOPSTOP JCL procedure to stop the daemon:
      START AOPSTOP,OPTIONS='-d lpd'
    • Enter the z/OS® UNIX aopstop command to stop the daemon:
      aopstop -d lpd
    Warning:
    When you stop the IP PrintWay™ extended mode daemons, all printers that were stopped or redirected are reset. When IP PrintWay extended mode is restarted, those printers are no longer stopped or redirected.

    _______________________________________________________

  2. Specify the AOPTRACEON environment variable and then restart the daemon, using one of these methods:
    • Specify AOPTRACEON in the AOPSTART JCL procedure. Create an MVS data set, named for example TRACE.ENV, with these DCB attributes:
      • RECFM=VB
      • LRECL=255
      In the data set, specify the AOPTRACEON variable. Start in the first column, and do not code any blank characters in the string or at the end of the line:
      AOPTRACEON=1
      Specify the TRACE.ENV data set in the AOPSTART JCL procedure:
      ///STDENV DD DSN=TRACE.ENV,DISP=SHR
      Then, enter the MVS START command to run the AOPSTART JCL procedure:
      START AOPSTART
    • Set the AOPTRACEON environment variable on the z/OS UNIX command line before entering the aopstart command. Use the export command to set AOPTRACEON, or specify AOPTRACEON on the same command line as the aopstart command. When you specify AOPTRACEON on the same command line, the AOPTRACEON variable is set only for this instance of the aopstart command.
      export AOPTRACEON=1
      aopstart

      Tip: To set AOPTRACEON only for one command, set the variable on the same line as the command:

      AOPTRACEON=1 aopstart

      For information about how to edit the AOPSTART JCL procedure, see z/OS Infoprint Server Customization.

    Tip:
    You can add the other environment variables to scale the size of the trace, such as AOPTRACEON_DATA=1 or AOPTRACEON_FILTER=1.

    _______________________________________________________

To stop tracing one of the Infoprint Server daemons:

  1. Stop the daemon being traced using one of these methods:
    • Enter the MVS START command to run the AOPSTOP JCL procedure to stop the daemon:
      START AOPSTOP,OPTIONS='-d lpd'
    • Enter the z/OS UNIX aopstop command to stop the daemon:
      aopstop -d lpd
    Warning:
    When you stop IP PrintWay extended mode daemons, all printers that were stopped or redirected are reset. When IP PrintWay extended mode is restarted, those printers are no longer stopped or redirected.

    _______________________________________________________

  2. Unset the AOPTRACEON variable, and then restart the daemon. Use one of these methods:
    • If you use the AOPSTART JCL procedure to restart the daemon:
      1. Comment out the STDENV DD statement in the AOPSTART JCL procedure.
      2. Enter the MVS START command to run the AOPSTART JCL procedure:
        START AOPSTART
    • If you use the z/OS UNIX aopstart command to restart the daemon:
      1. Unset the AOPTRACEON variable. You need to unset AOPTRACEON only if it is set in the z/OS UNIX shell. The variable is set in the shell if you used the export command to set it.
        unset AOPTRACEON
      2. Restart the daemon:
        aopstart

    _______________________________________________________

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014