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

Example of Perform statement: PERFORM BEGIN-CALCULATION THRU END-CALCULATION. Assume, BEGIN-CALCULATION and END-CALCULTION is paragraph names. The execution of the PERFORM

Example of Special-names: Consider the illustration: Let the SPECIAL-NAMES paragraph be as shown: SPECIAL-NAMES. CHANNEL 1 IS PAGE-TOP. The Channel is related with the t

BLANK WHEN ZERO: BLANK WHEN ZERO is an editing clause that may be used along with a picture. This will set the whole data item to blanks of its value is equal to zero. Though,

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

FILE-CONTROL paragraph for the indexed files: The common format for the SELECT clause for a file is as shown below: SELECT  file-name  ASSIGN   TO  implementor -name

RENAMES CLAUSE: At times re-grouping of an elementary data items in a record may be essential so that they can belong to the original as well as to the latest group. This is o

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

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

cobol program for generate a eb bill