Release 10.1A: OpenEdge Deployment:
Managing 4GL Applications

> ## 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:

>     prolib app.pl -add sys*.r

> The following example deletes all r-code files ending with the letters dev from the standard library `app.pl` and lists all of the files in the library. In this example, the r-code files are in the `app.pl` library, so PROLIB processes the wild card argument. This requires escaping the `*dev.r` argument. On UNIX, this means placing quotes around it. Your operating system might use different techniques to escape wild cards:

>     prolib app.pl -delete "*dev.r" -list

> The following example replaces the files `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

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095