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
Transaction file : A transaction file is a file which contains new records those changes to old records which are used to update the master file. The problem of file updatio

PROGRAM FOR DIVIDE VERB:   We have to write an easy program to elaborate DIVIDE verb. You can also use edit characters in the program. Identification division. Program-

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

ADD VERB: The ADD Verb can be used to find the sum of two or more numbers and to store the sum.  The ADD verb takes any one of the two forms as shown below:

Figurative Constants: The Figurative constants have several fixed names and the compiler recognizes these names and it sets up the equivalent values in the object program.

PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

OCCURS CLAUSE - PROGRAM: We have to write a program to demonstrate the occurs clause. Get names of the students and show them on the screen.  identification division.

Label Records / Disk Directory: The most important information stored in the header label is what is termed as the file title. In the situation of magnetic-disk files the labe

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

Illustration of Perform with varying option: A) Perform para-3 varying the k from 1 by 1 until k > 10. Here para-3 will be constantly executed 10 times (For k=1,2,3, .....1