Sign condition - cobol programming, COBOL Programming

SIGN CONDITION:

 The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identifier or an arithmetic expression. The format of this condition is as shown below:

 

2458_sign condition.png

When an arithmetic expression is used, it should contain at least one of the identifier. The POSITIVE option establishes the value of the condition to be true only if the value of the operand is firmly positive. This means that the zero value is not considered as positive. 

 

Posted Date: 10/17/2012 1:38:54 AM | Location : United States







Related Discussions:- Sign condition - cobol programming, Assignment Help, Ask Question on Sign condition - cobol programming, Get Answer, Expert's Help, Sign condition - cobol programming Discussions

Write discussion on Sign condition - cobol programming
Your posts are moderated
Related Questions
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

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

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as 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:

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

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.

FILE DESCRIPTION- FIXED-LENGTH RECORDS: The normal characteristics of a file are explained in the file description (FD) entry of the DATA DIVISION.

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

Example of Open statement: Illustration: The OPEN INPUT TRANSACTION, OLD-MASTER OUTPUT NEW-MASTER. The illustration represents that there are two input files named the