Picture Edit - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

3.S.S
PICTURE EDIT
3-28
Editing Rules
Editing is accomplished by insertion or by suppression with replacement.
Insertion editing consists of simple insertion, special insertion, fixed
insertion, and floating insertion. Suppression with replacement editing
consists of zero suppression with replacement by spaces or asterisks.
Simple insertion editing is performed only on alphanumeric edited items.
All types of editing may be performed on numeric edited items with the
following restrictions:
Floating insertion editing and suppression with replacement editing
cannot be used in the same PICTURE.
One type of replacement (either spaces or asterisks) with zero
suppression can be used in the same PICTURE.
A variable length item cannot be edited.
Simple Insertion Editing
Insertion characters are: , (comma), the letter B, / (slash), and 0 (zero).
If
the item is alphanumeric edited, only B or 0 may be used. Insertion
characters are counted in the size of the item and represent the position in
the item into which the character is inserted.
Examples:
PICTURE
ThLta Item
Result Item
9,999
1 0 1 5 41
1
0 1,1 1 1 54 1
99/99/99
1
0 1 2 31 6 1 7
1
10111/12 31/1 6 1 7
1
09/99/99
11 2 3 61 7
1
10111/12 31/1 6 1 7 1
BB99.99
1 0 1 5 710 1 0 1
1~1~1517
., 0 10
I
S~cial
Insertion Editing
The only special insertion character is the period. It also represents the
decimal point for alignment purposes. When used as an actual decimal point,
the period is counted in the size of the item. An assumed decimal point
represented by the symbol V may not appear
in
the same PICTURE string
as an actual decimal point represented by a period. When the period is the
last symbol in the PICTURE string, it must be followed immediately by one
of the punctuation characters, semicolon or period, followed by a space.
The result of special insertion editing is the appearance of the insertion
character in the item in the same position as shown in the character string.
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