Figurative constants - cobol program, COBOL Programming

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.

Consider the statement as shown below:


Here value 0 will be moved to the COUNTER by the compiler, as it recognizes ZERO and sets the COUNTER with 0. The list of figurative constants is shown below:

Figurative            Constant Meaning


ZEROS                     value 0



SPACES                   One or additional blanks


HIGH-VALUES      The Highest value in the Collating sequence


LOW-VALUES       Lowest value in the Collating sequence


QUOTES                one or more of "

ALL literal              one or more of string characters comprising the literal


Posted Date: 10/16/2012 3:34:14 AM | Location : United States

Related Discussions:- Figurative constants - cobol program, Assignment Help, Ask Question on Figurative constants - cobol program, Get Answer, Expert's Help, Figurative constants - cobol program Discussions

Write discussion on Figurative constants - cobol program
Your posts are moderated
Related Questions
WRITE STATEMENT: The WRITE Statement verb releases a record in an output file. The syntax for the WRITE statement can be unlike depending on the output device and the medium us

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

single program how may when statement has used

INPUT AND OUTPUT PROCEDURE IN SORT STATEMENT: The common format of the SORT statement can write as shown below: The format of the RELEASE statement is as shown be

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

I need help with a COBOL programming assingment. I have started the program but I need help completing the program. I have 5 errors. Here is the question. 10. Suppose your company

SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few

ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common

Block Size: The normal practice is to group a number of consecutive records to form that is termed as a block or a physical record. The number of records in a block is frequen

Edit Characters for Numeric Data: The characters below can be used in the PICTURE clause to indicate the editing.   Z    *  $  -    +    CR    DB    .    ,    B    O    /