Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

COM - Compare areas of input tapes

&pagelevel(5)&pagelevel

This statement specifies that only certain areas of the input tapes are to be compared. It can also be used to specify the print line length and to select the print format.

Format

COM                                                                                                                                                              

stcnnnnn

Operands

s
Number of character positions:

s = 0

132-character print line (default value).

s = 1

160-character print line.

t
Print mode:

t = C

Hexadecimal and EBCDIC mode (default value).

t = H

Hexadecimal.

t = G

EBCDIC.

c
Specifies when to terminate:

c = T

Terminate after reading nnnnn tape marks on both tapes.

c = B

Terminate after reading nnnnn blocks on both tapes.

nnnnn
Decimal number of tape marks or blocks (with leading zeros).

Examples

COM OCT00006
COM 1HB00672

After the operation specified by a COM statement has been completed, the routine will accept a POS statement, if issued. At this point, the comparison process can be terminated by means of an END statement, or the user can call for further comparisons of the input tapes by entering additional COM and POS statements.

If two consecutive POS statements are used, the comparison process is carried out using default values.