Valid and invalid word - cobol words, COBOL Programming

Valid and Invalid Word - Cobol words:

Valid Word             Invalid Word & Reason

emp-sal                  -pay   ( it starts with a hyphen)

 TOTAL MARK (blank space embedded)

There are 2 types of words in the COBOL. The COBOL word can be either a user-defined word or reserved word. The reserved words are used in the COBOL statements and entries for the specific aims by the COBOL compiler.

Some reserved words are shown below:

IF, PERFORM, ADD, SUBTRACT, MULTIPLY, DIVIDE etc.

 

 

 

 

 

 

 

 

Posted Date: 10/16/2012 3:29:32 AM | Location : United States







Related Discussions:- Valid and invalid word - cobol words, Assignment Help, Ask Question on Valid and invalid word - cobol words, Get Answer, Expert's Help, Valid and invalid word - cobol words Discussions

Write discussion on Valid and invalid word - cobol words
Your posts are moderated
Related Questions
MERGE VERB WITH OUTPUT PROCEDURE: Like the sort verb, the merge verb can also have an output procedure. The syntax of the MERGE verb is as shown below:   The r

INDEXED SEQUENTIAL FILES: In the indexed sequential files which are also known as indexed files, the records are stored in the sequence order generally in ascending order. In

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

Group Item as Operand in the Relational Condition: Whenever an operand of a relational condition is the group item, the item is then considered to be an alphanumeric field. Th

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

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

Currency Sign - edit characters for numeric data: $ (Currency Sign): The single currency sign can appear at the leftmost place of a picture. In that situation the $ cha

Write a COBOL IF sentence to use the values of numeric variables EXAM and COURSEWORK , both assumed to be with format PIC 999 and in the range 0 to 100 and to move the value: