Previous Topic: ASF ProcessingNext Topic: Table Storage


Table Definition

Definition Records Defined

Tables created through ASF are defined in a system-supplied schema named IDMSR. The schema IDMSR is provided at installation. When installed, it contains the definitions of definition records, which are used to store table definitions. The following definition records are defined in the system-supplied IDMSR schema:

Definition Records Have Owners

Each definition record has a corresponding owner record. The first four characters of the owner record name are the same as the first four characters of the member record name. The last three characters of each owner record name are OWN. For example, the owner of the RDEFREC record is named RDEFOWN.

The definition records and their owners are stored in the definition area of the database.

User and Table Catalog

The catalog, which is part of the data dictionary, is a directory of users and tables. ASF references and updates the catalog as it defines data tables. In CA-ICMS installations, ASF and CA-ICMS share the same catalog. The figure below illustrates the dictionary and database components required by ASF.

Defining Tables

As you go through the table definition process, the following steps take place:

  1. When you enter a table name on the Activity Selection screen, ASF checks the catalog to see if the table exists. If the table does not exist, ASF instructs you to proceed with the table definition.
  2. When you press [Enter] from the Table Definition screen, ASF adds the table. Selecting a function, such as Define Columns, also causes the table to be added. ASF adds the table as follows:
  3. As you define the characteristics of the table, ASF adds occurrences to the appropriate definition records. For example:

The definition records store the table specifications you enter through ASF.