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
NESTED IF STATEMENT:   The then and else statement of an IF statement can hold other IF statements. The involved IF statements in their turn may also hold other IF statements

Illustration of Subtract verb: (a) SUBTRACT A FROM B. This illustration means that the value of A will be subtracted from the value of B and the subtracted result will be s

SEQUENTIAL FILE CREATION AND REWRITING: We have to write a program to create a student file with just two fields: sno i.e. Student Number and same i.e. Student Name. Add a few

DIVIDE VERB: The aim of the DIVIDE verb is to divide one number by the other and to store the result.  There are few forms of this verb. One of its forms is as shown below:

MULTI-DIMENSIONAL TABLES: The type of table which has been considered above is known as one-dimensional table. Whenever a table is such that each of its elements in turn is a

Rules for constructing an Arithmetic Expression: The rules for constructing an arithmetic expression are as shown below: (i) When an arithmetic expression specifies a calcu

SEQUENTIAL FILES:   The purpose of the proposed section is to introduce the concepts such as File characteristics, File Description for Fixed-Length Records, File-Control

LABEL RECORD CLAUSE: This clause specifies whether or not the standard header and trailer labels must be present in the magnetic-tape files. VALUE OF CLAUSE: The VAL

Example of condition names: The illustration below is of the use of the condition names  77  MARITAL-STATUS     PIC    9   88  SINGLE    VALUE    IS     ZERO   88  MA