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
CLOSE statement: The simplified syntax of the CLOSE statement is as shown below:   CLOSE          file-name-1   [WITH   LOCK   ]                         [  , file-

Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

FILE-CONTROL: The FILE-CONTROL paragraph names each and every file and identifies the first medium through file control entries. The basic format of a file control entry is gi

Example of condition names: The illustration below is of the use of the condition names  77  MARITAL-STATUS     PIC    9   88  SINGLE    VALUE    IS     ZERO   88  MA

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:

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

IF ... ELSE STATEMENT: We are familiar with an easy form of the IF statement. The common form of the IF statement is as shown below: Each of the statement-1 and statem

Example of Nested if statement: Illustration: Consider the following sentence The nested IF sentence holds two IFs and one ELSE. The IF-ELSE couple has been marke