Using Arithmetic and Logic › COMPARE Statement › Format
The format for a COMPARE statement is:
COMPARE operand1,operand2
where operand1 and operand2 can be accumulators, integers, strings, screen data, or any other variables.