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
ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common

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

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.

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

CR and DB (Credit and Debit Sign): The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit ch

How do I move a single QUOTE to a field or set the value clause? "''" does not work?

PROCEDURE DIVISION statements for the relative files: The statements OPEN, CLOSE, READ, WRITE and REWRITE that are available for sequential files are also available for the re

REWRITE statement: The REWRITE statement is used to update the existing record in a disk file. The normal format is as shown below: REWRIE  record-name  [  FROM      ide

PROGRAM FOR ELECTRICITY BILL: An electricity company supplies electricity to 4 types of customers coded 1, 2, 3 & 4.The rate schedule for customers is shown in one table as

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