File Section; Common-Storage Section - Control Data Corporation 3300 Reference Manual

Computer systems usasi cobol/ master
Table of Contents

Advertisement

3.1.1
FILE SECTION
3.1.2
COMMON-STORAGE
SECTION
3-2
The File Section defines the contents of data files stored on an external de-
vice and the contents of sort files.
Each file is defined by a file description
entry followed by one or more record description entries. A file description
entry consists of a level indicator (FD or SD), a file name, and a series of
independent clauses. An external file is described with a level FD entry which
indicates recording mode, block size, labeling conventions, names of records
or reports in the file, and so on. Every external file must have a level FD
file description entry. Sort files are described with level SD entries which
specify the name, size, and number of records to be sorted.
FILE SECTION.
FD file-name-l. ..
01
data-name-l. ..
02
data-name-2 •..
66
data-name-3 RENAMES data-name-2.
03
data-name-4 ...
01
data-name-5 ...
02
data-name-6 ...
88
condition-name-1 ...
01
data-name-7 ...
SD file-name-2 ...
FD file-name-3 ...
During execution of an object program, independently compiled subprograms
communicate through common storage. Each item in a Common Storage
Section has a record description entry; all entries are preceded by the header
COMMON-STORAGE SECTION and a period. All data structures permitted in
the Working Storage Section are legal in the Common Storage Section.
A Common Storage Section must be present in each independently compiled
subprogram so that all references to common storage will be properly defined.
The item descriptions
in
each Common Storage Section should be identical in
format; if they are not, the contents of common storage
in
memory cannot be
guaranteed.
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