Add files to a standard library
- Last Updated: April 12, 2022
- 1 minute read
- OpenEdge
- Version 12.2
- Documentation
This is the syntax for the PROLIB command to add files to a standard library:
| Operating system | Syntax |
|---|---|
| UNIX Windows |
|
- library-name
-
Specifies the name of the library where you want to add the file.
- file-name
-
Specifies the pathname of the file. You can add a file to a library by specifying the file's absolute or relative pathname.You can add a file to the PROPATH environment variable by specifying the file's absolute pathname or its pathname relative to the current working directory.
When you add a file to a library, the library entry for that file retains the entire pathname. For example:
prolib newlib.pl -add /usr/apps/proc1.rThe pathname /usr/apps/proc1.r appears in the library's table of contents. You can display the library's table of contents with the
-listparameter.When you extract a file from a library, PROLIB copies the file into the directory specified by the pathname (in this example, /usr/apps). See Extract files from a standard library for more information.
If you try to add a file that already exists, PROLIB displays an error message. However, if you specify the
-nowarnparameter, PROLIB replaces the existing file. See Replace files in a standard library for more information.