This is the syntax for the PROLIB command to list the contents of a procedure library:

Operating system Syntax
UNIX Windows
prolib library-name 
  -list [file-name]...
library-name

Specifies the name of the procedure 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 1. List (-list) parameter library information
Information Description
Library Name The name of the procedure library.
Code Page The code page in which the procedure library was created.
Format The format of the procedure library. The valid procedure library formats are STANDARD and MAPPED.

The following table lists the information that appears in the output for each file in the procedure library.

Table 2. List (-list) parameter file information
Information Description
Name The name of the file.
Size The size of the file in the procedure library, in bytes.
Type The file type. PROLIB recognizes two file types: R (r-code file type) and O (any other file type). Although procedure 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 procedure 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.