Library enables you to group individual files into one file. You also can use Library to group together static source code to create copy libraries. Using Library gives you the following advantages:
Whole suites of programs and/or sets of data files can be stored in one library file.
Once the library file is opened, all the files it contains are readily accessible. You access data files in libraries by the usual OPEN, READ, and CLOSE statements; OPEN and CLOSE become logical operations handled by the run-time system rather than the more time-consuming physical operations.
When you change directory you can still access files in a library in the original directory because the library catalog remains in memory.
If an application contains a call to a library not currently on the logged-on drive and the library has been built into your program, the system prompts you to insert the .lbr file.
You invoke Library from the operating system command line; it runs in batch mode. The following sections describe how to invoke Library, how to create a Library batch file and how to access files in libraries.