From: Ray Wurlod
Not really.  And you couldn't call it WHERE because that's a keyword for
UniVerse/SQL.
-------
Actually, you COULD call the verb WHERE, even though it is already a
keyword.
In VOC WHERE <3>  you can add the real name of the real verb you want
executed if WHERE appears in the command line as though a verb.

Here's an example of using WHERE to execute PORT.STATUS:

>CT VOC WHERE PORT.STATUS

     WHERE
0001 K
0002 506
0003 PORT.STATUS

>WHERE USER cds33896

There are currently 1 uniVerse sessions; 1 interactive, 0 phantom

Pid..  User name  Who  Port name..  Last command processed.......
 3304   cds33896   14  /dev/pts/td  PORT.STATUS USER cds33896
>

And it still functions properly as an SQL keyword:

>SELECT TYPE,F2,F3 FROM VOC WHERE TYPE='K' AND F3#'';
TYPE F2........... F3...........

K    22            SELECT
K    212           *
K    286           USERS.VERB
K    506           PORT.STATUS
K    276           FORMAT.VERB
K    215           *
K    573           DATE.VERB
K    214           *
K    378           COUNT.VERB
K    400           MAP.VERB
K    377           SUM.VERB
K    403           TIME.VERB
K    258           DISPLAY.VERB
K    66            FROM.VERB
K    66            FROM.VERB
K    194           LOGOUT
K    257           BREAK.VERB
K    213           *

18 records listed.
-------
u2-users mailing list
u2-users@listserver.u2ug.org
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to