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
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

File Description for the Relative and Indexed Files: The FD entry for a relative or an indexed file is similar to that of a sequential file. Some compilers do not permit varia

I uploaded a file from PC to Mainframe, variable LRCL 256. In my COBOL program I defined it as FD INPUT-FILE LABEL RECORDS ARE OMITTED BLOCK CONTAINS 0 RECORDING MODE

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

RULES OF REDEFINES CLAUSE The rules shown below govern the use of the REDEFINES clause: (i) The level-number of data-name-1 and data-name-2 should be identical. (ii) Exce

WRITE statement: The WRITE statement for tape and sequential-disk files has the syntax shown below. WRITE            record-name      [  FROM    identifier   ] As a resu

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

Valid and Invalid Word - Cobol words: Valid Word             Invalid Word & Reason emp-sal                  -pay   ( it starts with a hyphen)  TOTAL MARK (blank space em

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

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