|
Sorry for the delay. I just flew in from a trip to Europe.
I'm guessing that the gateway software might have some built-in limit
to the number of characters that may appear in the statement. I'll ask
one of the gateway folks if this is true or not.
For the moment, a workaround might be to create several extraction
transfers, each to transfer a subset of the tables.
Claude
|
| Simon,
Below is a mail message I received from one of the gateway engineers. It might
give you a clue on how to proceed. I'm curious, though, about your choice of
column for DBKEY_MODE. You say you're using the DDAL$TRANSFER_ID column. Did
you actually mean to say DDAL$DBKEY?
Claude
Mail message follows:
Claude,
If there is a theoretical limit to the number of tables that can be
handled by a gateway, it would be something like 2 to the 16, or more. Our
nightly tests run with 21 tables. I don't think table count is this
users problem. (Unless it is indirectly the problem, as in each table has
a zillion columns, and this is resulting in an out of memory condition.)
Having said that, it is not a good sign that there is no message text
for the error message. This sort of thing is indicative of an underlying
component (like open client) signaling some condition, and that signal
not being handled by the underlying component. Result is that one of your
handlers catches it and reports an error. But, this is not necessarily
what is happening either.
I would add tables one at a time until I figured out which table
was causing the error. Also I would check what version of Sybase is
being used. If it is version 10 or 11 one needs to be careful about
the user of the new, numeric/decimal types. We have a release note
that explains some limits having to do with these types and dbkeys.
If this does not lead anywhere, see if you can get a script of
some such so that we can create the metadata for the 12 tables in
question here.
-chipper
|
| > Having said that, it is not a good sign that there is no message text
>for the error message.
This was due to the fact that the various product startup scripts had not
been run, but rather just the priveleged images installed by hand. So the
message files weren't installed.
Once that was done, various other problems came to light. For example an
entry in the DDI file for a non-existant table will prevent an attach.
Cheers,
Mark.
|