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
PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

PROGRAM FOR SIMPLE PERFORM: We have to write a program to elaborate simple PERFORM statement Identification division. Program- id.  Perf1. Environment division. Da

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION: We have to write a program to create an Indexed Sequential File in a dynamic mode for Student particulars. Suppose just 3 fields:

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show 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.

77 level used for- It is Elementary level item. it Cannot be subdivisions of other items or cannot be qualified, or they can be subdivided themselves.

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

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

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

calculate simple interest