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
RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript

PICTURE specification: The size of a group item is equivalent to the total of the sizes of all the subordinate elementary items. The group item class is alphanumeric. The i

Program for Sequential File Creation & Rewriting  We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.

PROGRAM FOR INVENTORY  We have to write a program to update the inventory file. Consider 2 files,viz, invfile an tranfile. Invfile has 3 fields pno,name,qty. Tranfile has 3 fil

The LENDER Bank offers mortgages on homes valued up to $500,000. The required down payment is calculated as follows: 4% of the first $60,000 borrowed 8% of the next $30,000 borro

Rules of read statements: The next record is identified according to the rules as shown below: (i) Whenever the READ NEXT statement is the initial statement to be executed

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the

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,

Format for COBOL Programs: The COBOL is a high-level language. Therefore, a COBOL program can be executed on a computer for which a COBOL compiler exists. The compiler transla

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr