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
ON SIZE ERROR OPTION: Whenever a size error occurs, the contents of the result field after the operation is unpredictable.  Though, the processing is not-terminated and the co

NONSTANDARD CLAUSES: The various clauses explained above are as per the ANSI standard. Also, most compilers provide for additional nonstandard clauses to meet the specific nec

Floating Insertion   The currency symbol ($) can emerge in multiples on the left-hand side of the picture. In this situation the character will be treated in similar way as t

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

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

DATA RECORD CLAUSE: The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3diffe

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.

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

PROGRAM FOR ADD CORRESPONDING: We have to write a simple program to demonstrate Add Corresponding.   identification division.   program- id.   environment division.

UPDATING OF THE RELATIVE AND INDEXED FILES: The Sequential files are updated by creating a new master file from an existing old master file and a transaction file. Such an Upda