Try OpenEdge Now
skip to main content
Managing ABL Applications
ABL and R-code Deployment and Management : Managing Procedure Libraries : Generating a memory-mapped library : Adding files to a standard library
 
Adding files to a standard library
This is the syntax for the PROLIB command to add files to a standard library:
Operating system
Syntax
UNIX Windows
prolib library-name
-add file-name[file-name]...
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.r
The pathname /usr/apps/proc1.r appears in the library's table of contents. You can display the library's table of contents with the -list parameter.
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 Extracting 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 -nowarn parameter, PROLIB replaces the existing file. See Replacing files in a standard library for more information.