Control Data Corporation 3300 Reference Manual page 63

Computer systems usasi cobol/ master
Table of Contents

Advertisement

60229400
Fixed Insertion Editing
The fixed insertion characters are the currency symbol (cs) and the editing
sign control symbols:
+ -
CR and DB. Only one currency symbol and only
one editing control symbol can be used in a given PICTURE string. CR and
DB must be tbe rightmost character positions in the item; they are each
counted as two character positions in determining the size of the item. The
symbol
+
or - must be either the leftmost or the rightmost character position
in the item. The currency symbol must be the leftmost character position
unless it is preceded by a
+
or a -. The
+,
the -, and the currency symbol
are each counted in determining the size of the item.
Fixed insertion editing results in the insertion of the editing symbol in the
same position in the item as it occupied in the PICTURE. The result depends
on the value of the item:
Symbol in
Result
Picture Character String
Data Item Positive
Data Item Negative
+
+
-
-
space
-
CR
2 spaces
CR
DB
2 spaces
DB
Examples:
PICTURE
Data Item
Result Item
+999
2 91 2
1-12 9 2
+999,999
0 010
0111~1
+10 0 0 , 1 0 11121
-999
2
91~
.6. 2 9 2
-99.99
0 219 21
- 0 2
.
9 21
99.99DB
2 317
61
2 3 • 716 DIBI
99.99DB
2\317 61
2 3 • 7 6
~~
99.99CR
11113 41
1111
3 4 clRI
99.99CR
11113141
1111
.1
3 4
Li l
.6.1
$BB999.99
2141312111
1$1.6..6.1 2 4 31.1 2 1 1 1
$00999.99
2141312111
1$10 01 2 4 31.1 2 1 1 1
3-29

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