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:










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
Selection of file Organization: While designing a file, the programmer should select an appropriate association for a file. The order in which the choice is to be made is as s

Abbreviation: The Consecutive relational conditions in a compound condition can be abbreviated in many cases as shown: (i) When the subjects in the consecutive relational c

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.

Program for Sequential File Creation & Rewriting  We have to write a program to create a Length file with just two fields: l (Length) and l-c (Length-Code). Add a few records.

PERFORM WITH VARYING OPTION: The format is as shown below:

Comparison of Numeric Operands: We are well-known with the kind of the relational condition where both the operands are numeric. The comparison in this situation is algebraic

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

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    /

COBOL Words: The COBOL word can be formed by using the characters as shown below: 0-9 A-Z (a-z) - (hyphen) The rules below should be hold in forming the COBOL words.