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
PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

can we move spaces to numeric field

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

MULTIPLY VERB:   The Multiply Verb causes one or more multiplicands to be multiplied by the multiplier and to store the products. The form of the MULTIPLY verb is as shown be

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

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.

Display control verbs in Cobol

INPUT-OUTPUT SECTION: This section holds information regarding the files to be used in the program. There are 2 paragraphs in this section- FILE-CONTROL & I-O-CONTROL. The

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE

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