Non numeric literals - cobol program, COBOL Programming

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 number of characters which are allowed within the two quotation marks is compiler dependent.

Valid Nonnumeric Literal

"BHARATHIAR"

"DATA DIVISION"

"100.50"

"HOUR/RATE"

Invalid Nonnumeric Literal

7                               (valid as numeric literal but invalid as Nonnumeric literal)

"nine                        (Invalid as there is no quotation mark on the right)

12.5"                        (Invalid as there is no quotation mark on the left)


Posted Date: 10/16/2012 3:33:13 AM | Location : United States







Related Discussions:- Non numeric literals - cobol program, Assignment Help, Ask Question on Non numeric literals - cobol program, Get Answer, Expert's Help, Non numeric literals - cobol program Discussions

Write discussion on Non numeric literals - cobol program
Your posts are moderated
Related Questions
TO WRITE A QUADRATIC EQN ROOTS ARE COMPLEX IN COBOL PROGRAM

cobol program for generate a eb bill


Comparing features of oracle rdbms with Mysql

Examples - Edit characters for numeric data: The following illustration illustrates the use of Z editing characters. The character b is used to indicate the space character an

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

OPEN STATEMENT: Whenever a READ or a WRITE operation is executed on a file, then it should be open. The opening of a file may be completed with the help of the OPEN verb. With

Concept of a two-dimensional table: Concept of a two-dimensional table can be easily extended to tables having three or more dimensions. The Handling of tables up to three dim

DELETE STATEMENT : The file should be opened in the I-O mode. If the access is SEQUENTIAL, the INVALID KEY phrase must be specified. Rather than, the last input-output state

calculate simple interest