File-Control Paragraph - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

2.3.1
FILE-CONTROL
60229400
This paragraph names each file, identifies the file device, and allows particular
hardware assignment. It also specifies alternate input-output areas, the access
mode and file limits of mass storage files, and the key to accessing random
access files.
Format 1:
FILE-CONTROL. COpy statement.
Format 1 is used only when the COBOL library contains the entire text of the
FILE-CONTROL paragraph. The COpy statement is described in section
6.1.
Format 2:
FILE -COl'l'TROL.
lSELECT [OPTIONAL]
file-name-l
[, RENAMING file-name-2]
ASSIGN TO [integer-1]
hardware-name-1 dsi-1
[,{:-rdware-name-2 dsi-2} ]
[, FOR MULTIPLE
{~~ETL}
]
[. RESERVE
{~~eger-2
}
ALTERNATE
[{1~~!S}]
]
[ {
FILE-LIMIT IS
} .
.
]
' FILE-UMITS ARE
Integer-3 [THRU Integer-4]
[,ACCESS MODE IS
{~:~:rIAL}
]
[, PROCESSING MODE IS SEQUENTIAL]
[,ACTUAL KEY IS
data-name-IJ.
i ...
If file-name-1 is a sort file, only the SELECT and ASSIGN clauses are included
in the FILE-CONTROL paragraph. If file-name-1 is in the USING or GIVING
options of the SORT verb, FOR MULTIPLE REEL/UNIT and RESERVE clauses
may be included in addition to the required SELECT and ASSIGN clauses. (See
SORT, section 4. 7. 24) .
2-5

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