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

We have input file, record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input f

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

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

Sign - Picture clause: The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treat

Figurative Constants: The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

OCCURS - INDEXED BY PROGRAM: identification division. program- id. searching. environment division. data division. working-storage section. 01 table1.      0

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

Direct Organization: Besides the relative or indexed organization, also a direct access file can be designed to have what is termed as direct organization.  In this organizati