public class CommTrace extends java.awt.event.WindowAdapter
Formatclass, to display and transfer a communications trace file.
STRCMNTRC ENDCMNTRC DMPCMNTRCThe next step is to either format the trace file, or transfer it to the local PC. The format can be done in two different ways.
If Remote is selected:
The file will be formatted remotely on the IBM i system using JavaCommandCall. The output file will be an IFS file in the same directory as the trace but with a .bin extension appended. The progress of the format operation is not relayed to the Commtrace program unless the -verbose option is specified. A dialog will appear when the format has completed.
The file will then be displayed on the local PC. Any previous format can be displayed by selecting the "Display" button or using the Commtrace->Display menu option.
The formatted file could also be transfered to the local PC using the "Transfer" button or Commtrace->Transfer menu option and then displayed locally using the "Display" method.
If Local is selected:
The file must be transfered to the local PC using the transfer methods described above. A progress dialog will appear showing the transfer as it progresses.
The file can then be formatted by selecting the Format button or menu option.
A progress dialog will appear when formatting and display the progress of the format.
After the formatting is complete the trace will be displayed as described in the FormatDisplay class.
Options:java com.ibm.as400.commtrace.Commtrace [options]
|Constructor and Description|
Base constructor which creates a Commtrace.
|Modifier and Type||Method and Description|
Called by the JVM to start the CommTrace Utility.
Invoked when a window is in the process of being closed.
windowActivated, windowClosed, windowDeactivated, windowDeiconified, windowGainedFocus, windowIconified, windowLostFocus, windowOpened, windowStateChanged
public CommTrace(java.lang.String args)
args- The command line arguments
public void windowClosing(java.awt.event.WindowEvent e)
e- The event for this window.
public static void main(java.lang.String args)
args- The arguments from the command line.