COMP and NOCOMP commands


 COMP
COMP   {ALL  [n] [WARNING | ERROR]}
       {DATA [n] [WARNING | ERROR]}
       {CONV     [WARNING | ERROR]}

Default:COMP ALL 32767 ERROR

This command specifies the level of comparison to be performed when comparing the actual send data length, and the actual received data, status, and conversation characteristics to the trace file data. Received status comparisons controlled by this command are: send received, confirm received, and conversation deallocated. Conversation characteristic comparisons controlled by this command are: partner LU name, mode name, conversation type, and conversation sync-level. This command also controls whether conversation failures are handled as errors or warnings. Warning conditions result in a message being issued, and the script continues to process. Error conditions result in a message being issued, however, the script is terminated.
COMP ALL[ n][WARNING | ERROR ]
The ALL operand compares send data length, received data, and received status, as well as conversation characteristics. Use n to specify the amount of received data to be compared. The range for n is 0 to 32767. The default value is 32767. When this control command is specified, the actual send data length is compared to the send data length from the trace. Also, the first n bytes of actual received data from each receive verb will be compared against the data from the trace. The actual received data length is also compared to the received data length from the trace. However, if n is less than the received data length from the trace, the comparison will only ensure that the actual received data is at least as large as n. If warning is specified, the generated script handles conversation failures by issuing a message and continuing with the next statement in the script. If error is specified, the generated script handles conversation failures by issuing a message and terminating the script.
COMP DATA[ n][WARNING | ERROR ]
The DATA operand compares only the received data to the trace file data. Use n to specify the amount of received data to be compared. The range for n is 0 to 32767. The default value is 32767. When this control command is specified, the first n bytes of actual received data from each receive verb will be compared against the data from the trace. The actual received data length also will be compared to the received data length from the trace. However, if n is less than the received data length from the trace, the comparison will only ensure that the actual received data is at least as large as n. If warning is specified, the generated script handles conversation failures by issuing a message and continuing with the next statement in the script. If error is specified, the generated script handles conversation failures by issuing a message and terminating the script.
COMP CONV[ WARNING | ERROR]
The CONV operand compares only the conversation characteristics and received status to the trace file data. If warning is specified, the generated script handles conversation failures by issuing a message and continuing with the next statement in the script. If error is specified, the generated script handles conversation failures by issuing a message and terminating the script.

 NOCOMP

NOCOMP The NOCOMP control command specifies that no comparisons are to be performed on send data length, received data, status, or conversation characteristics.