Examples - edit characters for numeric data, COBOL Programming

Examples - Edit characters for numeric data:

The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character and the character ^ is used to indicate the position of the decimal point.

2460_Examples - Edit characters for numeric data.png

* (Asterisk):

The edit character * (asterisk) is similar to Z except that the leading zeros are substituted by the asterisks instead of the space characters.

Examples:                          

    1971_Examples - Edit characters for numeric data1.png

Posted Date: 10/16/2012 4:02:57 AM | Location : United States







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

Write discussion on Examples - edit characters for numeric data
Your posts are moderated
Related Questions
WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

PROGRAM TO DEMONSTRATE MERGE VERB: The two files for which a record having 2 fields viz. Account Number and Name are already available. Now Merge these two files and create a

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

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

RELATIONAL CONDITION:   We know that a relational condition specifies a comparison between two operands and has the form.     Operand-1    relational-operator   operand-2

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

Rules for apply for the condition name: The rules below apply for the condition name. (i) The Condition names should be explained at level 88. The level number starts in ma

SIGN CONDITION:   The sign condition establishes whether or not the algebraic value of an operand is negative, positive or zero. The operand can be either the numeric identif