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
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

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

Introduction to MOVE Verb: The aim of this section is to introduce the learner how to move data from one place to the other place in the memory. This is completed with the help


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

When using the accept verb in cobol is it possible to assign something other then "SYSIN" for a ddname?

Example of Write statement: Illustration: (i) WRITE TRANS-RECORD AFTER ADVANCING 3 LINES. This WRITE statement specified that the TRANS-RECORD is a record name of a fi

Sign - Picture clause: The numeric data item can be signed or unsigned. If a numeric data is regarded as unsigned then during the execution these unsigned data items are treat

DECLARATIVE and FILE STATUS Clause: The input-output exception condition in the situation of a direct access files can be handled by a declarative procedure in a manner simila

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-