──<pointer part>──<relational operator>────────────────────────────────►
►─┬─<pointer part>── FOR ──<arithmetic expression>────┬────────────────┤
└─<string literal>─┬────────────────────────────────┤
└─ FOR ──<arithmetic expression>─┘
<pointer part>
──┬──────────────────┬─<pointer expression>────────────────────────────┤ └─<update pointer>─┘
The string relation syntax causes a comparison to be performed between two character strings referenced by two pointer expressions, or between the character string referenced by a pointer expression and a string literal. The character strings are compared according to the EBCDIC collating sequence. The arithmetic expression specifies the number of characters to be compared (the repeat count). If a string literal follows the relational operator and a repeat count has been specified, then the string literal is concatenated with itself, if necessary, to form a 48-bit literal. The comparison is repeated until the repeat count is exhausted. If no repeat count is specified, the string characters are compared once. If a repeat count is specified, and its value is zero, the relation unconditionally produces a TRUE value.

