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
Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

Example of read statement: Illustration: READ OLD-MASTER AT END MOVE ZERO TO END-OF-RECORDS. As a result of this statement, generally the next record from the OLD-MAST

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

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

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

Picture Clause: The picture clause explains the general characteristics of an elementary data item. These characteristics are elaborated below: Class: In COBOL the

PROGRAM FOR ADD VERB: We have to write a simple program to elaborate the ADD verb. You can also use edit characters in the program. Identification division. Program- id.