IBM Support

Line Printer Daemon (LPD) Flight Recorder Trace Instructions

Troubleshooting


Problem

This document explains how to create an LPD flight recorder trace for developer analysis.

Resolving The Problem

To create an LPD flight recorder trace for developer analysis, do the following:

Note: The following steps and CL commands apply to V3R1 and later and may require that *ALLOBJ, *JOBCTL, and *SPLCTL be run.

Caution: Flight recorder *FILE objects grow without bound (no wrapping). Therefore, if you turn On flight recorders, it is your responsibility to turn them Off. Failure to do so consumes DASD space on the system until the system halts.
1.To add a library with TCPxxxx messages, on the operating system command line type the following:

ADDLIBLE LIB(QTCP)

Press the Enter key.
2.To stop all server jobs, on the operating system command line type the following:

ENDTCPSVR SERVER(*LPD)

Press the Enter key.
3.To turn off all debug flags, on the operating system command line type the following:

Note: The data area may not exist.

DLTDTAARA DTAARA(QUSRSYS/QTMPLPD)

Press the Enter key.
4.To turn on select debug flags, on the operating system command line type the following:

CALL PGM(QTCP/QTMPPTF) PARM(*RCF)

Press the Enter key. Then, type:

CALL PGM(QTCP/QTMPPTF) PARM(*FILE)

Press the Enter key.
5.Delete any existing QUSRSYS/QTMPLPD8MM *FILE object to remove previous traces.
6.To restart server jobs, on the operating system command line type the following:

STRTCPSVR SERVER(*LPD)

Press the Enter key.
7.Run the failing LPR command.
8.Wait for LPR and LPD to complete.
9.To stop all server jobs, on the operating system command line type the following:

ENDTCPSVR SERVER(*LPD)

Press the Enter key.
10.To turn off all debug flags, on the operating system command line type the following:

Note: Data area should exist.

DLTDTAARA DTAARA(QUSRSYS/QTMPLPD)

Press the Enter key.
11.Send IBM the QUSRSYS/QTMPLPD8MM *FILE object that was created. This includes sending all members in the file (do not try to make assumptions about which members are needed).
12.Delete the QUSRSYS/QTMPLPD8MM *FILE object to reclaim space.
13.To restart server jobs, on the operating system command line type the following:

STRTCPSVR SERVER(*LPD)

Press the Enter key.

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

18063219

Document Information

Modified date:
18 December 2019

UID

nas8N1017910