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 : PROLIB command examples
 
PROLIB command examples
This section provides several PROLIB command examples.
The following example creates a standard library called app.pl in your current directory:
prolib app.pl -create
The following example adds all the r-code files in the current directory that begin with the letters "sys" to the standard library app.pl. In this example, the r-code files are in a directory, so the operating system processes the wild card argument, as shown:
prolib app.pl -add sys*.r
The following example deletes all members ending with the letters "dev.r" from the standard library app.pl and lists all of the members in the library. In this example, the members are in the app.pl library, so PROLIB processes the wild card argument. This requires escaping the *dev.r argument. Your operating system might use different techniques to escape wild cards. On UNIX, this means placing quotes around it, as shown:
prolib app.pl -delete "*dev.r" -list
The following example replaces the members appmenu.r and apprept.r in the standard library app.pl, then compresses the library to free up unused disk space:
prolib app.pl -replace appmenu.r apprept.r -compress
The following example creates a standard library called app.pl in your current directory, adds all the r-code files in the current directory that begin with the letters "sys" to the library app.pl, and generates a memory-mapped library called app_map.pl:
prolib app.pl -create -add sys*.r -makeshared app_map.pl