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.
To 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.
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
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