An analysis of the schema and Subschema DDL indicates if and where database key values of the extended value range are used in an application program.
The use of extended database key values in an application program can be deduced from the following DDL clauses:
Definition of an item with TYPE IS DATABASE-KEY-LONG in the Schema DDL entry for a record type that is copied into a subschema used by the application program with COPY.
Specification of the LOCATION MODE IS DIRECT-LONG clause in the Schema DDL entry for a record type that is copied into a subschema used by the application program with COPY.
Specification of the SET SELECTION THRU LOCATION clause in the DDL set entry for an owner record type with the following attributes:
The record type is defined with LOCATION MODE IS DIRECT-LONG.
The record type is copied to a subschema used by the application program with COPY.
Definition of a USAGE IS DATABASE-KEY-LONG item in a subschema used by the application program.
A description of which COBOL DML and CALL DML statements are affected by these DDL clauses can be found in section "Adapting DML statements", below.
Subschemas that are affected by data type changes (DATABASE-KEY-LONG) in the Schema DDL are subject to other validation criteria. Application programs that use such subschemas must therefore be adapted, recompiled, and linked again.