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
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

SEARCH VERB: The SEARCH verb is used to position elements in one-dimensional tables. Let us consider the following problem. Assume that each element of a table consists of thr

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item

Example of Accept statement: For illustration, ACCEPT FLAG-A can be specified to read the value of the FLAG_A from the console. It may be keep in mind that no file definition

Example of Redefines clause: This illustration describes a sales record that may either contain the total amount of sale or the quantity (QTY) and UNIT-PRICE. The aim of such

PROGRAM FOR INDEXED SEQUENTIAL FILE CREATION (RANDOM MODE): We have to write a program to create an Indexed Sequential File in random mode for Student particulars. Suppose jus

Buffers: The Modern computers are able of handling I-O operations independent of the CPU by means of the hardware termed as data channel. For illustration, if two buffers a

Illustration of Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio

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

Object-Computer - Configuration section: The computer name specifies a specific computer on which the object program is to be executed. The MEMORY SIZE is used to show the