Condition - cobol programming, COBOL Programming

CONDITION - COBOL Programming:

The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb makes use of the conditions. In the COBOL, a condition can be any one of the following:

1) Relational condition

2) Sign condition

3) Class condition

4) Condition-name condition

5) Negated simple condition and 

6) Compound condition.

 

Posted Date: 10/17/2012 1:33:20 AM | Location : United States







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

Write discussion on Condition - cobol programming
Your posts are moderated
Related Questions

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

PROCEDURE DIVISION statements for the indexed files: All the statements which are available for a relative file are also available for an indexed file. READ STTATEMENT :

MULTIPLY VERB:   The Multiply Verb causes one or more multiplicands to be multiplied by the multiplier and to store the products. The form of the MULTIPLY verb is as shown be

OPEN statement: We know that the processing of a file should start with the execution of an OPEN statement. The file can be opened in any one of the 4 open modes - INPUT, OUTP

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

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic

PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.