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
ACCEPT STATEMENT: The ACCEPT statement is used to read the low-volume data from the operator's console, several other hardware device or from the operating system. The common

Environment Division: The Environment Division is the second division in the COBOL source program. It is mainly machine-dependent . The computer and all the peripheral dev

COMPUTE VERB: The COMPUTE verb is very powerful. All the evaluations performed by the other 4 verbs can also be completed easily by using the COMPUTE verb. Its normal format i

Rules of read statements: The next record is identified according to the rules as shown below: (i) Whenever the READ NEXT statement is the initial statement to be executed

.(Period or Decimal Point) : The period may be used to insert a decimal point and may not come into view more than once. Both the period and V cannot appear in similar picture

Rules for Simple sort verb: The work file is to be defined by a sort elaboration entry (SD entry).The format of SD entry is as shown below. The rules below should be taken

DISPLAY STATEMENT:   The function of the DISPLAY statement is just opposite to that of the ACCEPT statement. It is used to display the low-volume results on the operator's co

DATA RECORD CLAUSE: The DATA RECORD clause, documents the record names defined for the file. For illustration, DATA RECORDS ARE REC-1, REC-2, REC-3 that means there are 3diffe

FD Entry for variable-length Records: The RECORDS CONTAINS and BLOCK CONTAINS clause are quite dissimilar in the case of files with variable- length records. The syntax of the

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