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
PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

NEGATED SIMPLE CONDITION: Any of the easy condition explained can be preceded by the logical operator NOT. The consequence of placing the operator NOT before an easy condition

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

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

RELATIVE FILES: The Files that are stored on a direct access storage medium like magnetic disk are frequently known as direct access files. The COBOL supports three different

, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu

WRITE Statement:      The WRITE statement for a relative file has the format which is as shown below.          WRITE  record-name   [ FORM   identifier ]

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT  file-name  ASSIGN   TO  implementor -name

IF STATEMENT: The easiest form of the IF statement is  IF condition-1 statement-1 where the condition-1 may be any one from the shown below. When the condition-1