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 : Listing the contents of a library
 
Listing the contents of a library
This is the syntax for the PROLIB command to list the contents of a library:
Operating system
Syntax
UNIX Windows
prolib library-name
-list [file-name]...
library-name
Specifies the name of the library with the contents you want to list.
file-name
Specifies that PROLIB should list information about that file only; file-name has to be the same absolute or relative pathname as when you originally added the file. You can specify more than one file at a time.
The following table lists the information that appears in the header section of the output.
Table 27. List (-list) parameter library information
Information
Description
Library Name
The name of the library.
Code Page
The code page in which the library was created.
Format
The format of the library. The valid library formats are STANDARD and MAPPED.
The following table lists the information that appears in the output for each file in the library.
Table 28. List (-list) parameter file information
Information
Description
Name
The name of the file.
Size
The size of the file in the library, in bytes.
Type
The file type. PROLIB recognizes two file types: R (r-code file type) and O (any other file type). Although libraries are specifically designed to hold r-code files, you can place any type of file in them.
Offset
The distance, in bytes, of the start of the file from the beginning of the library.
Modified
The date and time the file was last modified.
Added To Lib
The date and time the file was entered into the library. You can also change the format of the dates as they appear in the Modified and Added To Lib fields with the -date parameter, where date-format is three letters: m (month), d (day), and y (year). To specify a format, place the letters in the order you want the months, days, and years to appear on screen. The default is mdy.