Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Bill64bits, on IDS 9.4 TC2 under Windows 2000, found dbexport no longer exported views and dbschema -f all aborted with 'Illegal SPL Routine Entry' after the last stored procedure. Superboer suggested oncheck, per-routine update statistics, or SQLIDEBUG with sqliprint. Art S. Kagel suspected a renamed leftover 7.x procedure in sysprocedures after an in-place upgrade, and suggested a later IDS or his myschema utility. No confirmed outcome.
Auto-generated by Claude from the posts below — may be imperfect; read the full thread.
This concerns IDS 9.4 TC2 on Windows 2000.
I have one database that recently stopped exporting views from dbexport and
there are no error messages. It imports fine, but no views.
Also, I notice that when I do dbschema -d database -f all
Then dbschema aborts after the last stored proc with:
**
Illegal SPL Routine Entry
I don't know if these two things are related, but how would one find out
what is hosed in the database?
you could try oncheck
or foreach spl you have genereate an update stats for it
eq:
unload to genupstats.sql delimiter ";"select
"update statistics for routine " || trim (procname)
from sysprocedures;
run genupstats.sql and fingers crossed that it bombs on the problem one
or:
set sqlidebug
Windowze:
set SQLIDEBUG=2:c:\\tmp\\somefile
run
dbschema -d database -f alluse sqliprint to dump the contens from c:\\tmp\\somefile
fingers crossed you may find the problem one.
sqliprint comes with clientsdk.
Superboer.
Bill64bits schreef:
> This concerns IDS 9.4 TC2 on Windows 2000.
>
> I have one database that recently stopped exporting views from dbexport and
> there are no error messages. It imports fine, but no views.
>
> Also, I notice that when I do dbschema -d database -f all
> Then dbschema aborts after the last stored proc with:
> **
> Illegal SPL Routine Entry
>
> I don't know if these two things are related, but how would one find out
> what is hosed in the database?
↪ replying to Bill64bits
Art S. Kagel — — source: Usenet: comp.databases.informix
Bill64bits wrote:
> This concerns IDS 9.4 TC2 on Windows 2000.
>
> I have one database that recently stopped exporting views from dbexport and
> there are no error messages. It imports fine, but no views.
>
> Also, I notice that when I do dbschema -d database -f all
> Then dbschema aborts after the last stored proc with:
> **
> Illegal SPL Routine Entry
>
> I don't know if these two things are related, but how would one find out
> what is hosed in the database?
>
>
Was the engine upgraded in place from IDS 7.xx? If so the problem may be a
7.xx specific stored procedure that had to be replaced by one compatible
with 9.xx. The old one was renamed to an invalid name but left in place to
ease reversion back to 7.xx. Look for an entry in sysprocedures in each
database that has this problem with a trashed name. You can try getting a
later version of IDS where the problem in dbexport was solved. You can try
using my dbschema replacement utility, myschema. With the -l option it's
output is compatible with dbimport so you should be able to replace the
partial schema file that dbexport left you with one from myschema and
dbimport using that. Myschema is in the package utils2_ak available for
download from the IIUG Software Repository.
Art S. Kagel
↪ replying to Bill64bits
Art S. Kagel — — source: Usenet: comp.databases.informix
Bill64bits wrote:
> This concerns IDS 9.4 TC2 on Windows 2000.
>
> I have one database that recently stopped exporting views from dbexport and
> there are no error messages. It imports fine, but no views.
>
> Also, I notice that when I do dbschema -d database -f all
> Then dbschema aborts after the last stored proc with:
> **
> Illegal SPL Routine Entry
>
> I don't know if these two things are related, but how would one find out
> what is hosed in the database?
>
>
Was the engine upgraded in place from IDS 7.xx? If so the problem may be a
7.xx specific stored procedure that had to be replaced by one compatible
with 9.xx. The old one was renamed to an invalid name but left in place to
ease reversion back to 7.xx. Look for an entry in sysprocedures in each
database that has this problem with a trashed name. You can try getting a
later version of IDS where the problem in dbexport was solved. You can try
using my dbschema replacement utility, myschema. With the -l option it's
output is compatible with dbimport so you should be able to replace the
partial schema file that dbexport left you with one from myschema and
dbimport using that. Myschema is in the package utils2_ak available for
download from the IIUG Software Repository.
Art S. Kagel
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.