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
Rules for apply for the condition name: The rules below apply for the condition name. (i) The Condition names should be explained at level 88. The level number starts in ma

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru

GO TO, STOP RUN: The GO TO verb is used to completely transfer the control to elsewhere in the program. Its form is as shown below: GO TO procedure-name As a result o

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

What is the difference b/w index and subscript? Subscript indicates to the array occurrence whereas index is the displacement (in no of bytes) from the beginning of the array.

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few