pro5lst - PRO/5 Lister

Syntax

pro5lst {-l} {-p | -f} {-ddirectory} {-eerrorlog} {-w#} {-cont} {-?} files

Description

The pro5lst utility is a stand-alone program that turns tokenized PRO/5 program files into ASCII text files to produce listings on a system printer.

Parameter

Description

-l

Suppresses line numbers in the listing.

-p

Produces a pretty print formatted listing.

-f

Produces a flow listing similar to that created by the PRO/5 _flow.utl utility program.

-ddirectory

Name of the directory in which to place the output files. If this switch is used, then the listing files have exactly the same names as the source files but are in a different directory.

I=SCALL("pro5lst -d/usr/BBx file1 file2 file3")

-eerrorlog

Writes the error output into an errorlog file.

-w#

Sets the output line width.

-cont

Makes the continued lines (lines that overflow from one line to the next) start with a colon, ":", allowing pro5cpl to accept them as part of the prior line.

-?

Provides a syntax listing.

files

PRO/5 program file to be listed.

  • If no file names are specified, pro5lst will read from standard input and write to standard output. This allows it to be used with pipes.

  • If file names do not include extensions, upon compilation .lst will be appended to them.

  • If file names already include extensions, upon compilation they will be stripped from the file name.

Examples

The following lists four files to be named, file1.lst, file2.lst, file3.lst, and file4.lst:

LET I=SCALL("pro5lst file1 file2 file3 file4")

See Also

Alphabetical Utilities

Functional Listing of Utilities