The LISTPROCS Proc sorts and lists all of the Procs in any specified file dictionary or Master Dictionary. This Proc can be used to review the function of each Proc.
Format
LISTPROCS [dictname] [modifiers] |
Parameter(s)
dictname |
Name of the file dictionary or Master Dictionary. If no dictname is specified, LISTPROCS displays the Procs in the PROCLIB dictionary. |
|
modifiers |
Can be one of the following: |
|
LPTR |
Sends output to the printer. |
|
NO PAGE |
Suppresses automatic paging. |
Listing Procs in a Dictionary
The following example lists the Procs in the PROCLIB dictionary:
>LISTPROCS
PAGE 1 14:09:56 dd mmm yyyy
PROCLIB : ASM 1 PQ AMC S2 S/NAME IF #A IHSM STRUCT IF A3 G 2 CONVERSION IP. CORRELATIVE IF #A X+ TYP 2 C MAX D2+
PROCLIB : CHARACTERS 1 PQ AMC 1 C S/NAME O !"#$%&'()*+,- ./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_123456789 STRUCT IF A2 # U O abcdefghijklmnopqrstuvwxyz{|}~ CONVERSION IF A = 0 X CORRELATIVE IF A = 00 X TYP IF A = 000 X MAX IF A # 0000 G 1
PAGE 2 14:14:17 dd mmm yyyy
PROCLIB : CHOO-CHOO 1 PQ AMC C THIS PROC PRINTS A PICTURE OF A CHOO CHOO TRAIN S/NAME C ON YOUR TERMINAL...JUST FOR FUN. STRUCT 1 O CONVERSION O CORRELATIVE O TYP O S S S S MAX O S
PROCLIB : CP 1 PQ AMC C COPIES AN ITEM OR ITEMS FROM THE FILE SPECIFIED S/NAME C TO THE TERMINAL. STRUCT F CONVERSION IF A GO 11 CORRELATIVE H (P) TYP STON MAX H<
PROCLIB : CT 1 PQ |
The resulting display shows lines 1 through 4 and 7 through 10 of each Proc in the PROCLIB dictionary. Each line of a Proc is shown as if it were an attribute in a File Definition item.