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
DELETE STATEMENT: The format of the delete statement is as shown below: DELETE   file-name RECORD   [  ;   INVALID   KEY  imperative-statement  ] Whenever the ACCESS MOD

Example of If- else statement Illustration:   IF   QUANTITY IS NUMERIC AND QUANTITY IS POSITIVE          MOVE ZERO TO ERROR-CODE. COMPUTE SALES VALUE=QUANTITY*RATE


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

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 :

Comparison of Nonnumeric Operands: A nonnumeric operand can be compared to the other nonnumeric operand according to the rules as shown below: (i) Fields of Equal Sizes:

Size: The number of characters or digits needed to store the data item in the memory in termed as the Size of the data item. All the 4 general characteristics explained can

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

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

Illustration of Multiply verb: (a)  MULTIPLY A BY B. In this situation the value of A & B will be multiplied and the product will be stored in B.  The decimal point locatio