Hi,
I am wanting to get the results of SYS.Database class's List query into a result set.
I have code that does it, but I get a cursor error at the end.... should I just to a try/catch and ignore this error below? Or can I call this in a different way to avoid the error?
My code, in the %SYS namespace
Set status=Statement.%PrepareClassQuery("SYS.Database","List")
//
while (rset.%Next())
{
W !,rset.%Get("Directory"),?30,rset.%Get("Size"),?40,rset.%Get("MaxSize")
}
when I call