TRCTCPAPP service program outputs

You can run a Virtual Terminal Manager (VTM) component trace with the user data field set to Telnet.

For the trace TCP/IP application (TRCTCPAPP) command, the listing of the VTM component trace shows up as a spooled file, called VTMTRACE with the user data field set to TELNET. The system places this file in the default output queue of the profile that runs the TRCTCPAPP *TELNET *OFF call. At the same time, all server job flight recorders are dumped to spooled files called QTOCTTRC with user data set to QTVnnnnnn.

Here is an example of what you see in your interactive job log when you perform a TRCTCPAPP *OFF call

  +-----------------------------------------------------------------------------------+
  |Command Entry                            SYSNAM03                                  |
  |Request level: 1                                                                   |
  |All previous commands and messages:                                                |
  |> trctcpapp *telnet *off                                                           |
  |Spooled printer file 1 opened for output.                                          |
  |Trace data for application TELNET formatted: Spooled VTMTRACE user data 'TELNET'   |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017231' |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017230' |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017229' |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017232' |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017233' |
  |Trace data for application TELNET formatted: Spooled QTOCTTRC user data 'TV017234' |
  |                             More...                                               |
  |Type command, press Enter.                                                         |
  |===> __________________________________________________________________________    |
  |F3=ExitF4=Prompt F9=Retrieve       F10=Exclude detailed messages                   |
  |F11=Display full  F12=Cancel  F13=Information Assistant F24=More keys              |
  |                                                                                   |
  +-----------------------------------------------------------------------------------+

Here is an example of what you see in your default output queue

  +-----------------------------------------------------------------------------------+
  |           Work with All Spooled Files                                             |
  |Type options, press Enter.                                                         |
  |1=Send 2=Change  3=Hold      4=Delete 5=Display      6=Release   7=Messages        |
  |8=Attributes           9=Work with printing status                                 |
  |                                                                                   |
  |                                         Device or               Total             |
  |Opt File         User        Queue       User Data         Sts   Pages       Page  |
  |     VTMTRACE    JEFF        JEFFSOUTQ   TELNET            HLD   46          1     |
  |     QTOCTTRC    JEFF        JEFFSOUTQ   TV017231          HLD   4           1     |
  |     QTOCTTRC    JEFF        JEFFSOUTQ   TV017231          HLD   2           1     |
  |     QTOCTTRC    JEFF        JEFFSOUTQ   TV017231          HLD   2           1     |
  |     QTOCTTRC    JEFF        JEFFSOUTQ   TV017231          HLD   2           1     |
  |     QTOCTTRC    JEFF        JEFFSOUTQ   TV017231          HLD   2           1     |
  |                                                                                   |
  |                                                                                   |
  |Parameters for options 1, 2, 3 or command                                          |
  |===> __________________________________________________________________________    |
  |F3=Exit    F10=View 4    F11=View 2    F12=Cancel    F22=Printers    F24=More keys |
  +-----------------------------------------------------------------------------------+

Only one file that is called VTMTRACE that is created. If SSL Telnet mode is operational on the server, you may have one or more QTOCTTRC files.

Here is an example of a QTOCTTRC file. This spooled file is a Telnet server job (QTVTELNET) as opposed to a QTVDEVICE job.

  +--------------------------------------------------------------------------------+
  |                               Display Spooled File                             |
  |File . . . . . :  TV017231                             Page/Line   1/6          |
  |Control . . . . .                                    Columns           1 - 78   |
  |Find . . . . . .                                                                |
  |*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...  |
  |5769TC1 V4R4M0 990521 TRCTCPAPP Output SysName Date-12/11/98 Time-14:08:32 Page-|
  |TRCTCPAPP Attributes                                                            |
  |     Application.................: Telnet Server                                |
  |     Buffer size (KB)............: 0                                            |
  |           (Default of 0 means 16MB buffer)                                     |
  |     Trace full action...........: *WRAP                                        |
  |     Job id......................: 017231/QTCP /QTVTELNET                       |
  |     Start date/time.............: Fri Dec 11 13:50:33 1998                     |
  |     End date/time...............: Fri Dec 11 14:08:34 1998                     |
  |     Trace buffer wrapped........: No                                           |
  |Telnet Server Attributes                                                        |
  |     AutoStart server............: 'Y'                                          |
  |     Number servers..............: 2                                            |
  |     Session keep alive timeout..: 0                                            |
  |     Default NVT type............: >*VT100<                                     |
  |     Outgoing EBCDIC/ASCII table.: >*CCSID <                                    |
  |     Incoming ASCII/EBCDIC table.: >*CCSID <                                    |
  |     Coded character set id......: 84542                                        |
  |     Attributes version id.......: >V4R4M0 <                                    |
  |Trace_common buffer structure:                                                  |
  |     80000000 00000000 161A8753 14001074 |..........g.....| Byte 16             |
  |     80000000 00000000 161A8753 14FFFFE4 |..........g....U| Byte 48             |
  |     80000000 00000000 161A8753 14005820 |..........g.....| Byte 80             |
  |     00FFF000 00000084 F0F1F7F2 F3F1D8E3 |..0....d017231QT| Byte 112            |
  |     C3D74040 40404040 D8E3E5E3 C5D3D5C5 |CP QTVTELNE| Byte 144                 |
  |     E340C699 8940C485 8340F1F1 40F1F37A |T Fri Dec 11 13:| Byte 176            |
  |     F5F07AF3 F340F1F9 F9F8D8E3 E5F0F1F7 |50:33 1998QTV017| Byte 208            |
  |     F2F3F140 |231 | Byte 228                                                   |
  |Flight Records:                                                                 |
  |qtvtelnet: Job: QTVTELNET/QTCP/017231                                           |
  |(C) Copyright IBM Corporation, 1999                                             |
  |Licensed Material - Program Property of IBM.                                    |
  |Refer to Copyright Instructions Form No. G120-2083                              |
  |ProdId: 5769-SS1 Rel: V4R4M0 Vers: V4R4M0 PTR: P3684767                         |
  |qtvtelnet: Program QTVTELNET dated 04 December 1998 running                     |
  |qtvtelnet: Source file: qtvtelnet.plC                                           |
  |qtvtelnet: Last modified: Wed Dec 9 11:57:40 1998                               |
  |qtvtelnet: Last compiled at 12:00:10 on Dec 9 1998                              |
  |qtvtelnet: Arguments passed: 1                                                  |
  |qtvtelnet: Time Started: Fri Dec 11 13:50:34 1998                               |
  |qtvtelnet: sigaction() for SIGUSR1 is EndClientSession()                        |
  |qtvtelnet: Set Telnet Server job identity for OpNav                             |
  |qtvtelnet: Need to setup SSL_Init_Application()                                 |
  |qtvtelnet: SSL_Init_Application() successful                                    |
  |qtvtelnet: Find Telnet Server control block                                     |
  |qtvtelnet: Lock Telnet Server control block                                     |
  |qtvtelnet: Open driver to stream                                                |
  |qtvtelnet: First Telnet Server Job...                                           |
  |                                                                                |
  |F3=Exit    F12=Cancel  F19=Left F20=Right      F24=More keys                    |
  +--------------------------------------------------------------------------------+

Here is an example of another QTOCTTRC file. This is a device manager spooled file, as opposed to the QTVTELNET server job:

  +--------------------------------------------------------------------------------+
  |                               Display Spooled File                             |
  |File . . . . . :       TV017230                         Page/Line   1/6         |
  |Control . . . . .                                    Columns           1 - 78   |
  |Find . . . . . .                                                                |
  |*...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+...  |
  |TRCTCPAPP Attributes                                                            |
  |     Application.................: Telnet Server                                |
  |     Buffer size (KB)............: 0                                            |
  |           (Default of 0 means 16MB buffer)                                     |
  |     Trace full action...........: *WRAP                                        |
  |     Job id......................: 017230/QTCP /QTVDEVICE                       |
  |     Start date/time.............: Fri Dec 11 13:50:33 1998                     |
  |     End date/time...............: Fri Dec 11 14:08:39 1998                     |
  |     Trace buffer wrapped........: No                                           |
  |Telnet Server Attributes                                                        |
  |     AutoStart server............: Y                                            |
  |     Number servers..............: 2                                            |
  |     Session keep alive timeout..: 0                                            |
  |     Default NVT type............: >*VT100<                                     |
  |     Outgoing EBCDIC/ASCII table.: >*CCSID <                                    |
  |5769TC1 V4R4M0 990521 TRCTCPAPP Output SysName Date-12/11/98 Time-14:08:32 Page-|
  |*...+....1....+....2....+....3....+....4....+....5....+....6....+....7...       |
  |     Incoming ASCII/EBCDIC table.: >*CCSID <                                    |
  |     Coded character set id......: 84542                                        |
  |     Attributes version id.......: >V4R4M0 <                                    |
  |Trace_common buffer structure:                                                  |
  |     80000000 00000000 3DA86C25 5F001074 |.........y...| Byte 16                |
  |     80000000 00000000 3DA86C25 5FFFFFE4 |.........y..U| Byte 48                |
  |     80000000 00000000 3DA86C25 5F002F64 |.........y...| Byte 80                |
  |     00FFF000 00000084 F0F1F7F2 F3F0D8E3 |..0....d017230QT| Byte 112            |
  |     C3D74040 40404040 D8E3E5C4 C5E5C9C3 |CP QTVDEVIC| Byte 144                 |
  |     C540C699 8940C485 8340F1F1 40F1F37A |E Fri Dec 11 13:| Byte 176            |
  |     F5F07AF3 F340F1F9 F9F8D8E3 E5F0F1F7 |50:33 1998QTV017| Byte 208            |
  |     F2F3F040 |230 | Byte 228                                                   |
  |Flight Records:                                                                 |
  |qtvtncsh: >>>>> entry                                                           |
  |(C) Copyright IBM Corporation, 1999.                                            |
  |Licensed Material - Program Property of IBM.                                    |
  |Refer to Copyright Instructions Form No. G120-2083                              |
  |ProdId: 5769-SS1 Release: V4R4M0 Version: V4R4M0 PTR: P3684767                  |
  |qtvtncsh: Program QTVTNCSH dated 04 December 1998 running                       |
  |qtvtncsh: iActiveLogLevel: 0                                                    |
  |qtvtncsh: Source file: qtvtncsh.c                                               |
  |qtvtncsh: Last modified: Wed Dec 9 11:48:33 1998                                |
  |qtvtncsh: Last compiled at 11:59:42 on Dec 9 1998                               |
  |qtvtncsh: SignalHandler() registered with signal()                              |
  |qtvtncsh: Arguments passed: 4                                                   |
  |qtvtncsh: argc: 4                                                               |
  |qtvtncsh: argv[0]: >QSYS/QTVTNCSH<                                              |
  |qtvtncsh: argv[1]: ><                                                           |
  |qtvtncsh: argv[2]: >1p<                                                         |
  |qtvtncsh: argv[3]: >s<                                                          |
  |SignalHandler: >>>>> entry                                                      |
  |SignalHandler: Caught signal SIGSEGV                                            |
  |                                                                                |
  |F3=Exit    F12=Cancel  F19=Left     F20=Right   F24=More keys                   |
  +--------------------------------------------------------------------------------+
Related concepts
Materials needed to report Telnet problems