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
There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

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

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

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

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

OCCURS CLAUSE - PROGRAM: We have to write a program to elaborate occurs clause. Get names and marks of the students and show them on the screen.   identification division.

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0