NaturalONE Version 8.3.7
 —  External Objects in Predict  —

Incorporating Adabas Files

This document covers the following topics:


Prerequisites and Restrictions

Note:
See Concepts of Incorporation for basic information on how to use incorporation functions.

With partitioned or replicated files, a Predict file object can be implemented as several physical files. In this case, the database/file number of implemented files and corresponding Predict file objects need not be identical. Predict evaluates the Vista translation table to determine if an implemented file is documented with a Predict file object, even if the database/file numbers are not identical. Therefore, when incorporating partitioned files, only one implemented Adabas file can be incorporated using the Incorporate function. Other components of that file can then be connected with the incorporation function Connect. Both the functions Incorporate and Connect update the Vista translation table of the file.

Top of page

Selecting Adabas Files

Selection criteria

Parameters
Database number The physical number of the Adabas database in which the Adabas files to be incorporated reside.
Physical file number from/to Range of physical file numbers of the Adabas files to be incorporated.
Even if only FDT exists
Y A file is to be incorporated even if it has been deleted with the Keep FDT option.
N Only valid if the following conditions are met:
  • Adabas Online Services must be available;

  • The file to be incorporated must reside in a database of Adabas Version 6 or above;

  • The file to be incorporated must not have been deleted with the Keep FDT option, since it must have implementation data.

Update file attributes (connect option) /
File attributes (incorporation option)

Provided on a later page of the schema incorporation wizard (after the physical object has been selected from the drop-down list box). Determines which attributes of the data dictionary file object are to be updated. Provided that Adabas Online Services are available and the file to be connected or incorporated resides in a database of Adabas Version 6 or above, the following values can be specified:
R File attributes required when loading a file and any other file attributes specified in the data dictionary object.
O All file attributes including optional attributes not specified in the data dictionary object.
N No file attributes are to be updated.
Adabas password The password required to access the file if the file is protected by Adabas security. The password is not converted to upper case.

Files which meet the given selection criteria and are not already connected to a Predict file object are then provided in the drop-down list box on the next page of the schema incorporation wizard.

Information in the drop-down list box
PFnr Physical number of the file in the database.
Adabas name The name that was specified, either to the ADALOD utility or to Adabas Online Services, when the file was loaded into the database.
Predict File ID The ID of Predict file object of type A that may correspond to the Adabas files.
Remark Any of the following type-specific remarks or blank. In any of the following messages is displayed, the connect function cannot be executed. For type-independent remarks see Remarks which apply to all Object Types.
Partitioned master missing Documentation of Vista elements and entries in Vista translation table are different.
ISN range overlapping Predict file object with physical distribution type expanded is different.
Different components Predict file object with physical distribution type expanded is different. Vista elements and entries in Vista translation table are different.
Different Vista type Documentation of Vista elements and entries in Vista translation are different.
Different local definition Documentation of Vista elements and entries in Vista translation are different.

Top of page

Incorporation Functions for Adabas Files

Valid functions:

Test

Compares Adabas files and corresponding Predict file objects.

Connect

Connects Adabas file to the corresponding Predict file object and

Specify the following parameters in an additional page of the schema incorporation wizard.

Connect Options
Update file attributes See the parameter table in Selecting Adabas Files for a description of this parameter.

Incorporate

Scope of the Incorporation

Specify the following parameters in an additional page of the schema incorporation wizard. Parameter File ID is mandatory, all other parameters are optional.

Incorporation Options
File ID ID of the new file object (mandatory). The Adabas name of the file is displayed and can be accepted or overwritten.
File attributes See the parameter table in Selecting Adabas Files for a description of this parameter.
Field name prefix Prefix of each field ID.
Field name suffix Suffix of each field ID.
List incorporated code
Y The values of all attributes incorporated for the file are to be listed.

Top of page

Keywords

The schema incorporation wizard uses the following keywords when showing the command that is to be processed:

Field Keyword
Database number DBNR
Physical file number from FROM-FNR
Physical file number to TO-FNR
Even if only FDT exists EVEN-ONLY-FDT

Update file attributes (connect option) /
File attributes (incorporation option)

FILE-ATTR
Adabas password PSW
Function SUB-FUNCTION
File ID FILE-ID
Field name prefix PREFIX
Field name suffix SUFFIX
List incorporated code LIST

Top of page