Procs are stored procedures that are interpreted by the PROC processor. Procs are defined as PQ items in the Master Dictionary and often as items in a user’s Proc library. System Procs are stored in a global file, PROCLIB. The Master Dictionary contains a pointer to the PROCLIB file and each Proc points to an item in that file.
The CT Proc in the Master Dictionary is shown below:
CT 001 PQ 002 (PROCLIB CT) |
A number of standard Procs are available in an account:
CT |
Copies one or more items from file to terminal screen. Invokes SORT processor. |
LISTCONN |
Displays a sorted list of the connectives available in the account. Invokes the SORT command. |
LISTDICT |
Displays a sorted list of the Attribute Definition items in the Master Dictionary or any file dictionary. Invokes the SORT command. |
LISTFILES |
Displays a sorted list of File Definition items in the Master Dictionary or any file dictionary. Invokes the SORT command. |
LISTPROCS |
Displays a sorted list of commands in PROCLIB or any specified file dictionary. Invokes the SORT command. |
LISTVERBS |
Displays a sorted list of Procs in the Master Dictionary or any specified file dictionary. Invokes the SORT command. |
See Also