Cobol words, COBOL Programming

COBOL Words:

The COBOL word can be formed by using the characters as shown below:


A-Z (a-z) - (hyphen)

The rules below should be hold in forming the COBOL words.

(1) A word cannot start or end with a hyphen.

(2) A word can have at the utmost 30 characters.

(3) One of the characters should be a letter. Some compilers put the additional restrictions which the first character should be a letter.

(4) Except hyphen (-) no special character allowed.


Posted Date: 10/16/2012 3:28:25 AM | Location : United States

Related Discussions:- Cobol words, Assignment Help, Ask Question on Cobol words, Get Answer, Expert's Help, Cobol words Discussions

Write discussion on Cobol words
Your posts are moderated
Related Questions
Record Description for the Variable-length Records: When the variable- length records consists of records of various lengths, each record type is to be explained at level 01 f

MOVE CORRESPONDING: It is frequently required to move some of the data items of one group to some other data items in the other group. If the names of the equivalent data item

PROGRAM USING OCCURS CLAUSE: We have to write a simple program to demonstrate Occurs Clause. Get the employee details for 3 persons and compute the total salary. identifica

READ STATEMENTS: The common format for the read statements is as shown bellow. Format 1: READ file-name RECORD [ INTO   identifier ] [  ;  AT   END     imperative-s

ARITHMETIC VERBS: Most of the problems need some computations to be performed on the input or intermediate data that are numeric in nature. The Arithmetic verbs are used to pe

Example of File-control: The assign clause assigns a specific physical peripheral device name to a file. The physical peripheral device are machine-dependent. We use the devic

READ STATEMENT: The aim of this verb is to make available the next logical record from the input file. It is important to note the meaning of the "next" logical record in the

Evaluate is like a case statement & Evaluate  stamenet can be used to replace nested Ifs. The difference b/w EVALUATE and case is that there is no 'break' is required for EVALUATE

Illustration of nested if statement: Consider the nested sentence which is as shown below: The IF-ELSE pairs in this sentence can be detected by applying the rule whic

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