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
ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe

STATEMENTS FOR SEQUENTIAL FILES: A basic operation on a file includes the reading and writing of its records. Whenever the file is sequential, there are three verbs for the

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

FILE CHARACTERISTICS: The task of file handling is the responsibility of the system software termed as IOCS (Input-Output control system). Record Size: We know that th

DATA RECORD CLAUSE: The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3diffe

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id.  Perfthru. Environment division.

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.