LISTPROCS

Lists the Procs in a specified file or in the PROCLIB file.

Syntax

LISTPROCS {file-name} {NOPAGE}{(options)}

Syntax elements

file-name The name of the file containing the Procs you wish to list. If you do not specify a file, the command lists the Procs in the PROCLIB file.

NOPAGE Suppresses automatic paging of output to the terminal. This specifies the same function as the N option.

Options

N No page. Suppresses automatic paging.

P Printer. Sends output to printer assigned to your port.

Output

The command lists the item-id and line 2 of each Proc.

Examples

:LISTPROCS NOPAGE

This command lists the Procs of file PROCLIB on the terminal but does not pause at the end of each page.

:LISTPROCS MKTGPROCS (P)

This command lists the Procs of file MKTGPROCS on the printer.