The following input files can be included in the DASDL compilation:
-
CARD
-
TAPE
-
SOURCE
-
Included input
-
HOST and CFOLD
-
PROPERTIES
Each of these files is discussed in the following text.
The CARD file is the primary DASDL input file and is required. Card File Attributes describes the CARD file.
The CARD file attributes can be label-equated. The CANDE work file is automatically equated to this file for compilations initiated through CANDE.
Table 62. Card File Attributes
Attribute |
Description |
Notes |
---|---|---|
KIND |
Card reader |
|
RECORDSIZE |
14 words |
|
BLOCKSIZE |
Blocked or unblocked |
|
FILETYPE |
8 |
Refer to the File Attributes Programming Reference Manual for an explanation of this file type. |
CODE |
EBCDIC |
|
TITLE |
CARD |
The TAPE file is the secondary DASDL input file. When the MERGE option is set, input from the CARD and TAPE files is merged based upon sequence number. If the sequence number of a CARD record matches that of a TAPE record, the CARD record replaces the TAPE record. TAPE is a synonym for SOURCE.
The TAPE file attributes can be label-equated.
TAPE File Attributes describes the TAPE file.
Table 63. TAPE File Attributes
Attribute |
Description |
Notes |
---|---|---|
KIND |
Disk |
|
RECORDSIZE |
15 words |
|
BLOCKSIZE |
450 words |
|
FILETYPE |
8 |
Refer to the File Attributes Programming Reference Manual for an explanation of this file type. |
CODE |
EBCDIC |
|
TITLE |
TAPE |
The user normally label‑equates the file. |
The SOURCE file is the secondary DASDL input file. When the MERGE option is set, input from the CARD and SOURCE files is merged based upon sequence number. If the sequence number of a CARD record matches that of a SOURCE record, the CARD record replaces the SOURCE record. SOURCE is a synonym for TAPE.
File attributes can be label-equated.
SOURCE File Attributes describes the SOURCE file.
Table 64. SOURCE File Attributes
Attribute |
Description |
Notes |
---|---|---|
KIND |
Disk |
|
RECORDSIZE |
15 words |
|
BLOCKSIZE |
450 words |
|
FILETYPE |
8 |
Refer to the File Attributes Programming Reference Manual for an explanation of this file type. |
CODE |
EBCDIC |
|
TITLE |
"SOURCE" |
The user normally label‑equates the file. The file title must be enclosed in double quotation marks ("). |
Additional disk files can be included as source input by using the INCLUDE compiler control statement. The user can include an entire file or can include selected portions of it. Refer to the “Compiler Control Statements” later in this appendix for more details on the INCLUDE compiler control statement.
Included Input File Attributes describes the included input files.
Table 65. Included Input File Attributes
Attribute |
Description |
Notes |
---|---|---|
KIND |
Disk |
|
RECORDSIZE |
14 words |
|
BLOCKSIZE |
420 words |
|
FILETYPE |
7 |
Refer to the File Attributes Programming Reference Manual for an explanation of this file type. |
CODE |
EBCDIC |
|
TITLE |
The file title is taken from the INCLUDE statement. |
|
When a DASDL update is performed, the existing database description and control files are used as input. The HOST file is used to read the old description file, while the CFOLD file is used to read the old control file. The titles of the HOST and CFOLD files are derived from the database name in the UPDATE statement, if one is specified, and from the database name appearing in the compilation statement.
For the processing of databases with partitioned structures, the DASDL compiler reads source input from the file DATABASE/PROPERTIES to include the partition directory data set. The title of the compiler file PROPERTIES can be label-equated appropriately if a nonstandard file title is being used for the file DATABASE/PROPERTIES.