Previous Topic: SyntaxNext Topic: Usage


Parameters

RECord name is database-record-name

Names a database record described in the schema with which the current subschema is associated. Database-record-name can be a record synonym of a schema record, in which case it must not exceed 16 characters.

VIEw ID is view-id

Copies a predefined view of the record description into the subschema, or it defines a view being created by the current subschema for this record description.

If view-id exists in the dictionary, that view is copied into the subschema. In this case, view-id must be the identifier of a database record placed in the dictionary by previous execution of the subschema compiler for another subschema, or by the IDD DDDL compiler (via DDDL RECORD entity-type syntax). If view-id does not already exist in the dictionary, it defines a new view of database-record-name in the dictionary, and it can subsequently be used for another subschema compiled under any schema that copies the same database record.

View-id must be a 1- to 32-character alphanumeric value. Additionally, it must be unique for the record, but need not be unique among all records defined in the dictionary.

CONnect

Specifies that programs using the current subschema can or cannot issue CONNECT commands against database-record-name.

DISconnect

Specifies that programs using the current subschema can or cannot issue DISCONNECT commands against database-record-name.

ERAse

Specifies that programs using the current subschema can or cannot issue ERASE commands against database-record-name.

FINd

Specifies that programs using the current subschema can or cannot issue FIND commands against database-record-name.

GET

Specifies that programs using the current subschema can or cannot issue GET commands against database-record-name.

KEEp

Specifies that programs using the current subschema can or cannot issue KEEP commands against database-record-name.

MODify

Specifies that programs using the current subschema can or cannot issue MODIFY commands against database-record-name.

STOre

Specifies that programs using the current subschema can or cannot issue STORE commands against database-record-name.

is ALLowed

Specifies that the program using the current subschema can issue the specified DML function against the database record. ALLOWED is the default.

is NOT ALLowed

Specifies that the program using the current subschema cannot issue the specified DML function against the database record.

ELements are field-name

Identifies the schema-defined fields to be included in the subschema description of database-record-name. Field-name must identify a field defined for database-record-name in the schema associated with the current subschema. (This is also true if database-record-name is a synonym.)

Note: For more information about using this clause, see "Usage" in this section.

ELements are ALL

Includes all schema-defined fields to be in the subschema description of database-record-name.

PRIority is record-priority

Specifies a priority to be assigned to the record in the runtime subschema tables. The PRIORITY clause is used to sequence record descriptions according to their priority in the subschema tables. For example, heavily-used records should receive a higher priority than less-frequently used records.

Record-priority is an unsigned integer in the range 0 through 9999, where 0 represents the lowest priority and 9999 represents the highest priority. If the PRIORITY clause is not included for a record, the record's sequence in the runtime subschema tables will correspond to that in which it was included in the current subschema. Records with the same priority are organized in the order included, within priority.

PRIority is NULl

Specifies that this record description is to be assigned no priority (that is, it will be placed at the end of the subschema tables).

DETails

Displays and punches the elements, access restrictions, view, and priority defined in the subschema record description. Note that only those elements previously specified in a subschema RECORD statement are displayed.

ELements

When DETAILS is also specified, displays and punches the elements specified in the ELEMENTS ARE clause of the subschema record definition.

ALL

Displays and punches the entire record description.

NONe

Displays and punches only the name of the record.