CL Command Reference - LNKDTADFN
CL Command List > LNKDTADFN Reference
Description:
The Link Data Definition (LNKDTADFN) command links or unlinks file definitions in a dictionary, program-described files, or externally-described files.
Restriction: A file cannot be linked if it is already linked. However, a definition can be linked to several files at the same time.
Note: If file text and the file definition are not the same, a new version of the definition is created.
Examples:
LNKDTADFN OPTION(*LINK) FILE(MYLIB/MYFILE)
DTADCT(MINE) DFN(MYDEF)
This command links definition MYDEF in dictionary MINE, to the program-described database file MYFILE located in library MYLIB.