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
OPEN statement: We know that the processing of a file should start with the execution of an OPEN statement. The file can be opened in any one of the 4 open modes - INPUT, OUTP

PROGRAM FOR SUBTRACT VERB: We have to write a simple program to elaborate the SUBTRACT verb. You can also use edit characters in the program. Identification division. Pr

SEQUENTIAL FILES WITH THE VARIABLE-LENGTH RECORDS: The Magnetic - tape or disk files can hold variable-length records. In this situation the file can have records with various

FILE STATUS clause: This clause has been involved in the above syntax for completeness. The ORGANIZATION, REVERSE, ACCESS and STATUS clause can be specified in any order.

WRITE STATEMENT: The records are written to be logical place as determined from the value of the record key. The INVALID KEY condition occurs in the cases shown below: (i)

Identification Division: The Identification Division is the first division of each and every COBOL source program. The paragraph PROGRAM-ID is necessary in most of the mac

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

BLOCK CONTAINS CLAUSE: Integer -1 of the BLOCK CONTAINS clause indicates the block size either in terms of records or in terms of characters. For illustration, BLOCK CONTAINS

THE SIMPLE SORT VERB: The process of sequencing the records in some preferred manner is termed as sorting. The Sorting is done upon some key data item in the record. For illus

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external