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
Numeric -   Literals : The numeric literal can be created with the help of digits only. It can have a sign (+ or -) and can also have a decimal point. If no sign is specifi

PROGRAM FOR PERFORM - THRU: We have to write a program to elaborate PERFORM ...THRU statement Identification division. Program- id.  Perfthru. Environment division.

PERFORM WITH TIMES OPTION: The format of a PERFORM TIMES statement is as shown below: Illustration:   A)  Perform the para-2 5 times. In this situation the specifie

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.

File- Section &Working-Storage Section: a) FILE SECTION: The FILE SECTION includes the explanation of all data items that must be read from or written onto some external

what does it used

RULES OF RENAMES CLAUSE:   The rules below should be observed while using the RENAMES clause: (i) All RENAMES entries should be written only after the last record descript

RULES FOR OCCURS CLAUSE: The rules apply for the OCCURS clause and the subscripts are as shown below. (1) The integer in the OCCURS clause should be a positive integer.

CLASS CONDITION:   The class condition establishes whether or not the value of the operand is numeric or alphabetic. The operand is numeric if it contains only the digits 0 t

PERFORM STATEMENT:   The PERFORM statement can be used to execute the group of consecutive statements written elsewhere in the program. We refer to this group of statements a