Exporting long Names from Predict

You can export long names from Predict file defintions to be used in dynamic extraction syntax. The ADRPRD export utility requires LFILE 152 to be set to the location of the archiving configuration file when it is used. Please contact your Software AG support center to determine how to acquire the ADRPRD utility.

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