Previous Topic: Employee-record Archive ApplicationNext Topic: Step 2: Describe the Records in the Data Dictionary


Step 1: Describe the Files in the Data Dictionary

Each input and output file (excluding suspense and log files) must be described in the data dictionary as a file entity. You can define the files by using the IDD DDDL compiler or the IDD menu facility.

You can describe the file entities without specifying file characteristics. At runtime, under z/OS, the runtime system uses the file characteristics specified in the JCL or data set labels. Under VSE, the runtime system uses the characteristics specified by IDMSFILE control statements.

The following IDD DDDL statements add file entity descriptions for the input, archive, and report files:

ADD FILE IDD-INFILE1.
ADD FILE IDD-ARCFILE.
ADD FILE IDD-REPFILE1.

Alternatively, since you are not including file characteristics as part of the file descriptions, you can use one generic file entity to represent all three files:

ADD FILE IDD-GENERIC-FILE.