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
Common form of the READ statements: Format 1 is the common form of the READ statements. Format 2 is used when the access mode is either random or dynamic. For illustration,

SUBTRACT VERB: The SUBTRACT verb is used to subtract one, or the sum of two or more numbers from one or more numbers and to store the result. The form of the SUBTRACT verb

PROGRAMS FOR REDEFINES CLAUSE: We have to write a simple program to explain the REDEFINES clause at 01 level. identification division. program- id. Redef. environment

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

Format for COBOL Programs: The COBOL is a high-level language. Therefore, a COBOL program can be executed on a computer for which a COBOL compiler exists. The compiler transla

Example of condition names: The illustration below is of the use of the condition names  77  MARITAL-STATUS     PIC    9   88  SINGLE    VALUE    IS     ZERO   88  MA

PERFORM WITH UNTIL OPTION: The format is as shown below: Illustration:  A) Perform p-3 until i > 5. Here p-3 will be executed whenever i B)  Perform p-2 thru

CONDITION - COBOL Programming: The condition is an entity which at one point of time can have only one of the two values - true or false. As we already know that, the IF verb

TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

we have input file ,record layout is EMP ID (6 char) , EMP NAME (20 char), Designation (3 char),Salary (5 digit) Base Branch (10char) Grade (3 Alphanumeric). This is the input file