Debugging Aid; Procedure Division Statements; Accept - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

4.6
DEBUGGING AID
4.7
PROCEDURE
DIVISION
STATEMENTS
4.7.1
ACCEPT
60229400
The TRACE statement is a source language debugging aid. It is used to
display the contents of data items and literals during job execution. The user
can include any number of TRACE statements and he can specify the frequency
and point of execution.
The following pages contain the Procedure Division statements in alphabetical
order.
The ACCEPT statement causes low volume data to be read from the system
input file (INP) or the console.
ACCEPT identifier [FROM mnemonic-name]
The file or device must be associated with the mnemonic name in the
SPECIAL-NAMES paragraph of the Environment Division.
ACCEPT causes the next set of data available at the file or device to replace
the contents of the data item named by the identifier.
If
the size of the data item is less than the fixed input unit (80 characters for
system input, 127 characters for the console), the data appears as the first
set of characters within the minimum unit. When data is input from INP, if
the size of the data item is greater than 80 characters, multiples of 80 char-
acters are read until the storage area allocated to the data item is filled.
If
the data item is greater than the fixed unit but is not an exact multiple,
the remainder of the last fixed unit is not accessible.
If
the FROM option is not given, data is accepted from the console.
4-17

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