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
REWRITE statement: The REWRITE statement is used to update the existing record in a disk file. The normal format is as shown below: REWRIE  record-name  [  FROM      ide

Illustration of simple sort verb: Illustration: Suppose that we have a card file with the following records description in the data division. The names of the work fil

FD Entry for variable-length Records: The RECORDS CONTAINS and BLOCK CONTAINS clause are quite dissimilar in the case of files with variable- length records. The syntax of the

CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

Example of Move corresponding: Consider the DATA DIVISION entries shown below. Suppose it is needed that the data stored in the 4 fields of the PAY_REC should be

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

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

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,

REWRITE STATEMENT: As in the situation of a relative file, the REWRITE statement needs that the file should be opened in the I-O mode, and if the SEQENTIAL access mode is spec

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE