Relation Condition - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

4.3.1
RELATION
CONDITION
60229400
A relation condition results
in
acorn parison of two operands; the operands
may be identifiers, literals, or arithmetic expressions. Comparison of two
numeric operands is permitted regardless of the format specified by USAGE.
For all other comparisons the operands must have the same usage specification.
General format for relation condition:
{
identifier-l
}
literal-l
relational
-operator
arithmetic-expression-l
{
identifier-2
}
literal-2
arithmetic-expression -2
The first operand (to the left of the operator) is called the subject of the
condition; the second operand (to the right of the operator) is called the
object of the condition. The subject and object may not both be literals.
The relational operators specify the comparison to be made
in
a relation
condition. They must be preceded by a space and followed by a space.
Relational Operator
Meaning
{
IS[NOT]GREATER THAN}
IS [NOT].2:
Greater than, or not greater than
{
IS [NOT] LESS THAN}
IS[NOTJ~
{
IS[NOT]EQUAL TO }
IS[NOT1=~
Less than or not less than
Equal to or not equal to
In
any relation condition other than the first
in
a sentence, the subject, the
subject and relational operator, or the subject and ob ject may be omitted.
The effect is the same as
if
the omitted parts were taken from the nearest
preceding complete relation condition within the same sentence.
If
in a consecutive sequence of relation conditions, separated by logical
operators, the subjects are identical, the relational operators are identical,
and the logical connectors are identical, the sequence may be abbreviated
as follows:
4-7

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3300 and is the answer not in the manual?

This manual is also suitable for:

3500

Table of Contents