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

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

Character Set: To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in

Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

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

The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro

Structure of a COBOL Program: Every COBOL program should have the 4 divisions in the order in which they are specified below: 1. Identification division 2. Environment D

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i