Exporting long Names from Natural DDM

You can export long names from DDM defintions to be used in dynamic extraction syntax. The ADRDDM 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 ADRDDM utility.

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