Credit and debit sign - edit characters for numeric data, COBOL Programming

CR and DB (Credit and Debit Sign):

The two characters that is CR or DB symbol may appear only at the rightmost place of the picture. They are similar to the minus sign edit character. In another words, the symbols CR or DB will appear in the rightmost place, only if the item is negative, or else they will be replaced by two space characters.

Examples:

1491_Credit and Debit Sign -.png

Posted Date: 10/16/2012 4:09:36 AM | Location : United States







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

Write discussion on Credit and debit sign - edit characters for numeric data
Your posts are moderated
Related Questions
MERGE VERB WITH OUTPUT PROCEDURE: Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:   The r

Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t

CLASS CONDITION:   The class condition establishes whether or not the value of the operand is numeric or alphabetic. The operand is numeric if it contains only the digits 0 t

PROGRAM FOR IF -ELSE: We have to write a program to check whether the given number is ODD or EVEN. You can use IF..ELSE. Identification division. Program- id. IfElse.

Illustration of indexed tables: Index items defined through the INDEXED phrase of the OCCURS clause are one type of indexes. There can be other type of index items that are de

Floating Insertion   The currency symbol ($) can emerge in multiples on the left-hand side of the picture. In this situation the character will be treated in similar way as t

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

Literals: The actual values can too appear in a program. These values are termed as literals. For illustration, the statement MOVE 0 TO TOTAL indicates that the value zero wil

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 identif

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external