Relational condition - cobol programming, COBOL Programming

RELATIONAL CONDITION:

 We know that a relational condition specifies a comparison between two operands and has the form.

    Operand-1    relational-operator   operand-2

where the relational-operator can be anyone of the shown below:

    IS    [NOT]     GREATER     THAN

    IS    [NOT]              >            THAN

    IS    [NOT]     LESS              THAN

    IS    [NOT]              <            THAN

    IS    [NOT]     EQUAL           TO

    IS    [NOT]              =              

It was acknowledged earlier that the operands can be an identifier or a literal. Though, either operand can also be an arithmetic expression but should contain at least one reference to an identifier. Occasionally, operand-1 and operand-2 are respectively referred to as the subject and object of the relational condition.

 

Posted Date: 10/17/2012 1:34:02 AM | Location : United States







Related Discussions:- Relational condition - cobol programming, Assignment Help, Ask Question on Relational condition - cobol programming, Get Answer, Expert's Help, Relational condition - cobol programming Discussions

Write discussion on Relational condition - cobol programming
Your posts are moderated
Related Questions
PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

PROGRAM FOR MASTER FILE MAINTENANCE: We have to write a program to keep the stu-file for which a record has just 2 fields,viz., rno(Roll Number) and name(Student Name). Give t

Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more

What is the difference between subscript and index

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION: We have to write a program to create an Indexed Sequential File in a dynamic mode for Student particulars. Suppose just 3 fields:

SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif