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
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

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.

BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS

Character Set: To study any language, first one should know the alphabets of the language and they are termed as character set in general. There are 50 different characters in

Illustration of if- else statement: IF OK-BALANCE NEXT SENTENCE ELSE MOVE 2 BALANCE-CODE In this illustration, the OK-BALANCE is a condition name. No action is specific if

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

B (Blank Insertion) : The occurrence of a B anyplace in the picture will insert a space character in the edited data. There can be more than one B in the picture. Examples:

REDEFINES CLAUSE: At times it may be found that two or more storage regions defined in the DATA DIVISION are not in use concurrently. In such situations only one storage regio

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

SIMPLE MERGE VERB: Like sorting, the merging of files is often required in different commercial application. It is likely to merge two or more files with the help of one MERGE