In this section: |
How to: |
Reference: |
The MODULE command accesses a source code library so the current procedure can use the class definitions of the library and Maintain Data functions. A library is a nonexecutable procedure, and is implemented as a component called an import module.
The MODULE command must immediately follow the MAINTAIN command. The syntax of the MODULE command is
MODULE IMPORT (library_name [,library_name] ... );
where:
Is the name of the library to import as a source code library. Specify its file name without an extension. The file must reside in the path defined by the EDASYNR environment variable.
If a library is specified multiple times in a MODULE command, Maintain Data will include the library only once in order to avoid a loop.
You can include most Maintain Data language commands and structures in a library. However, there are some special opportunities and restrictions of which you should take note:
If a given library is specified more than once in a series of nested libraries, Maintain Data will only include the library once in order to avoid a loop.