Point location - picture clause, COBOL Programming

Point Location:

The position of the decimal point is the other characteristic which can be specified in the case of the numeric data items. If the position is not specified, then the item is considered to be an integer that means that the decimal point is positioned instantly after the rightmost digit. It may be noted that in the COBOL the decimal point is not explicitly involved in the data. The position of the decimal point is just an assumed position.

The compiler at the time of compilation makes only a note of this assumed decimal point. It makes the object code in such a way that the data items before taking part in the operations are aligned according to their assumed decimal points.


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

Related Discussions:- Point location - picture clause, Assignment Help, Ask Question on Point location - picture clause, Get Answer, Expert's Help, Point location - picture clause Discussions

Write discussion on Point location - picture clause
Your posts are moderated
Related Questions
PROGRAM FOR PERFORM - VARYING: We have to write a program to elaborate PERFORM ...VARYING Identification division. Program- id. PerfVary. Environment division. Dat

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

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

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

VALUE CLAUSE: The value clause defines the preliminary value of the data item. Normally initialization will be completed just before the first statement in the procedure di

PROGRAM TO DEMONSTRATE SORT VERB: The file for which a record having 2 fields, viz., Account Number and Name is already available. Sort the file based on the ascending order o

Occurs Clause: Let us establish tables with the help of an illustration. Assume that there are ten different types of income-tax rates that are read from some input medium and

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,