Use libraries

A library is an object used to group related objects and to find objects by name. Thus, a library is a directory to a group of objects.

You can use libraries to:

Multiple libraries make it easier to use objects. For example, you can have two files with the same name but in different libraries so that one can be used for testing and the other for normal processing. As long as you do not specify the library name in your program, the file name in the program does not have to be changed for testing or normal processing. You control which library is used by using the library list. (Objects of the same type can have the same names only if they are in different libraries.)

The two types of libraries are production and test. A production library is for normal processing. In debug mode, you can protect database files in production libraries from being updated. While in debug mode, any files in test libraries can be updated without any unique specifications.

Related concepts
Library objects
Related tasks
Debug OPM programs