Minus sign - edit characters for numeric data , COBOL Programming

Minus sign - edit characters for numeric data:

The minus sign can appear either at the leftmost or rightmost location of the picture. If an item is negative, a minus sign will be inserted in the said place. On the other hand, if the item is positive, the space character will be inserted.

Examples:

823_Minus sign.png

         869_Minus sign1.png

 

Posted Date: 10/16/2012 4:06:37 AM | Location : United States







Related Discussions:- Minus sign - edit characters for numeric data , Assignment Help, Ask Question on Minus sign - edit characters for numeric data , Get Answer, Expert's Help, Minus sign - edit characters for numeric data Discussions

Write discussion on Minus sign - edit characters for numeric data
Your posts are moderated
Related Questions
When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

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

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

Illustration of perform statement: PERFORM    CALCUALTE-TAX. In this illustration, the CALCULATE-TAX is either a section name or paragraph name. Assume that it is a section

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

Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

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

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.