On Wed, December 2, 2009 2:46 pm, Dan Bron wrote:
> Bill Harris wrote:
>>  I’m not sure what it’s doing, though;
>>  can someone give me a mental shortcut?
>
> It enumerates the tables in the database, I think.  I don't have much more
> help for you than that, so this message is really more a primer on how I
> investigate such issues, in the hope that you can use the tools to pin the
> problem down further.

> This error means  dat  doesn't have 2 columns (i.e. it has 1 or less),
> because the code is trying to pick the 2nd element from each row, and the
> rows have no 2nd element.
>
> So maybe the tables enumeration isn't what's expected?  But  ddschtbl
> does
> check for errors from its function calls.  So maybe you don't have any
> tables in that database?

Dan,

_That_ probably explains it.  I have no access to the real tables; they're
locked down.  I do have access to views.  If it's querying tables and not
views, it will pass the connect test, and it will fail to return anything
in the way of a list of tables.

Unless someone (Oleg?  me?) wants to update dbman to allow for no tables
reported back (with the wrong number of columns in that case) or unless my
DBA wants to make tables visible, I think that may be it for me and dbman
in this case.

Thanks for the quick answer.

Bill



----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to