Control Data Corporation 3300 Reference Manual page 261

Computer systems usasi cobol/ master
Table of Contents

Advertisement

Examples
15.2E5
12.4EIO
-.425EIOl
+30E-IOl
60.5EO
Reserved Words
+2.725E-6
-4.0E+12
-5.124E-20
405E+305
.68719476735E308
Reserved words defined in appendix C are used for syntactical purposes and may not appear as
user-defined words. Reserved words areused as key words, optional words, and connectives.
KeyWord
A word that is required when it appears in a source program format is called a key word. Within
each format, key words are uppercase and underlined. All verbs, for example, are key words
which must be included
to
designate the operation
to
be performed.
Optional Words
Uppercase words
in
a format that are not underlined are called optional words since they may appear
or not as the user chooses. The presence or absence of each optional word within a format does not
affect the compiler's translation. An optional word must not be misspelled or replaced by another
word not explicitly stated
to
be its equivalent.
Special Registers
The word TALLY is the name of a special register implicitly described as a five-digit integer.
TALLY is used primarily
to
hold information produced by the EXAMINE statement. TALLY may
also be used as a data name wherever an elementary data item of integral value may appear.
The special registers SYSTEM-DATE and SYSTEM-TIM.E are restricted for use as the subjects of
MOVE statements in the Procedure Division and the objects of SOURCE clauses in the Report Section
of the Data Division; they may not be used as literals.
In
a MOVE statement, the receiving field
must have a PICTURE of X(8) . Likewise,
in
the Report Section, the elementary item description
containing the SOURCE clause must have a PICTURE clause of X(8) .
SYSTEM-DATE represents the current date in the form mm/dd/yy: mm
=
month, dd;::: day,
yy
=
year. SYSTEM-TIM.E represents the time of day when the object program begins execution.
Its format is hh/mm/ss: hh
=
hour, mm
=
minute, ss
=
second.
B-6
60229400

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the 3300 and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

3500

Table of Contents