Cobol words, COBOL Programming

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.

(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
Example of Open statement: Illustration: The OPEN INPUT TRANSACTION, OLD-MASTER OUTPUT NEW-MASTER. The illustration represents that there are two input files named 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

cobol program for generate a eb bill

Illustration of the abbreviation: A few illustration of the abbreviation are given below: Illustration: The compound condition  AMOUNT GREATER THAN 499 AND AMOUNT L

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

Example of add verb: (a) ADD A TO B. This illustration represents that the value of A will be added to the value of B and the result will be stored in B.  The alignment of

PROGRAM FOR SCREEN SECTION:  identification division.   program- id.   environment division.   data division.   working-storage section.   01  a pic 9(2) value

/ (Slash Insertion): The edit character slash (/) also termed as virgule or stroke, may appear anyplace in the picture. When used, it will be inserted. More than one slash can

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

PROGRAM FOR RENAMES CLAUSE: identification division. program- id. environment division. data division. working-storage section. 01 emp.      02 empdet.