JANUS TCPLOG: Difference between revisions

From m204wiki
Jump to navigation Jump to search
 
Line 64: Line 64:
<td>Binary data (ASCII characters)
<td>Binary data (ASCII characters)
</td></tr></table>
</td></tr></table>
</ul>


==See also==
==See also==

Latest revision as of 20:19, 16 April 2013

Capture Janus port traffic

The JANUS TCPLOG subcommand lets you capture all input and output streams for a particular Janus port. The captured streams are written to a sequential file.

Syntax

JANUS TCPLOG ddname

Where: ddname is the DDname of the sequential dataset to contain the log.

Usage notes

  • One suggested use for a file of captured streams is to provide "playback" for customer-written applications that simulate real workloads during testing of new system or application code.
  • The format of the log file is shown below. All values are in binary format except where indicated.
    Bytes Description
    0-1 Record length
    2-3 Unused
    4-11 TCP unique connection number
    12-15 Record number
    16-23 TOD value (in STCK units)
    24-27 Remote IP address
    28-31 Local IP address
    32-33 Remote port number
    34-35 Local port number
    36-36 Direction (EBCDIC character):
    • R (received)
    • S (sent)
    37-37 Unused
    38-39 Length of binary data
    40-n Binary data (ASCII characters)

See also