Abbreviation of compound condition, COBOL Programming

Abbreviation:

The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown:

(i) When the subjects in the consecutive relational conditions are equal, the subject may be omitted from the one where it appears first.

(ii) Whenever the subjects and relational operators in the consecutive relational conditions are same, the subject as well as the relational condition may be omitted, the subject as well as the except from the one where they appear.

 

Posted Date: 10/17/2012 1:48:35 AM | Location : United States







Related Discussions:- Abbreviation of compound condition, Assignment Help, Ask Question on Abbreviation of compound condition, Get Answer, Expert's Help, Abbreviation of compound condition Discussions

Write discussion on Abbreviation of compound condition
Your posts are moderated
Related Questions
Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t

PROGRAM FOR IF :   We have to write a program to check whether the given number is ODD or EVEN. Identification division. Program- id. Ifst. Environment division.

Illustration of Divide verb: (a) DIVIDE 5 INTO A. If the value of A is 20, then after execution of this statement the value of A will be 4. The older value of A will be los

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

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati

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

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

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