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
There are some restrictions when these procedures are used. (i) The Procedure should not contain any SORT/MERGE statement. (ii) An explicit transfer of the control outside

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o

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,

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1

Name the divisions in a COBOL program are given below DENTIFICATION DIVISION DATA DIVISION ENVIRONMENT DIVISION PROCEDURE DIVISION.

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

Point Location: The position of the decimal point is the other characteristic which can be specified in the case of the numeric data items. If the position is not specified, t

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

Illustration of Search verb: To illustrate the other use of SEARCH verb, assume we wish to search the similar tab to find the number of persons whose deposited amount is more