Bruce,

Unless it has been wrapped into a "user space" method, the only way I know
of listing namespaces is

For i = 1:1:$ZU(90,0) {
  Set list($ZU(90,2,0,i)) = ""
}

This yields the list of namespaces as subscripts to the "List" array. I got
this from the source code of  %NSP, which is invoked by %CD to list
namespaces.

Now, how to get the databases from it... Good question! But I reckon if you
want to list tables, views et al like SQL Manager does, you don't want to go
into databases, do you? I mean, tables and views "live" straight below
namespaces AFAIK.

HTH,

Ram�n



Reply via email to