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
CLOSE STATEMENT: When the processing of a file is completed, then the file may be closed. This is completed with the help of the CLOSE-verb. The form of the CLOSE statement is

PROCEDURE DIVISION statements for the indexed files: All the statements which are available for a relative file are also available for an indexed file. READ STTATEMENT :

RESERVE clause: This clause indicates the number of buffers to be used for the file. Integer-1 specifies this number. ORGANIZATION/ACCESS clause: These two clause

OPEN statement: We know that the processing of a file should start with the execution of an OPEN statement. The file can be opened in any one of the 4 open modes - INPUT, OUTP

Configuration Section: This section holds an overall specification of the computer used for the purpose of the compilation and execution of the program. There are in all 3 par

Display control verbs in Cobol

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

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

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-

PROGRAM FOR MASTER FILE MAINTENANCE: We have to write a program to keep the stu-file for which a record has just 2 fields,viz., rno(Roll Number) and name(Student Name). Give t