This content has been marked as final. Show 3 replies
The problem is that not all commands that you invoke via Jython API will return you the appropriate Java classes or arrays. Some commands just produce something on stdout, and you have to parse it. I guess cdb.vs.la is one of those.
I don't have any better answer, sorry..., but I know that for example pdb.p.la gives array of plan objects.
Hello Martin, thanks for you reply.
Do you mean that it is just the Jython API that does not return the appropriate object or the CLI in general? If i try the same with the cr_cli command i get:
# cr_cli -cmd cdb.vs.la -comp NM:<path> -u <user> -p <pass>
<Table is empty>
Ah, ok, so it looks that plain cli is returning nothing for you, in which case Jython is probably doing the same.
What I wanted to point out was that some commands invoked via cr_cli actually return something on the stdout, but give you None when invoked via Jython API..