Control Data Corporation 3300 Reference Manual page 57

Computer systems usasi cobol/ master
Table of Contents

Advertisement

60229400
Numeric Edit
The PICTURE string for a numeric edited item contains only the symbols
B P V Z 0 9 , . /
*
+ -
CR DB and the currency sign. Allowable symbol
combinations are determined by the order of precedence of symbols and
editing rules. A maximum of 4095 character positions may be represented
in
the character string, but only
18
may be numeric digit positions. Contents
of character positions representing digits must be numerals 0-9.
Alphanumeric Edit
The PICTURE string of an alphanumeric edited item contains the symbols
A
X
9 B 0; combinations are restricted to: at least one B and one
X
or
at least one 0 and one X or at least one 0 and one A.
An alphanumeric edited item contains characters allowable in the computer's
character set not exceeding 4095 alphanumeric character positions.
Floating Point Edit
The PICTURE string of a floating point edited item is restricted to the
following symbols in the order listed:
+
or -
One to eleven 9's with leading, embedded, or trailing decimal point
or scaling symbol V (the coefficient).
Letter E
+
or - (sign of the exponent)
Three 9' s (value of the exponent)
The initial plus indicates that a plus sign represents positive values and a
minus sign negative values; the initial minus indicates that blank represents
positive values, a minus negative values. The maximum size is 18 alpha-
numeric character positions; the coefficient can have up to 11 numeric digit
positions and the exponent 3 numeric digit positions.
CAUTION: The PICTURE clause defines the characteristics of the
expected contents in a data item, and the code generated by the
compiler is dependent upon the PICTURE descriptions. During
object program execution, the actual contents of the data item are
assumed to conform with the PICTURE. No data validation is
ever performed by the generated code.
If
invalid data is introduced
to the program the course of events is unpredictable.
3-23

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?

This manual is also suitable for:

3500

Table of Contents