1621 lines
67 KiB
HTML
1621 lines
67 KiB
HTML
|
|
<!doctype html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html>
|
|
<head><META http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<title>Trace TCP/IP Application (TRCTCPAPP)</title>
|
|
<link rel="stylesheet" type="text/css" href="../rzahg/ic.css">
|
|
</head>
|
|
<body bgcolor="white">
|
|
<script language="Javascript" src="../rzahg/synch.js" type="text/javascript"></script>
|
|
<a name="TRCTCPAPP.Top_Of_Page"></a>
|
|
<h2>Trace TCP/IP Application (TRCTCPAPP)</h2>
|
|
<table width="100%">
|
|
<tr>
|
|
<td valign="top" align="left"><b>Where allowed to run: </b>All environments (*ALL)<br>
|
|
<b>Threadsafe: </b>No
|
|
</td>
|
|
<td valign="top" align="right">
|
|
<a href="#TRCTCPAPP.PARAMETERS.TABLE">Parameters</a><br>
|
|
<a href="#TRCTCPAPP.COMMAND.EXAMPLES">Examples</a><br>
|
|
<a href="#TRCTCPAPP.ERROR.MESSAGES">Error messages</a></td>
|
|
</tr>
|
|
</table>
|
|
|
|
<div> <a name="TRCTCPAPP"></a>
|
|
<p>The Trace TCP/IP Application (TRCTCPAPP) command is used by service personnel when trace information needs to be captured for one of the following TCP/IP applications: File Transfer Protocol (FTP), SMTP server, SMTP client, TELNET/VTAPI, host servers, Distributed Data Management (DDM), Virtual Private Network (VPN), Layer Two Tunneling Protocol (L2TP), certificate services, Point-to-Point Protocol (PPP), Quality Of Service (QOS), simple Network Time Protocol (NTP), directory services, HTTP server powered by Apache or packet rules.
|
|
</p>
|
|
<p><b>Restrictions:</b> To use this command, you must have either *SERVICE special authority or be authorized to the Service Trace function of i5/OS through iSeries Navigator's Application Administration support. For a given application, there could be only one trace active at a time on the system. The user must have *USE authority to the line, network interface, or network server to be traced.
|
|
</p>
|
|
<p>When the <b> Additional traces (ADLTRC) </b> parameter is specified, you must have all object (*ALLOBJ) special authority or be authorized to the Trace Any User function of i5/OS through iSeries Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_ALLOBJ_TRACE_ANY_USER, can also be used to change the list of users that are allowed to perform trace operations.
|
|
</p>
|
|
<p>When the <b>Watched job (WCHJOB)</b> parameter is specified, the issuer of the command must be running under a user profile which is the same as the job user identity of the job being watched, or the issuer of the command must be running under a user profile which has job control (*JOBCTL) special authority. Job control (*JOBCTL) special authority is also required if a generic user name is specified for the <b>Watched job (WCHJOB)</b> parameter.
|
|
</p>
|
|
<p>If you specify a generic user name in the <b>Watched job (WCHJOB)</b> parameter, you must have all object (*ALLOBJ) special authority, or be authorized to the Watch any job function of Operating System through iSeries Navigator's Application Administration support. The Change Function Usage (CHGFCNUSG) command, with a function ID of QIBM_WATCH_ANY_JOB, can also be used to change the list of users that are allowed to start and end watch operations.
|
|
</p>
|
|
<p>You must have operational (*OBJOPR) and execute (*EXECUTE) authorities to the user exit program if specified in <b>Trace program (TRCPGM)</b> parameter, and execute (*EXECUTE) authority to the library where the program is located.
|
|
</p>
|
|
<p>You must have use (*USE) authority to the message queues specified in <b>Watched message queue (WCHMSGQ)</b> parameter, and use (*USE) authority to the library where the message queue is located.
|
|
</p>
|
|
<p>A trace cannot be defined to trace all job names and all users.
|
|
</p>
|
|
<p><b>Note:</b> Whenever the term <b>host server</b> is seen within this help text, it refers to one of the application host servers: *CENTRAL, *DTAQ, *RMTCMD, *SIGNON, *NETPRT, *SVRMAP or *DATABASE.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
|
|
<div>
|
|
<h3><a name="TRCTCPAPP.PARAMETERS.TABLE">Parameters</a></h3>
|
|
<table border="1" cellpadding="4" cellspacing="0">
|
|
<!-- col1="10" col2="15" col3="30" col4="10" -->
|
|
<tr>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Keyword</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Description</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Choices</th>
|
|
<th bgcolor="aqua" valign="bottom" align="left">Notes</th>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.APP"><b>APP</b></a></td>
|
|
<td valign="top">TCP/IP application</td>
|
|
<td valign="top">*FTP, *SMTPSVR, *SMTPCLT, *TELNET, *VTAPI, *CENTRAL, *DTAQ, *RMTCMD, *SIGNON, *NETPRT, *SVRMAP, *DDM, *VPN, *CERTSRV, *L2TP, *PPP, *QOS, *NTP, *HTTP, *DIRSRV, *DATABASE, *PKTRULES, *POP, *MSF</td>
|
|
<td valign="top">Required, Positional 1</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.SET"><b>SET</b></a></td>
|
|
<td valign="top">Trace option setting</td>
|
|
<td valign="top"><b><u>*ON</u></b>, *OFF, *END, *CHK</td>
|
|
<td valign="top">Optional, Positional 2</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.MAXSTG"><b>MAXSTG</b></a></td>
|
|
<td valign="top">Maximum storage for trace</td>
|
|
<td valign="top">1-16000, <b><u>*APP</u></b></td>
|
|
<td valign="top">Optional, Positional 3</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TRCFULL"><b>TRCFULL</b></a></td>
|
|
<td valign="top">Trace full action</td>
|
|
<td valign="top"><b><u>*WRAP</u></b>, *STOPTRC</td>
|
|
<td valign="top">Optional, Positional 4</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.ADLTRC"><b>ADLTRC</b></a></td>
|
|
<td valign="top">Additional traces</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 11 repetitions): *CMNARB, *CMNTRC, *DEVD, *DEVMGR, *JOB, *SOCKETS, *SRCSINK, *SYSARB, *TCPIP, *USER, *USERDEVD</td>
|
|
<td valign="top">Optional, Positional 5</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="3"><a href="#TRCTCPAPP.TRCPGM"><b>TRCPGM</b></a></td>
|
|
<td valign="top">Trace program</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values: <i>Qualified object name</i></td>
|
|
<td valign="top" rowspan="3">Optional, Positional 6</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Qualifier 1: Trace program</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b>, *CURLIB</td>
|
|
</tr><tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TITLE"><b>TITLE</b></a></td>
|
|
<td valign="top">Trace title</td>
|
|
<td valign="top"><i>Character value</i>, <b><u>*DFT</u></b></td>
|
|
<td valign="top">Optional, Positional 7</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.USER"><b>USER</b></a></td>
|
|
<td valign="top">User profile</td>
|
|
<td valign="top"><i>Simple name</i></td>
|
|
<td valign="top">Optional, Positional 8</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.MAILADR"><b>MAILADR</b></a></td>
|
|
<td valign="top">Recipient mail address</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 9</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.HOST"><b>HOST</b></a></td>
|
|
<td valign="top">Recipient host name</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 10</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="5"><a href="#TRCTCPAPP.RMTNETADR"><b>RMTNETADR</b></a></td>
|
|
<td valign="top">Remote network address</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="5">Optional, Positional 11</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Address family</td>
|
|
<td valign="top">
|
|
<b><u>*INET</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: IP address</td>
|
|
<td valign="top">
|
|
<i>Character value</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 3: Subnet mask</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>'255.255.255.255'</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 4: Port number</td>
|
|
<td valign="top">
|
|
1-65535, <b><u>*ANY</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="5"><a href="#TRCTCPAPP.LCLNETADR"><b>LCLNETADR</b></a></td>
|
|
<td valign="top">Local network address</td>
|
|
<td valign="top"><i>Element list</i></td>
|
|
<td valign="top" rowspan="5">Optional, Positional 12</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Address family</td>
|
|
<td valign="top">
|
|
<b><u>*INET</u></b>, *UNIX</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: IP address or UNIX path</td>
|
|
<td valign="top">
|
|
<i>Character value</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 3: Subnet mask</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>'255.255.255.255'</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 4: Port number</td>
|
|
<td valign="top">
|
|
1-65535, <b><u>*ANY</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.DEVD"><b>DEVD</b></a></td>
|
|
<td valign="top">Device description</td>
|
|
<td valign="top"><i>Generic name, name</i></td>
|
|
<td valign="top">Optional, Positional 13</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.DEVTYPE"><b>DEVTYPE</b></a></td>
|
|
<td valign="top">Device type</td>
|
|
<td valign="top">Single values: *DSP, *PRT<br>Other values (up to 6 repetitions): 5251, 5291, 5292, 3196, 3488, 3487, 3179, 3180, 5555, 3477, 3277, 3278, 3279, V100, 3812, 5553</td>
|
|
<td valign="top">Optional, Positional 14</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TRCPNT"><b>TRCPNT</b></a></td>
|
|
<td valign="top">Trace point</td>
|
|
<td valign="top">Values (up to 12 repetitions): <i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 15</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.ARGLIST"><b>ARGLIST</b></a></td>
|
|
<td valign="top">Argument list</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 16</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.VPNSVR"><b>VPNSVR</b></a></td>
|
|
<td valign="top">Virtual private network server</td>
|
|
<td valign="top">Values (up to 2 repetitions): *KEYMGR, *CNNMGR</td>
|
|
<td valign="top">Optional, Positional 17</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.CERTTYPE"><b>CERTTYPE</b></a></td>
|
|
<td valign="top">Certificate services type</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *DCM, *KEYMGR, *SSL, *OBJSIGN, *OTHER</td>
|
|
<td valign="top">Optional, Positional 18</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.DNS"><b>DNS</b></a></td>
|
|
<td valign="top">Domain name service</td>
|
|
<td valign="top"><b><u>*NO</u></b>, *YES</td>
|
|
<td valign="top">Optional, Positional 19</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.PPPCNNPRF"><b>PPPCNNPRF</b></a></td>
|
|
<td valign="top">PPP connection profile</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 20</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TCPTRCDTA"><b>TCPTRCDTA</b></a></td>
|
|
<td valign="top">TCP/IP data to trace</td>
|
|
<td valign="top"><b><u>*PPPALL</u></b>, *LCPNCP</td>
|
|
<td valign="top">Optional, Positional 21</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.QOSTRCTYPE"><b>QOSTRCTYPE</b></a></td>
|
|
<td valign="top">QOS trace type</td>
|
|
<td valign="top"><b><u>*ALL</u></b>, *POLICYD, *RSVPD</td>
|
|
<td valign="top">Optional, Positional 22</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.HTTPSVR"><b>HTTPSVR</b></a></td>
|
|
<td valign="top">HTTP server instance</td>
|
|
<td valign="top"><i>Character value</i></td>
|
|
<td valign="top">Optional, Positional 23</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TRCLVL"><b>TRCLVL</b></a></td>
|
|
<td valign="top">Trace level</td>
|
|
<td valign="top"><b><u>*ERROR</u></b>, *INFO, *VERBOSE</td>
|
|
<td valign="top">Optional, Positional 24</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.PKTTRCPNT"><b>PKTTRCPNT</b></a></td>
|
|
<td valign="top">Packet rules trace points</td>
|
|
<td valign="top"><b><u>*TRAFFIC</u></b>, *LOAD</td>
|
|
<td valign="top">Optional, Positional 25</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.CFGOBJ"><b>CFGOBJ</b></a></td>
|
|
<td valign="top">Configuration object</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
<td valign="top">Optional, Positional 26</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.CFGTYPE"><b>CFGTYPE</b></a></td>
|
|
<td valign="top">Type</td>
|
|
<td valign="top">*LIN, *NWI, *NWS</td>
|
|
<td valign="top">Optional, Positional 27</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="4"><a href="#TRCTCPAPP.WCHMSG"><b>WCHMSG</b></a></td>
|
|
<td valign="top">Watch for message</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 5 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="4">Optional, Positional 28</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Message identifier</td>
|
|
<td valign="top">
|
|
<i>Name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Comparison data</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*NONE</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 3: Compare against</td>
|
|
<td valign="top">
|
|
<b><u>*MSGDTA</u></b>, *FROMPGM, *TOPGM</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="4"><a href="#TRCTCPAPP.WCHMSGQ"><b>WCHMSGQ</b></a></td>
|
|
<td valign="top">Watched message queue</td>
|
|
<td valign="top">Values (up to 3 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="4">Optional, Positional 29</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Message queue</td>
|
|
<td valign="top">
|
|
Single values: <b><u>*SYSOPR</u></b>, *JOBLOG, *HSTLOG<br>Other values: <i>Qualified object name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Message queue</td>
|
|
<td valign="top"><i>Name</i></td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 2: Library</td>
|
|
<td valign="top"><i>Name</i>, <b><u>*LIBL</u></b></td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="5"><a href="#TRCTCPAPP.WCHJOB"><b>WCHJOB</b></a></td>
|
|
<td valign="top">Watched job</td>
|
|
<td valign="top">Single values: <b><u>*</u></b><br>Other values (up to 5 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="5">Optional, Positional 30</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Job name</td>
|
|
<td valign="top">
|
|
<i>Qualified job name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Job name</td>
|
|
<td valign="top"><i>Generic name, name</i></td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 2: User</td>
|
|
<td valign="top"><i>Generic name, name</i></td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 3: Number</td>
|
|
<td valign="top">000001-999999, <b><u>*ALL</u></b></td>
|
|
</tr><tr>
|
|
<td valign="top" rowspan="4"><a href="#TRCTCPAPP.WCHLICLOG"><b>WCHLICLOG</b></a></td>
|
|
<td valign="top">Watch for LIC log entry</td>
|
|
<td valign="top">Single values: <b><u>*NONE</u></b><br>Other values (up to 5 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="4">Optional, Positional 31</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Major code</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, *ALL</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 2: Minor code</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, *ALL</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 3: Comparison data</td>
|
|
<td valign="top">
|
|
<i>Character value</i>, <b><u>*NONE</u></b></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.WCHTIMO"><b>WCHTIMO</b></a></td>
|
|
<td valign="top">Length of time to watch</td>
|
|
<td valign="top">1-43200, <b><u>*NOMAX</u></b></td>
|
|
<td valign="top">Optional, Positional 32</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top"><a href="#TRCTCPAPP.TRCPGMITV"><b>TRCPGMITV</b></a></td>
|
|
<td valign="top">Time interval</td>
|
|
<td valign="top">1-9999, <b><u>*NONE</u></b></td>
|
|
<td valign="top">Optional, Positional 33</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" rowspan="5"><a href="#TRCTCPAPP.JOB"><b>JOB</b></a></td>
|
|
<td valign="top">Jobs</td>
|
|
<td valign="top">Single values: <b><u>*</u></b><br>Other values (up to 16 repetitions): <i>Element list</i></td>
|
|
<td valign="top" rowspan="5">Optional, Positional 34</td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top">Element 1: Job name</td>
|
|
<td valign="top">
|
|
<i>Qualified job name</i></td>
|
|
</tr>
|
|
<tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 1: Job name</td>
|
|
<td valign="top"><i>Generic name, name</i>, *ALL</td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 2: User</td>
|
|
<td valign="top"><i>Generic name, name</i>, *ALL</td>
|
|
</tr><tr>
|
|
<td valign="top" style="padding-left:10pt">Qualifier 3: Number</td>
|
|
<td valign="top">000001-999999, <b><u>*ALL</u></b></td>
|
|
</tr></table>
|
|
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</div>
|
|
<div> <a name="TRCTCPAPP.APP"></a>
|
|
<h3>TCP/IP application (APP)</h3>
|
|
<p>Specifies the TCP/IP application. This is a required parameter.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*CENTRAL</b></dt>
|
|
<dd>Specifies tracing for the central host server.
|
|
</dd>
|
|
<dt><b>*CERTSRV</b></dt>
|
|
<dd>Specifies tracing for certificate services.
|
|
</dd>
|
|
<dt><b>*DATABASE</b></dt>
|
|
<dd>Specifies tracing for the database host server.
|
|
</dd>
|
|
<dt><b>*DDM</b></dt>
|
|
<dd>Specifies tracing for the Distributed Data Management (DDM) server.
|
|
</dd>
|
|
<dt><b>*DIRSRV</b></dt>
|
|
<dd>Specifies tracing for directory services.
|
|
</dd>
|
|
<dt><b>*DTAQ</b></dt>
|
|
<dd>Specifies tracing for the data queue host server.
|
|
</dd>
|
|
<dt><b>*FTP</b></dt>
|
|
<dd>Specifies tracing for the File Transfer Protocol (FTP) server.
|
|
</dd>
|
|
<dt><b>*HTTP</b></dt>
|
|
<dd>Specifies tracing for the HTTP server powered by Apache.
|
|
</dd>
|
|
<dt><b>*L2TP</b></dt>
|
|
<dd>Specifies tracing for Layer Two Tunneling Protocol (L2TP).
|
|
</dd>
|
|
<dt><b>*MSF</b></dt>
|
|
<dd>Specifies tracing for the Simple Mail Transport Protocol (SMTP) Mail Server Framework (MSF) exit programs.
|
|
</dd>
|
|
<dt><b>*NETPRT</b></dt>
|
|
<dd>Specifies tracing for the network print host server.
|
|
</dd>
|
|
<dt><b>*NTP</b></dt>
|
|
<dd>Specifies tracing for the Simple Network Time Protocol (SNTP) client.
|
|
</dd>
|
|
<dt><b>*PKTRULES</b></dt>
|
|
<dd>Specifies tracing for packet rules (PKTRULES).
|
|
</dd>
|
|
<dt><b>*POP</b></dt>
|
|
<dd>Specifies tracing for the Post Office Protocol (POP) server.
|
|
</dd>
|
|
<dt><b>*PPP</b></dt>
|
|
<dd>Specifies tracing for the Point-to-point protocol (PPP).
|
|
</dd>
|
|
<dt><b>*QOS</b></dt>
|
|
<dd>Specifies tracing for the Quality Of Service (QOS) server.
|
|
</dd>
|
|
<dt><b>*RMTCMD</b></dt>
|
|
<dd>Specifies tracing for the remote command host server.
|
|
</dd>
|
|
<dt><b>*SIGNON</b></dt>
|
|
<dd>Specifies tracing for the signon host server.
|
|
</dd>
|
|
<dt><b>*SMTPCLT</b></dt>
|
|
<dd>Specifies tracing for the SMTP client job(s) handling outbound mail processing connections.
|
|
</dd>
|
|
<dt><b>*SMTPSVR</b></dt>
|
|
<dd>Specifies tracing for the Simple Mail Transfer Protocol (SMTP) server job(s) handling inbound mail processing connections.
|
|
</dd>
|
|
<dt><b>*SVRMAP</b></dt>
|
|
<dd>Specifies tracing for the port mapper host server.
|
|
</dd>
|
|
<dt><b>*TELNET</b></dt>
|
|
<dd>Specifies tracing for the TELNET server.
|
|
</dd>
|
|
<dt><b>*VPN</b></dt>
|
|
<dd>Specifies tracing for the Virtual Private Network (VPN) server.
|
|
</dd>
|
|
<dt><b>*VTAPI</b></dt>
|
|
<dd>Specifies tracing for the virtual terminal application programming interfaces.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.SET"></a>
|
|
<h3>Trace option setting (SET)</h3>
|
|
<p>Specifies whether the collection of trace information starts, stops, or status is presented.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ON</u></b></dt>
|
|
<dd>The collection of trace information is started.
|
|
</dd>
|
|
<dt><b>*OFF</b></dt>
|
|
<dd>The collection of trace information is stopped and the trace information is written to spooled printer files of the user. For PPP traces, the trace files are also included in the OUTQ for the designated PPP profile.
|
|
</dd>
|
|
<dt><b>*END</b></dt>
|
|
<dd>Tracing is ended and all trace information is deleted. No trace information output is created.
|
|
</dd>
|
|
<dt><b>*CHK</b></dt>
|
|
<dd>The status of tracing for the specified application is checked. Messages are returned indicating whether or not tracing is active for the specified TCP/IP application, the command parameters specified from the last time that TRCTCPAPP was started for this application and other information related to the collection of trace information.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.MAXSTG"></a>
|
|
<h3>Maximum storage for trace (MAXSTG)</h3>
|
|
<p>Specifies the maximum amount of storage in kilobytes (K) used for collected trace information.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*APP</u></b></dt>
|
|
<dd>Each application type defines a default buffer size.
|
|
<ul>
|
|
<li>*FTP - 4096K bytes per job
|
|
</li>
|
|
<li>*SMTPCLT - 4096K bytes per job
|
|
</li>
|
|
<li>*SMTPSVR - 4096K bytes per job
|
|
</li>
|
|
<li>*TELNET - 16000K bytes per job
|
|
</li>
|
|
<li>*VTAPI - 16000K bytes per job
|
|
</li>
|
|
<li>*CENTRAL - 16000K bytes per job
|
|
</li>
|
|
<li>*RMTCMD - 16000K bytes per job
|
|
</li>
|
|
<li>*SIGNON - 16000K bytes per job
|
|
</li>
|
|
<li>*DTAQ - 16000K bytes per job
|
|
</li>
|
|
<li>*NETPRT - 16000K bytes per job
|
|
</li>
|
|
<li>*SVRMAP - 16000K bytes per job
|
|
</li>
|
|
<li>*DATABASE - 16000K bytes per job
|
|
</li>
|
|
<li>*DDM - 16000K bytes per job
|
|
</li>
|
|
<li>*VPN - 16000K bytes per job
|
|
</li>
|
|
<li>*PKTRULES - 16000K bytes per job
|
|
</li>
|
|
<li>*L2TP - 4096K bytes per job
|
|
</li>
|
|
<li>*CERTSRV - 16000K bytes per job
|
|
</li>
|
|
<li>*PPP - 4096K bytes per job
|
|
</li>
|
|
<li>*QOS - 4096K bytes per job
|
|
</li>
|
|
<li>*NTP - 4096K bytes per job
|
|
</li>
|
|
<li>*HTTP - 16000K bytes per job
|
|
</li>
|
|
<li>*DIRSRV - 300K bytes per job
|
|
</li>
|
|
</ul>
|
|
</dd>
|
|
<dt><b><i>1-16000</i></b></dt>
|
|
<dd>Specify the maximum amount of storage, in kilobytes, used to store trace records (one kilobyte 1024 bytes).
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TRCFULL"></a>
|
|
<h3>Trace full action (TRCFULL)</h3>
|
|
<p>Specifies whether the trace records wrap (replace oldest records with new records) or whether the trace stops when all of the storage specified by the MAXSTG parameter has been used.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*WRAP</u></b></dt>
|
|
<dd>When the trace buffer is full, the trace wraps to the beginning. The oldest trace records are written over by new ones as they are collected.
|
|
</dd>
|
|
<dt><b>*STOPTRC</b></dt>
|
|
<dd>Tracing stops when the trace buffer is full of trace records.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.ADLTRC"></a>
|
|
<h3>Additional traces (ADLTRC)</h3>
|
|
<p>Specifies additional trace(s) to be started. When the TRCTCPAPP command is invoked interactively, the user will be prompted for any options to change on each of the selected traces. This parameter is valid for all applications.
|
|
</p>
|
|
<p>
|
|
<b>Note: </b>Specifying *CMNARB, *DEVD, *DEVMGR, *JOB, *SYSARB, *USER or *USERDEVD is only valid when tracing the *TELNET application.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No additional trace will be included.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Other values (up to 11 repetitions)</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*CMNARB</b></dt>
|
|
<dd>A job-level trace of all communication arbiter jobs will be started. For more information about communication arbiters, use the Search function in the iSeries Information Center at http://www.eserver.iseries.com/infocenter.
|
|
</dd>
|
|
<dt><b>*CMNTRC</b></dt>
|
|
<dd>A communications trace will be included in the trace information for the specified application.
|
|
<p>
|
|
<b>Note: </b>Due to resource limitations of the I/O hardware, multi-connection PPP profiles may not produce trace data for every connection started by the PPP profile.
|
|
</p>
|
|
</dd>
|
|
<dt><b>*DEVD</b></dt>
|
|
<dd>All jobs associated with the device specified for the Device description (DEVD) parameter will be traced.
|
|
</dd>
|
|
<dt><b>*DEVMGR</b></dt>
|
|
<dd>All information related with Telnet device management functions will be traced.
|
|
</dd>
|
|
<dt><b>*JOB</b></dt>
|
|
<dd>All jobs specified in job parameter (JOB) will be traced.
|
|
</dd>
|
|
<dt><b>*SOCKETS</b></dt>
|
|
<dd>A single Sockets component trace will be included in the trace information for the specified application.
|
|
</dd>
|
|
<dt><b>*SRCSINK</b></dt>
|
|
<dd>A source/sink component trace will be included in the trace information for the specified application.
|
|
</dd>
|
|
<dt><b>*SYSARB</b></dt>
|
|
<dd>A job-level trace of all system arbiter jobs will be started. For more information about system arbiters, use the Search function in the iSeries Information Center at http://www.eserver.iseries.com/infocenter.
|
|
</dd>
|
|
<dt><b>*TCPIP</b></dt>
|
|
<dd>A single TCP/IP component trace will be included in the trace information for the specified application.
|
|
</dd>
|
|
<dt><b>*USER</b></dt>
|
|
<dd>All information related with the user profile parameter (USER) will be traced.
|
|
</dd>
|
|
<dt><b>*USERDEVD</b></dt>
|
|
<dd>All user jobs associated with the device specified for the Device description (DEVD) parameter will be traced.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TRCPGM"></a>
|
|
<h3>Trace program (TRCPGM)</h3>
|
|
<p>Specifies the name of a program to call for user defined trace commands and procedures. This parameter is valid for all applications.
|
|
</p>
|
|
<p>For SET(*ON), the trace program will be called:
|
|
</p>
|
|
<ul>
|
|
<li>Before the application trace starts.
|
|
</li>
|
|
<li>After the communications and Licensed Internal Code (LIC) traces, if requested, start.
|
|
</li>
|
|
<li>If WCHMSG or WCHLICLOG parameter is specified, the trace program will be called:
|
|
<ul>
|
|
<li>After a match of a message identifier specified on WCHMSG parameter or LIC log specified on WCHLICLOG parameter occurred.
|
|
</li>
|
|
<li>When the time interval specified on the TRCPGMITV parameter is reached.
|
|
</li>
|
|
<li>When the length of time to watch specified on WCHTIMO parameter is reached.
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<p>For SET(*OFF), the trace program will be called:
|
|
</p>
|
|
<ul>
|
|
<li>Before the LIC traces, if requested, end.
|
|
</li>
|
|
<li>After the communications trace, if requested, ends.
|
|
</li>
|
|
<li>After the application trace ends.
|
|
</li>
|
|
</ul>
|
|
<p>For SET(*END), the trace program will be called:
|
|
</p>
|
|
<ul>
|
|
<li>After the LIC and communications traces, if requested, end.
|
|
</li>
|
|
<li>After the application trace ends.
|
|
</li>
|
|
</ul>
|
|
<p>When the TRCTCPAPP CPP detects an error with the trace program, it will display the TCP4537 diagnostic message. If watch for trace event facility is active, the trace and the watch for trace event facility will be ended, and CPI3999 message will be sent to the system operator message queue with reason code 04.
|
|
</p>
|
|
<p>There are three input parameters and one output parameter associated with the trace program. The four parameters are required:
|
|
</p>
|
|
<ul>
|
|
<li>1 Trace option setting Input Char(10)
|
|
</li>
|
|
<li>2 Application Input Char(10)
|
|
</li>
|
|
<li>3 Error detected Output Char(10)
|
|
</li>
|
|
<li>4 Comparison data Input Char(*)
|
|
</li>
|
|
</ul>
|
|
<p>The possible values for the <b>Trace option setting (SET)</b> parameter are:
|
|
</p>
|
|
<ul>
|
|
<li>*ON, The collection of trace information is started.
|
|
</li>
|
|
<li>*OFF, The collection of trace information is stopped and the trace information is written to spooled printer files of the user.
|
|
</li>
|
|
<li>*END, Tracing is ended and all trace information is deleted. No trace information output is created.
|
|
</li>
|
|
<li>*MSGID, A match on a message ID specified on WCHMSG parameter occurred.
|
|
</li>
|
|
<li>*LICLOG, A match on a LIC log specified on the WCHLICLOG parameter occurred.
|
|
</li>
|
|
<li>*CMPDATA, The major and minor code of a LIC log matched, but the comparison data did not.
|
|
</li>
|
|
<li>*INTVAL, The time interval specified on TRCPGMITV parameter is elapsed.
|
|
</li>
|
|
<li>*WCHTIMO, The length of time to watch specified on WCHTIMO parameter is elapsed.
|
|
</li>
|
|
</ul>
|
|
<p>The possible values for the "Application" parameter are the same as the values for the APP parameter on the TRCTCPAPP command.
|
|
</p>
|
|
<p>The possible values for the "Error detected" parameter are:
|
|
</p>
|
|
<ul>
|
|
<li>*ERROR, Error detected by customer trace program.
|
|
</li>
|
|
<li>*CONTINUE, The trace and the watch for trace event facility will continue running.
|
|
</li>
|
|
<li>*STOP, The trace and the watch for trace event facility will be ended.
|
|
</li>
|
|
</ul>
|
|
<p>The possible values for the "Comparison data" parameter when *MSGID is specified on "Trace option setting" parameter will be the following structure:
|
|
</p>
|
|
<p>Offset Type Field
|
|
</p>
|
|
<p>Dec Hex
|
|
</p>
|
|
<p> 0 0 BINARY(4) Length of trace information
|
|
</p>
|
|
<p> 4 4 CHAR(7) Message ID
|
|
</p>
|
|
<p>11 B CHAR(9) Reserved
|
|
</p>
|
|
<p>20 14 BINARY(4) Offset to comparison data
|
|
</p>
|
|
<p>24 18 BINARY(4) Length of comparison data
|
|
</p>
|
|
<p> * * CHAR(*) Message comparison data
|
|
</p>
|
|
<p>The possible values for the "Comparison data" parameter when *LICLOG or *CMPDATA is specified on "Trace option setting" parameter will be the following structure:
|
|
</p>
|
|
<p>Offset Type Field
|
|
</p>
|
|
<p>Dec Hex
|
|
</p>
|
|
<p> 0 0 BINARY(4) Length of trace information
|
|
</p>
|
|
<p> 4 4 CHAR(4) LIC Log major code
|
|
</p>
|
|
<p> 8 8 CHAR(4) LIC Log minor code
|
|
</p>
|
|
<p>12 C CHAR(8) LIC Log identifier
|
|
</p>
|
|
<p>20 14 BINARY(4) Offset to comparison data
|
|
</p>
|
|
<p>24 18 BINARY(4) Length of comparison data
|
|
</p>
|
|
<p> * * CHAR(*) LIC log comparison data
|
|
</p>
|
|
<p>The possible values for the "Comparison data" parameter when *ON, *OFF, *END, *INTVAL or *WCHTIMO is specified on "Trace option setting" parameter will be the following structure:
|
|
</p>
|
|
<p>Offset Type Field
|
|
</p>
|
|
<p>Dec Hex
|
|
</p>
|
|
<p> 0 0 BINARY(4) Length of trace information (always 4 at this time).
|
|
</p>
|
|
<p>For more information on the trace exit program interface, refer to the System API Reference information in the iSeries Information Center at http://www.ibm.com/eserver/iseries/infocenter.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No user supplied trace program will be called. If a watched for message or Licensed Internal Code (LIC) log entry is added, or if the specified watch time limit is exceeded, the trace function ends.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 1: Trace program</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the trace program to be called.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>The library list is used to locate the program.
|
|
</dd>
|
|
<dt><b>*CURLIB</b></dt>
|
|
<dd>The current library is used to locate the program. If no library is specified as the current library, the QGPL library is used.
|
|
</dd>
|
|
<dt><b><i>trace-program-library</i></b></dt>
|
|
<dd>Specify the name of the library where the program is located.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TITLE"></a>
|
|
<h3>Trace title (TITLE)</h3>
|
|
<p>Specifies the title that is printed on each page of the spooled file which contains the collected trace information. This parameter is only valid when SET(*OFF) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*DFT</u></b></dt>
|
|
<dd>The default trace description title "TRCTCPAPP Output" is used.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify up to 50 characters to be used as the title on each page of the trace output spooled file.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.USER"></a>
|
|
<h3>User profile (USER)</h3>
|
|
<p>Only trace information associated with a specific user profile will be collected. This parameter is only valid when APP(*FTP) is specified, or when APP(*TELNET) and ADLTRC(*USER) are specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the user profile for which trace information is to be collected.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.MAILADR"></a>
|
|
<h3>Recipient mail address (MAILADR)</h3>
|
|
<p>Only trace information associated with a specific recipient mail address will be collected. This parameter is only valid when APP(*SMTPSVR) or APP(*SMTPCLT) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>The recipient mail address (up to 255 characters) must have the following format: 'userid@abc.def.com'
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.HOST"></a>
|
|
<h3>Recipient host name (HOST)</h3>
|
|
<p>Only trace information associated with a specific recipient host name will be collected. This parameter is only valid when APP(*SMTPCLT) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the recipient host name (up to 255 characters). The name must have the following format: 'abc.def.com'
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.RMTNETADR"></a>
|
|
<h3>Remote network address (RMTNETADR)</h3>
|
|
<p>The user may limit the amount of information collected by entering an address family, remote TCP/IP address, subnet mask and port number. This parameter is only valid when APP(*FTP), APP(*SMTPSVR), APP(*DDM), APP(host server), APP(*TELNET), APP(*VTAPI) or APP(*L2TP) is specified. <b>Note:</b> The only valid filter for L2TP is the IP address element.
|
|
</p>
|
|
<p><b>Element 1: Address family</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*INET</u></b></dt>
|
|
<dd>The filter for AF_INET address family.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: IP address</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the remote TCP/IP address for which trace information is to be collected.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 3: Subnet mask</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>255.255.255.255</u></b></dt>
|
|
<dd>Tracing will be done for only the IP address specified as the second element of this parameter.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the subnet mask for which trace information is to be collected.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 4: Port number</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ANY</u></b></dt>
|
|
<dd>The TCP/IP port number defaults to *ANY which implies traffic associated with any port on the remote system (and qualified by the IP address and subnet mask) will be traced.
|
|
</dd>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the port number to be used. If a number is specified, a subnet mask value must also be specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.LCLNETADR"></a>
|
|
<h3>Local network address (LCLNETADR)</h3>
|
|
<p>The user may limit the amount of information collected by entering an address family, local TCP/IP address, subnet mask and port number. This parameter is only valid when APP(*DDM), APP(host server), APP(*TELNET) or APP(*VTAPI) is specified.
|
|
</p>
|
|
<p><b>Element 1: Address family</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*INET</u></b></dt>
|
|
<dd>The filter for AF_INET address family.
|
|
</dd>
|
|
<dt><b>*UNIX</b></dt>
|
|
<dd>The filter for AF_UNIX address family. Note that *UNIX is a valid choice for only APP(*DDM) or APP(host server).
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: IP address or UNIX path</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>When *INET is specified for element 1 of this parameter, specify the local TCP/IP address for which trace information is to be collected.
|
|
<p>When *UNIX is specified for element 1 of this parameter, specify the UNIX path for which trace information is to be collected. Note that an UNIX-path can be entered for only APP(*DDM) or APP(host server).
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 3: Subnet mask</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>255.255.255.255</u></b></dt>
|
|
<dd>Tracing will be done for only the IP address specified as the second element of this parameter.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the subnet mask for which trace information is to be collected.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 4: Port number</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ANY</u></b></dt>
|
|
<dd>The TCP/IP port number defaults to *ANY which implies traffic associated with any port on the local system (and qualified by the IP address and subnet mask) will be traced.
|
|
</dd>
|
|
<dt><b><i>1-65535</i></b></dt>
|
|
<dd>Specify the port number to be used. If a number is specified, a subnet mask value must also be specified.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.DEVD"></a>
|
|
<h3>Device description (DEVD)</h3>
|
|
<p>The user may limit the amount of information collected by entering a device description name. Once the device description is associated with a given TELNET or VTAPI session, all trace information associated with it will be collected. This parameter is only valid when APP(*TELNET) or APP(*VTAPI) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of a device description for which trace information is to be collected.
|
|
</dd>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify a generic name for device descriptions for which trace information is to be collected. A generic name is a character string of one or more characters followed by an asterisk (*); for example, CMN*. If a generic name is specified, then all device descriptions with names that begin with the generic name, and for which the user has authority, will have trace information collected.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.DEVTYPE"></a>
|
|
<h3>Device type (DEVTYPE)</h3>
|
|
<p>One or more valid device types may be specified. Only the trace information associated with activity for those devices will be traced. If *DSP or *PRT is specified, no other values may be entered for this parameter. This parameter is only valid when APP(*TELNET) or APP(*VTAPI) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*DSP</b></dt>
|
|
<dd>The information collected is only for display device types.
|
|
</dd>
|
|
<dt><b>*PRT</b></dt>
|
|
<dd>The information collected is only for printer device types.
|
|
</dd>
|
|
<dt><b><i>device-type</i></b></dt>
|
|
<dd>The information collected is only for the specified device types. Up to six types may be specified. The valid types include: 5251, 5291, 5292, 3196, 3488, 3487, 3179, 3180, 5555, 3477, 3277, 3278, 3279, V100, 3812 and 5553.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TRCPNT"></a>
|
|
<h3>Trace point (TRCPNT)</h3>
|
|
<p>You can limit the trace points that are placed in the trace buffer by entering the list of those trace points for this parameter. Up to 12 trace points may be specified. This parameter is only valid when APP(*TELNET), APP(*VTAPI), APP(*DDM) or APP(host server) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the trace point identifier. Each trace point identifier may be up to 8 characters.
|
|
<p>For TELNET/VTAPI trace points, specify 'TG#xxxxx', 'TG+xxxxx' or 'TG-xxxxx' where 'xxxxx' defines the specific trace point. The following TELNET/VTAPI trace points can also be specified: TGTELM, TGTELO, TGEXCP, TGREQPO, TGRIO, TGRPO, TGUTIL, TGVTERM, TGVTIN, TGVTINI, TGVTM or TGVTOUT.
|
|
</p>
|
|
<p>For host/DDM server trace points, specify 'Qcccxxxx' where 'ccc' is the component ID of the host/DDM server and 'xxxx' defines the specific trace point.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.ARGLIST"></a>
|
|
<h3>Argument list (ARGLIST)</h3>
|
|
<p>Only trace information associated with this specific argument list will be included in the trace information collected. The argument list contains data like the debug level and special trace requests. This parameter is only valid when APP(*VPN), APP(*QOS), APP(*PKTRULES), APP(*PPP) or APP(*DIRSRV) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the argument list (up to 255 characters).
|
|
</dd>
|
|
</dl>
|
|
<p>QOS allows the following argument list values:
|
|
</p>
|
|
<dl>
|
|
<dt><b>lvl=1</b></dt>
|
|
<dd>The lvl=1 argument logs errors that are associated with system operations. One example might be that the system is out of memory. The result of these types of errors is that the QoS server will not be able to run.
|
|
</dd>
|
|
<dt><b>lvl=2</b></dt>
|
|
<dd>The lvl=2 argument includes all lvl=1 information. In addition, the lvl=2 argument logs internal errors identified with the operation of the QOS server. The usual cause of these types of errors is that unexpected errors have been encountered in a server operation. A lvl=2 error is considered a condition for an APAR.
|
|
</dd>
|
|
<dt><b>lvl=3</b></dt>
|
|
<dd>The lvl=3 argument includes all lvl=1 and lvl=2 information. In addition, the lvl=3 argument logs the basic operational activities of the QoS server. Examples might be the loading of rules or the sending of a STRTCPSVR SERVER(*QOS) RESTART(*QOS) command.
|
|
</dd>
|
|
<dt><b>lvl=4</b></dt>
|
|
<dd>The lvl=4 argument includes all lvl=1, lvl=2 and lvl=3 information. In addition, the lvl=4 argument logs all traced activities of the QoS server.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.VPNSVR"></a>
|
|
<h3>Virtual private network server (VPNSVR)</h3>
|
|
<p>Specifies whether the trace information is to be collected for the VPN key manager or the VPN connection manager. If no value is specified for this parameter, trace information is to be collected for both the VPN key manager and the VPN connection manager. This parameter is only valid when APP(*VPN) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*KEYMGR</b></dt>
|
|
<dd>Filtering of trace information is done to include the VPN key manager.
|
|
</dd>
|
|
<dt><b>*CNNMGR</b></dt>
|
|
<dd>Filtering of trace information is done to include the VPN connection manager.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.CERTTYPE"></a>
|
|
<h3>Certificate services type (CERTTYPE)</h3>
|
|
<p>Only trace information associated with a specific certificate services type will be included in the captured trace information. This parameter is only valid when APP(*CERTSRV) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>No filtering of trace information is done for certificate services type.
|
|
</dd>
|
|
<dt><b>*DCM</b></dt>
|
|
<dd>Filtering of trace information is done to include only the DCM certificate services type.
|
|
</dd>
|
|
<dt><b>*KEYMGR</b></dt>
|
|
<dd>Filtering of trace information is done to include only the VPN key manager certificate services type.
|
|
</dd>
|
|
<dt><b>*SSL</b></dt>
|
|
<dd>Filtering of trace information is done to include only the SSL certificate services type.
|
|
</dd>
|
|
<dt><b>*OBJSIGN</b></dt>
|
|
<dd>Filtering of trace information is done to include only the OBJSIGN certificate services type.
|
|
</dd>
|
|
<dt><b>*OTHER</b></dt>
|
|
<dd>Filtering of trace information is done to include only a certificate services type not listed above.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.DNS"></a>
|
|
<h3>Domain name service (DNS)</h3>
|
|
<p>Specifies whether only trace information associated with domain name service (DNS) resolution will be collected. This parameter is only valid when APP(*SMTPCLT) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NO</u></b></dt>
|
|
<dd>No filtering of trace information is done for DNS resolution.
|
|
</dd>
|
|
<dt><b>*YES</b></dt>
|
|
<dd>Trace information includes only trace points associated with DNS resolution.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.PPPCNNPRF"></a>
|
|
<h3>PPP connection profile (PPPCNNPRF)</h3>
|
|
<p>Trace information associated with a specific PPP connection profile will be collected. The default trace information provided is one joblog and one connection dialog spooled file (containing the PPP dialog trace) for each connection started by the PPP connection profile, one copy of the PPP profile settings, and one copy of the line description used by the profile. When selected by the user there could also be one SRCSINK component trace per connection, one Communications trace per connection and a single TCPIP component trace. This parameter is required when APP(*PPP) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the PPP connection profile for which trace information is to be collected.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TCPTRCDTA"></a>
|
|
<h3>TCP/IP data to trace (TCPTRCDTA)</h3>
|
|
<p>Specifies what additional data will be collected when ADLTRC(*TCPIP) is selected. This parameter is only valid when APP(*PPP) is specified. If APP(*PPP) is specified and ADLTRC(*TCPIP) is not specified, this parameter will be ignored.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*PPPALL</u></b></dt>
|
|
<dd>All data on the PPP connection will be traced.
|
|
</dd>
|
|
<dt><b>*LCPNCP</b></dt>
|
|
<dd>Only LCP and NCP data on the PPP connection will be traced.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.QOSTRCTYPE"></a>
|
|
<h3>QOS trace type (QOSTRCTYPE)</h3>
|
|
<p>Only trace information associated with a specific QOS trace type will be included in the trace information collected. This parameter is only valid when APP(*QOS) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>Filtering of trace information is done to include both servers.
|
|
</dd>
|
|
<dt><b>*POLICYD</b></dt>
|
|
<dd>Filtering of trace information is done to include the QOS policy server.
|
|
</dd>
|
|
<dt><b>*RSVPD</b></dt>
|
|
<dd>Filtering of trace information is done to include the RSVP (Resource reSerVation Protocol) server.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.HTTPSVR"></a>
|
|
<h3>HTTP server instance (HTTPSVR)</h3>
|
|
<p>This parameter will determine which HTTP server instance to trace. It is only valid and required when APP(*HTTP) is specified.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TRCLVL"></a>
|
|
<h3>Trace level (TRCLVL)</h3>
|
|
<p>Specifies the level of granularity of the service trace. This parameter is only valid when APP(*HTTP) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ERROR</u></b></dt>
|
|
<dd>The service trace will contain trace records for all error return codes or exception conditions.
|
|
</dd>
|
|
<dt><b>*INFO</b></dt>
|
|
<dd>The service trace will contain *ERROR level trace records as well as trace records for entry and exit points from application level APIs and API parameters.
|
|
</dd>
|
|
<dt><b>*VERBOSE</b></dt>
|
|
<dd>The service trace will contain *INFO level trace records as well as trace records for debugging control flow or data corruption.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.PKTTRCPNT"></a>
|
|
<h3>Packet rules trace points (PKTTRCPNT)</h3>
|
|
<p>Specifies a keyword that represents trace point values which will be displayed when the Trace Internal (TRCINT) panel is displayed. This parameter is only valid when APP(*PKTRULES) and ADLTRC(*TCPIP) are specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*TRAFFIC</u></b></dt>
|
|
<dd>The following trace points for packet filter evaluation will be displayed on the Trace Internal panel: 8110-8111, 8120-8123 and 8420.
|
|
</dd>
|
|
<dt><b>*LOAD</b></dt>
|
|
<dd>The following trace points for the audit and load of rules will be displayed on the Trace Internal panel: 8100-8105 and 8430-8438.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.CFGOBJ"></a>
|
|
<h3>Configuration object (CFGOBJ)</h3>
|
|
<p>Specifies the configuration object to trace. The object can be either a line description, a network interface description, or a network server description. This parameter is only valid when ADLTRC(*CMNTRC) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the configuration object to be traced.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.CFGTYPE"></a>
|
|
<h3>Type (CFGTYPE)</h3>
|
|
<p>Specifies the type of configuration description to trace. This parameter is only valid when ADLTRC(*CMNTRC) is specified.
|
|
</p>
|
|
<dl>
|
|
<dt><b>*LIN</b></dt>
|
|
<dd>The type of configuration object is a line description.
|
|
</dd>
|
|
<dt><b>*NWI</b></dt>
|
|
<dd>The type of configuration object is a network interface description.
|
|
</dd>
|
|
<dt><b>*NWS</b></dt>
|
|
<dd>The type of configuration object is a network server description.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.WCHMSG"></a>
|
|
<h3>Watch for message (WCHMSG)</h3>
|
|
<p>Specifies up to five message identifiers which are to be watched for. If a value other than *NONE is specified, you must specify where to watch for the message on the WCHMSGQ parameter. When the watched for message is added to the specified message queue or log, the trace exit program is called; if no trace exit program is defined, the trace stops.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No messages will be watched for.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 1: Message identifier </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the 7-character message identifier to be watched for.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Comparison data </b>
|
|
</p>
|
|
<p>Specify comparison data to be used if a message matching the specified message ID is added to the specified message queue or log. If the message data, the "From program" or the "To program" includes the specified text, the watched for condition is true. If the message data, the "From program" or the "To program" does not contain the specified text, the trace function continues.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No comparison data is specified. If a message matching the specified message ID is added to the specified message queue or log, the watched for condition is true.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the text string used to compare against the message data, the "From program" or the "To program" of the watched for message. This text is case sensitive and can be quoted in order to specify imbedded or trailing blanks.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 3: Compare against</b>
|
|
</p>
|
|
<p>Specify which part of the message the comparison data specified for element 2 is to be compared against.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*MSGDATA</u></b></dt>
|
|
<dd>The comparison data will be compared against the message replacement data.
|
|
</dd>
|
|
<dt><b>*FROMPGM</b></dt>
|
|
<dd>The comparison data will be compared against the name of the program sending the message, or the name of the ILE program that contains the procedure sending the message.
|
|
</dd>
|
|
<dt><b>*TOPGM</b></dt>
|
|
<dd>The comparison data will be compared against the name of the program the message was sent to, or the name of the ILE program that contains the procedure the message was sent to.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.WCHMSGQ"></a>
|
|
<h3>Watched message queue (WCHMSGQ)</h3>
|
|
<p>Specifies where to watch for the message identifiers specified for the <b>Watch for message (WCHMSG)</b> parameter. You can specify to watch the message being added to the system operator message queue, the history log, other message queues, and job logs. Up to three message queues or special values can be specified.
|
|
</p>
|
|
<p><b>Element 1: Message queue</b>
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*SYSOPR</u></b></dt>
|
|
<dd>Watch messages added to the system operator message queue (QSYSOPR message queue in library QSYS).
|
|
</dd>
|
|
<dt><b>*HSTLOG</b></dt>
|
|
<dd>Watch messages added to the history log QHST.
|
|
</dd>
|
|
<dt><b>*JOBLOG</b></dt>
|
|
<dd>Watch messages added to the job logs of jobs specified by the WCHJOB parameter.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 1: Message queue</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the message queue to watch.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 2: Library</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*LIBL</u></b></dt>
|
|
<dd>All libraries in the library list for the current thread are searched until the first match is found.
|
|
</dd>
|
|
</dl>
|
|
<dl>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the library where the message queue is located.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.WCHJOB"></a>
|
|
<h3>Watched job (WCHJOB)</h3>
|
|
<p>Specifies the job whose job log is watched for the messages specified on the WCHMSG parameter. The specified job will only be watched if *JOBLOG is specified on the WCHMSGQ parameter. Up to five job names may be specified.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*</u></b></dt>
|
|
<dd>Only the job log of the job that issued this trace command is watched.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 1: Job name</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 1: Job name</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the job to be watched. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic job name specifies all jobs with job names that begin with the generic prefix.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the job to be watched.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 2: User</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the user name of the job to be watched. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic user name specifies all jobs with the specified job name and with user names that begin with the generic prefix.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the user of the job to be watched.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 3: Number</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*ALL</u></b></dt>
|
|
<dd>All jobs with the specified job name and user name are watched.
|
|
</dd>
|
|
<dt><b><i>000001-999999</i></b></dt>
|
|
<dd>Specify the job number to further qualify the job name and user name. You cannot specify a job number if a generic job name or a generic user name qualifier is specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.WCHLICLOG"></a>
|
|
<h3>Watch for LIC log entry (WCHLICLOG)</h3>
|
|
<p>Specifies up to five Licensed Internal Code (LIC) log entry identifiers which are to be watched for. Each LIC log entry contains a major and a minor code. The watched for condition will be met if a LIC log entry is added that matches the specified major and minor codes and any comparison data specified. When the watched for log entry is added to the LIC log, the trace exit program is called, even when the comparison data specified does not match; if no trace exit program is defined, the trace stops.
|
|
</p>
|
|
<p><b>Single values </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No LIC log entries will be watched for.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 1: Major code </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>Any LIC log entry major code will be considered to be a match. If *ALL is specified for the major code, you cannot specify *ALL for the LIC log entry minor code.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the LIC log major code to be watched for. You can specify either a hexadecimal digit or a question mark for each character in the four-digit code. A question mark is a wildcard character that will match any digit in that position. Up to three wildcard characters can be specified.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 2: Minor code </b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>*ALL</b></dt>
|
|
<dd>Any LIC log entry minor code will be considered to be a match. If *ALL is specified for the minor code, you cannot specify *ALL for the LIC log entry major code.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the LIC log minor code to be watched for. You can specify either a hexadecimal digit or a question mark for each character in the four-digit code. A question mark is a wildcard character that will match any digit in that position. Up to three wildcard characters can be specified.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element 3: Comparison data </b>
|
|
</p>
|
|
<p>Specify comparison data to be used if a log entry matching the specified major and minor codes is added to the Licensed Internal Code (LIC) log. If this text is found in the LIC log entry data fields of the watched for log entry, the watched for condition is true. If this text is not found in the LIC log entry data fields of the watched for log entry and no exit program is specified on the TRCPGM parameter, the trace function continues. If the log entry matches the specified major and minor codes and an exit program is specified on the TRCPGM parameter, but the entry data does not contain the specified text, the exit program is called to determine if the trace should continue or stop.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No comparison data is specified. If a LIC log entry matching the specified major and minor codes is added to the LIC log, the watched for condition is true.
|
|
</dd>
|
|
<dt><b><i>character-value</i></b></dt>
|
|
<dd>Specify the text string used to compare against the entry data of the watched for log entry. If this text is found in the LIC log entry data fields compared of a watched for log entry, the watch condition is considered to be true. This text is case sensitive. The LIC log fields which can be compared are TDE number, task name, server type, job name, user ID, job number, thread ID, exception ID, LIC module compile binary timestamp, LIC module offset, LIC module RU name, LIC module name, LIC module entry point name. The comparison data cannot be used to match across two fields, and can match an entire field or a substring of any field.
|
|
<p>When watching for an exception ID, all four hexadecimal digits of the exception ID must be specified. Also, the prefix MCH may be specified if you want to compare only against the exception ID field and avoid possible substring matches with the other fields.
|
|
</p>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.WCHTIMO"></a>
|
|
<h3>Length of time to watch (WCHTIMO)</h3>
|
|
<p>Specifies the time limit, in minutes, for watching for a message or a Licensed Internal Code (LIC) log entry. When the specified amount of time has elapsed, the trace exit program is called (if one was specified on the TRCPGM parameter), the trace is ended, and message CPI3999 is sent to the system operator message queue.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NOMAX</u></b></dt>
|
|
<dd>There is no time limit for watching for a particular message or LIC log entry.
|
|
</dd>
|
|
<dt><b><i>1-43200</i></b></dt>
|
|
<dd>Specify the number of minutes that the trace will be active while none of the watched for conditions have been met. You can specify up to 43200 minutes (30 days).
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.TRCPGMITV"></a>
|
|
<h3>Time interval (TRCPGMITV)</h3>
|
|
<p>Specifies how often the trace exit program will be called.
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*NONE</u></b></dt>
|
|
<dd>No time interval is specified. The trace exit program will not be called because a time interval has elapsed.
|
|
</dd>
|
|
<dt><b><i>1-9999</i></b></dt>
|
|
<dd>Specify the interval of time, in seconds, of how often the trace exit program will be called. This must be less than the amount of time specified for the <b>Length of time to watch (WCHTIMO)</b> parameter.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<div> <a name="TRCTCPAPP.JOB"></a>
|
|
<h3>Job name (JOB)</h3>
|
|
<p>Specifies which jobs are to be traced. This parameter is only valid when APP(*TELNET) and ADLTRC(*JOB) are specified.
|
|
</p>
|
|
<p><b>Single values</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u>*</u></b></dt>
|
|
<dd>Only the job that issues the TRCTCPAPP (Trace TCP/IP application) command is to be traced.
|
|
</dd>
|
|
</dl>
|
|
<p><b>Element : Job name</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 1: Job name</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic name of the jobs to be traced. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic job name specifies all jobs with job names that begin with the generic prefix.
|
|
</dd>
|
|
<dt><b> *ALL</b></dt>
|
|
<dd>All jobs names with the specified job user name are traced. *ALL for the job name is considered to be a generic job specification because it will trace all jobs that meet the job user name qualifiers that you specified.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the name of the job to be traced. Up to sixteen job names may be specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 2: User</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><i>generic-name</i></b></dt>
|
|
<dd>Specify the generic user name of the jobs from which trace records are to be collected. A generic name is a character string of one or more characters followed by an asterisk (*); for example, ABC*. The asterisk substitutes for any valid characters. A generic user name specifies all jobs with user names that begin with the generic prefix.
|
|
</dd>
|
|
<dt><b> *ALL</b></dt>
|
|
<dd>All job user name with the specified job name are traced. *ALL for the job user name is considered to be a generic job specification because it will trace all jobs that meet the job name qualifiers that you specified.
|
|
</dd>
|
|
<dt><b><i>name</i></b></dt>
|
|
<dd>Specify the user name of the job to be traced.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
<dt><b></b></dt>
|
|
<dd>
|
|
<p><b>Qualifier 3: Number</b>
|
|
</p>
|
|
<dl>
|
|
<dt><b><u> *ALL</u></b></dt>
|
|
<dd>All jobs with the specified job name and user name are traced. *ALL for the job number is considered to be a generic job specification because it will trace all jobs that meet the job name and job user name qualifiers that you specified.
|
|
</dd>
|
|
<dt><b><i>000001-999999</i></b></dt>
|
|
<dd>Specify the job number to further qualify the job name and user name. You cannot specify a job number if a generic job name qualifier or generic user name qualifier is specified.
|
|
</dd>
|
|
</dl>
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="TRCTCPAPP.COMMAND.EXAMPLES">Examples</a> </h3>
|
|
<p><b>Example 1: Starting Trace for Database</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*DATABASE) SET(*ON) TRCPNT(QZDA1050 QZDA1060)
|
|
LCLNETADR(*INET
|
|
'9.130.69.22'
|
|
'255.255.255.255' 8471)
|
|
ADLTRC(*CMNTRC) TRCPGM(PGMLIB/PROG1)
|
|
CFGOBJ(TESTLIN) CFGTYPE(*LIN)
|
|
</pre>
|
|
</p>
|
|
<p>This command will start tracing for the database host server. Tracing information associated with the AF_INET address family, a local TCP/IP address of 9.130.69.22, a subnet mask of 255.255.255.255, port number of 8471 and trace points of QZDA1050 and QZDA1060 will be collected. A communication trace will be included in the trace information. TESTLIN is the name of the configuration object to trace. This object is a line (*LIN) description. Trace program PROG1 in library PGMLIB, with its user-defined trace commands and procedures, will be called. Tracing for the other TCP applications is not affected.
|
|
</p>
|
|
<p><b>Example 2: Check Status of Database Tracing</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*DATABASE) SET(*CHK)
|
|
</pre>
|
|
</p>
|
|
<p>This command is used to check the status of the tracing for the database host server job. Assume that the last command entered was from "Example 1" above. The format of the response to this command would be a set of messages that would look similar to the following:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TCP45B7 TRCTCPAPP APP(*DATABASE) SET(*ON)
|
|
TRCPNT(QZDA1050 QZDA1060)
|
|
LCLNETADR(*INET '9.130.69.22'
|
|
'255.255.255.255' 8471)
|
|
MAXSTG(*DFT) TRCFULL(*WRAP) ADLTRC(*CMNTRC)
|
|
TRCPGM(PGMLIB/PROG1) CFGOBJ(TESTLIN)
|
|
CFGTYPE(*LIN)
|
|
TCP45B1 Tracing active for *DATABASE at 20:15:14 on 03/15/01 by
|
|
043432/TRCUSER/QPADEV000B.
|
|
TCP45B2 Data capture begun for *DATABASE.
|
|
TCP45B3 Data buffer wrapped for *DATABASE.
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 3: Ending Database Connection Tracing</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*DATABASE) SET(*OFF)
|
|
</pre>
|
|
</p>
|
|
<p>This command first ends any currently active application trace for the database host server, followed by ending the TCP/IP component trace. If tracing was active, output trace records are formatted and placed into a spool file. A similar message will be found in the user's joblog:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TCP45B8 Trace data for application DATABASE formatted: QZDA001915.
|
|
</pre>
|
|
</p>
|
|
<p>If tracing is not active, then the following message will be returned to the user:
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TCP4580 Tracing off, SET(*OFF) not valid.
|
|
</pre>
|
|
</p>
|
|
<p><b>Example 4: Starting Trace for Packet Rules</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*PKTRULES) SET(*ON)
|
|
ARGLIST('DebugLvl=1 TraceLvl=2')
|
|
ADLTRC(*TCPIP) PKTTRCPNT(*LOAD)
|
|
</pre>
|
|
</p>
|
|
<p>This command will start tracing for packet rules. Tracing information associated with the specific argument list will be collected. A component trace will be included in the trace information, using trace points of 8100-8105 and 8430-8438. Tracing for the other TCP applications is not affected.
|
|
</p>
|
|
<p><b>Example 5: Starting Trace for FTP</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*FTP) SET(*ON)
|
|
RMTNETADR(*INET '9.130.69.16' '255.255.255.255' 5)
|
|
</pre>
|
|
</p>
|
|
<p>This command will start tracing for the FTP server. Tracing information associated with the AF_INET address family, a remote TCP/IP address of 9.130.69.16, a subnet mask of 255.255.255.255 and port number of 5 will be collected. Tracing for the other TCP applications is not affected.
|
|
</p>
|
|
<p><b>Example 6: Starting Trace for TELNET</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*TELNET) SET(*ON) DEVD(QPADEV*)
|
|
</pre>
|
|
</p>
|
|
<p>This command will start tracing for the TELNET server. Trace information will be collected for all device descriptions with names that begin with "QPADEV". The user must have authority to these specific device descriptions. Tracing for the other TCP applications is not affected.
|
|
</p>
|
|
<p><b>Example 7: Starting Trace for Analyzing a Device Problem</b>
|
|
</p>
|
|
<p>
|
|
<pre>
|
|
TRCTCPAPP APP(*TELNET) SET(*ON)
|
|
ADLTRC(*DEVD *JOB *CMNARB *SYSARB)
|
|
DEVD(MYDEVICE)
|
|
JOB((*ALL/*ALL/MYSBS1) (*ALL/*ALL/MYSBS2))
|
|
</pre>
|
|
</p>
|
|
<p>This command will trace all the jobs that will be associated with the device description MYDEVICE, which is encountering a device problem. The command will start tracing for the TELNET server. Trace information is collected for all user jobs associated with device description MYDEVICE. Trace information is collected for the TELNET device manager jobs. Trace information is collected for all jobs that were supplied in the JOB parameter. In this example, all jobs with the name MYSBS1 and MYSBS2 will be traced, where MYSBS1 is the subsystem that displays the sign on screen for interactive device sessions and MYSBS2 is the subsystem jobs transfer to when a user signs on. Trace information is also collected for the system jobs that interact with display devices, which are all the QCMNARB and QSYSARB system jobs.
|
|
</p>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
<hr size="2" width="100%">
|
|
<div><h3><a name="TRCTCPAPP.ERROR.MESSAGES">Error messages</a> </h3>
|
|
<p><b><u>*ESCAPE Messages</u></b>
|
|
</p>
|
|
<dl>
|
|
<dt><b>TCP4595</b></dt>
|
|
<dd>Trace not started.
|
|
</dd>
|
|
</dl>
|
|
</div>
|
|
<table width="100%">
|
|
<tr><td align="right"><a href="#TRCTCPAPP.Top_Of_Page">Top</a></td></tr>
|
|
</table>
|
|
</body>
|
|
</html>
|