Exporting long Names from Natural DDM

You can export long names from DDM definitions using the ADRDDM 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 ADRDDM

  • Enter the following:

    LOGON SYSADR
    ADRDDM
    EXPORT [LIBRARY=name] ddm [REPLACE=NO|YES]

    Whereddm is the name of the DDM to be exported. REPLACE= is optional, the default value is NO.

    Notes:

    1. The hyphen character "-" is replaced by the underscore character "_" in the archiving configuration.
    2. LIBRARY= is only required for Natural systems on Windows, Unix and Linux.

Example 1

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

LOGON SYSADR
ADRDDM
EXPORT EMPLOYEES-FILE

Example 2

Export a DDM named VEHICLES-FILE from Natural on open systems - it will be replaced in the archiving configuration if it already exists:

LOGON SYSADR
ADRDDM
EXPORT LIBRARY=SYSADR VEHICLES-FILE REPLACE=YES