skip to main content

Preface : Definitions

Definitions
Alphabet-Name
A User-defined word, in the SPECIAL-NAMES Paragraph of the Environment Division, that assigns a name to a Collating Sequence.
Alphabetic Character
A Letter or a space Character.
Alphanumeric Character
Any Character in the computer character set.
Character
The basic indivisible unit of the language.
Character Position
A character position is the amount of physical storage required to store a single standard data format character whose usage is DISPLAY. Further characteristics of the physical storage are defined by the implementor.
Character-String
A sequence of contiguous Characters which form a COBOL Word, a Literal, a PICTURE character-string, or a Comment-Entry.
COBOL Word
A Character-String which forms a User-defined word, a System name, or a Reserved Word.
Collating Sequence
The sequence in which the characters that are acceptable to a computer are ordered for purposes of sorting, merging, comparing, and for processing indexed files sequentially.
Comment-Entry
An entry in the Identification Division that may be any combination of Characters from the computer character set.
Data Item
A unit of data (excluding Literals) defined by the COBOL program.
Figurative Constant
Any of the following literals:
Identifier
An identifier is a term used to reflect a data-name that, if not unique in a program, must be followed by a syntactically correct combination of qualifiers, subscripts, or reference modifiers necessary for uniqueness of reference.
Integer
A Numeric Literal or a numeric data item that does not include any digit position to the right of the assumed decimal point. When the term 'integer' appears in general formats, integer must not be a numeric data item, and must not be signed, nor zero unless explicitly allowed by the rules of that format.
Letter
A Character belonging to one of the following sets:
1.
2.
3.
4.
Literal
A Character-String whose value is implied by the ordered set of characters comprising the string.
Nonnumeric Literal
A Literal bounded by quotation marks. The string of characters may include any Character in the computer's character set.
o
o
o
o
o
o
o
o
 
NOTE - National digits are managed as UTF-16BE characters.
o
o
Numeric Character
A Character that belongs to the following set of digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9.
Numeric Data Item
A Data Item whose description restricts its content to a value represented by characters chosen from the digits '0' through '9'; if signed, the item may also contain a '+', '-', or other representation of an operational sign. (See the SIGN clause.)
Numeric Literal
A Literal composed of one or more Numeric Characters that may contain either a decimal point, or an algebraic sign, or both. The decimal point must not be the rightmost character. The algebraic sign, if present, must be the leftmost character.
Numeric literals may also be specified using binary, octal, or hexadecimal notation. To specify a numeric literal in one of these forms, preface the number with one of the following prefixes:
Reserved Word
A COBOL Word specified in the list of words which may be used in a COBOL source program, but which must not appear in the program as a User-defined word or System name.
System name
A COBOL Word that is used to communicate with the operating environment.
User-defined word
A user-defined word is a COBOL Word that must be supplied by the user to satisfy the format of a clause or statement. Each Character of a user-defined word is selected from Literal, Numeric Literal, '_' and '-', except that '_' and '-' may not appear as the first character.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left