SQLUNT Variable - Get First Available SQL Channel
Syntax
SQLUNT
Description
The SQLUNT verb returns the first available SQL channel not currently
in use by the application. This is for standard subroutines and public
programs that need to open an SQL channel but do not know in advance which
channels are in use when they are called.
The SQLUNT variable is similar to the UNT Variable.
Examples
1010 LET CHAN=SQLUNT; SQLOPEN(CHAN)DB$