Exporting long Names from Predict

You can export long names from Predict file defintions using the ADRPRD export utility supplied on the SYSADR library. This utility requires LFILE 152 to be set to the location of the Data Archiving for Adabas configuration file.

Start of instruction setTo use ADRPRD

  • Enter the following:

    LOGON SYSADR
    ADRPRD
    EXPORT filename [REPLACE=NO|YES]

    Where filename is the name of the Predict file to be exported. REPLACE= is optional, the default value is NO.

    Note:
    The hyphen character "-" is replaced by the underscore character "_" in the archiving configuration.

Example 1

Export a file named EMPLOYEES-FILE from Predict - it will not be replaced in the archiving configuration if it already exists:

LOGON SYSADR
ADRPRD
EXPORT EMPLOYEES-FILE

Example 2

Export a file named VEHICLES-FILE from Predict - it will be replaced in the archiving configuration if it already exists:

LOGON SYSADR
ADRPRD
EXPORT VEHICLES-FILE REPLACE=YES