User exits allow direct access to system functions. The following User Exits commonly used from within PROC are presented:
Logs off the current process. |
|
Performs a correlated match on a MultiValue set. |
|
Sets system execution lock number 9. |
|
Used for general output formatting. |
|
Moves a parameter from the source buffer to the destination buffer. |
|
Saves an active list. |
|
Executes a computed goto branch based on the value in the current output buffer. |
|
Performs cursor control functions. |
|
Retrieves a value from an attribute of an item in a file. |
|
Returns and (optionally) formats a value from a file or a text string. |
|
Releases previously-locked execution lock number 9. |
|
Swaps the first two values of the date. |
|
Retrieves the next item in an active list. |
|
Pads the current input buffer with enough leading zeros to make the value in the number of digits a specific number of digits wide, and returns the resulting string to the secondary input buffer. |
|
Retrieves all MultiValue from an attribute. |
|
Pads the value in the secondary input buffer with zeros. |
|
Initiates a restore of the entire file system from file-save media. |
|
Disables the BREAK key. |
|
Unconditionally releases execution lock number 9. |
|
Sets the current position of the assigned print queue as top-of-form for subsequent printer output. |
|
Kills the Proc stack flag. |
|
Resets both output buffers, just like the ro command. |
|
Retrieves all values of an attribute from an item in a file, but does not advance the MultiValue counter. |
|
Deletes entries from the output buffer. |
|
Enables the BREAK key. |
|
Releases an execution lock if it was locked by the current port. |
|
Directs all subsequent output to the terminal. |
|
Flags a statement for later transfer of control. |
|
Returns the current port number. |
|
Implements a Proc subroutine call. |
|
Returns the current ABS frame number. |
|
Disables output to the Spooler, and redirects output to the terminal. |
|
Returns the number of AQL items selected into a Proc parameter. |
|
Returns control to the statement immediately following the most recently executed subroutine call. |
|
Replaces the string in the primary input buffer with a new string, placed in the next Proc line. |
|
Used as a Proc subroutine return. |
|
Sends the bell character (beep) to the terminal. |
|
Used as a Proc subroutine return. |
|
Toggles a system-level flag that controls visible output to the users terminal. |
|
Disables terminal output. |
|
Returns the system serial number. |
|
Returns the port number of the current process, and places it in the output buffer. |
|
Directs all subsequent output to the printer. |
|
Transfers control to the specified Proc name in the primary output buffer. |
|
Transfers control (chains) to another Proc, without affecting the contents of the input buffers. |
|
Deletes the data in the primary input buffer from the current pointer to the end of the buffer. |
|
Moves entries from the current position in the input buffer to the end. |
|
Returns the who information for the current process into the active input buffer. |
|
Returns the current tape reel number into the active input buffer. |