4.7.6
DISPLAY
4-24
The DISPLAY statement causes low volume data to be written on the system
output file (OUT), the system punch file (PUN), or the console.
1
literal-l
j
[ ,
literal-2
]
0
DISPLAY
°d
tOfO
1(
°d
tOfO
2
... [UPON mnemonIc-name]
1
en
1
ler-}
, 1
en
1
ler-
- - -
The mnemonic name is associated with a system file or the console in the
SPECIAL-NAMES paragraph in the Environment Division. Each literal may
be any figurative constant except ALL.
DISPLA Y causes the contents of each operand to be written on the system file
or the console in the order listed.
If
a figurative constant is specified as
one of the operands, only a single occurrence of the figurative constant is
displayed.
When a DISPLAY statement contains more than one operand, the data com-
prising the first operand is stored as the first set of characters, the data
comprising the second operand as the second set of characters, and so on,
until the maximum output file and 127 characters for the console) is filled.
This operation continues until all information is displayed. Data comprising
an operand may extend into subsequent units.
If
the UPON option is not used, the data is displayed on the console.
COMP-2 items are converted to a standard 18-character format:
-t-
0
9(11) E-t-999 before being displayed.
COMP-l items are converted to a standard 8-character format:
+9(7) before being displayed.
All other items are displayed without conversion.
602294<tO
Need help?
Do you have a question about the 3300 and is the answer not in the manual?