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
PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a

How do I move a single QUOTE to a field or set the value clause? "''" does not work?

Illustration of Renames clause: In the illustration, PAT-OTHER-THAN-BASIC will become a fresh group consisting of DEARNESS-ALLOWANCE, HOUSE-RENT & MTHLY-INCENTIVE. Keep in min

, (Comma) : A comma, whenever used in a picture, is considered as an insertion character and inserted wherever it become visible. There can be more than one comma in the pictu

Example of Class condition: Let the BASIC-PAY be a data name in the card record defined with picture 9(5) V99. By reading the card we can test the value of the BASIC-PAY to ma

DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

Illustration of Divide verb: (a) DIVIDE 5 INTO A. If the value of A is 20, then after execution of this statement the value of A will be 4. The older value of A will be los

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,

Non numeric: The nonnumeric literal is used in normal to output messages or headings. The Characters which are enclosed between " " constitute nonnumeric literal. The maximum

PROGRAM FOR PERFORM ...UNTIL We have to write a program to find the sum of "n" natural numbers. Identification division. Program- id. PerfUntil. Environment division.