Edit characters for numeric data, COBOL Programming

Edit Characters for Numeric Data:

The characters below can be used in the PICTURE clause to indicate the editing.

  Z    *  $  -    +    CR    DB    .    ,    B    O    /

The use of these edit characters are elucidate below:

Z (Zero Suppression) :

The edit character Z is used to repress the leading zeroes in the numeric data item. The leading zeroes are substitute with blanks.

The Z character has no effect of trailing the zeroes.

 

Posted Date: 10/16/2012 3:54:16 AM | Location : United States







Related Discussions:- Edit characters for numeric data, Assignment Help, Ask Question on Edit characters for numeric data, Get Answer, Expert's Help, Edit characters for numeric data Discussions

Write discussion on Edit characters for numeric data
Your posts are moderated
Related Questions
TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

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

PROGRAM FOR MULTIPLY VERB: We have to write a simple program to elaborate MULTIPLY verb. You can also use the edit characters in the program. Identification division. Pr

ADD and SUBTRACT CORRESPONDING: The CORRESPONDING option can also used with the ADD and SUBTRACT verbs. The following are some of the formats of these verbs with the CORRESPON

Data types available in COBOL are given below Alpha-numeric (X), numeric (9), alphabetic (A)

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

Abbreviation: The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown: (i) When the subjects in the consecutive relational c

LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

OPEN statement: We know that the processing of a file should start with the execution of an OPEN statement. The file can be opened in any one of the 4 open modes - INPUT, OUTP

PROGRAM FOR SIZE ERROR:   We have to write an easy program to elaborate the size error option. Identification division. Program- id. sizeerr. Environment division.