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
LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

Example of constructing an arithmetic expression: An arithmetic expression may be proceeded by a + or - sign. These operations are known as unary + or unary - operators. Il

DATA RECORD CLAUSE: The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3diffe

RULES FOR INDEXED TABLES: The rules of indexing a table with an INDEXED phrase are as shown below: (1) If indexing is completed for any one level of a table, then indexing

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

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

Column and Field in COBOL program: In COBOL there are 2 types of entries termed as margin A and margin B entries. The Margin A entries start from the column 8, 9, 10 or 11 and

FILE-CONTROL paragraph for the relative files: The normal format for the SELECT clause for a relative file is as shown below. SELECT  file-name  ASSIGN  TO  implementor-nam

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of