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
Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio

START STATEMENT: The START statement places the files to the initial logical record whose record key satisfies the condition specified by the KEY phrase. The access mode shoul

LEVEL NUMBERS: The COBOL makes use of the level number concept to explain the hierarchical data structure. A level number is a 2 digit number. The permitted level numbers a

PROGRAM FOR DIVIDE VERB:   We have to write an easy program to elaborate DIVIDE verb. You can also use edit characters in the program. Identification division. Program-


PROGRAM FOR SCREEN SECTION WITH FILES: identification division.   program- id.   environment division.          input-output section.   file-control.     select

READ STATEMENTS: The common format for the read statements is as shown bellow. Format 1: READ file-name RECORD [ INTO   identifier ] [  ;  AT   END     imperative-s

Example of compound condition: In common, a compound condition has the form which is as shown below: Where condition-1 & condition-2 can be any one of the below:

ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below: