Copy Statement - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

6-2
If the RE PLACING option is used, each word or identifier specified in the
format is replaced by a corresponding word or identifier when COpy is exe-
cuted. Replacement of one identifier by another includes all associated qual-
ifiers, subscripts, and indexes. Use of the REPLACING option does not alter
the text as it appears in the library.
The library must not contain any COpy statements.
The COpy statement may be written as follows:
The COpy statement may be written as follows:
ENVIRONMENT DIVISION.
1
SOURCE_COMPUTER'l
OBJECT-COMPUTER.
SPECIAL-NAMES.
FILE-CONTROL.
I-O-CONTROL.
DA T A DIVISION
FILE SECTION
{
FD file-name
}
SD sort-file-name
01 data-name
WORKING-STORAGE SECTION
COpy statement.
COPY statement.
01 data-name COpy statement.
REPORT SECTION.
\ RD report-name
I
I
01 data-name
~
PROCEDURE DIVISION
COPY staiemeni.
procedure-name. COPY statement
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