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
Need help?
Do you have a question about the 3300 and is the answer not in the manual?