If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > Illegal SPL Routine Entry from dbschema.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-04, 18:39
mickm mickm is offline
Registered User
 
Join Date: Dec 2004
Posts: 1
Illegal SPL Routine Entry from dbschema.

i'm on 9.40.fc4, but i know this problem migrated over from 7.31. when i do a dbschema, it dumps out all the schema info until it gets to a specific stored procedure, and this is what it outputs:

-- last part of previuos procedure...

return totalrows;

end procedure
;


**
Illegal SPL Routine Entry.

sysprocbody looks fine, and i can dump out the text of the next procedure, but it has this at the beginning, which isn't part of the text that is loaded from our side:

-- All existing object permissions for the object 'getpart'
-- will be automatically restored after this script is executed.

drop procedure getpart;

create procedure getPart( partno int, str varchar(255) )
returning varchar(255);

the comments and the drop aren't part of the code that we load, so where does that come from? and are those the illegal characters that dbschema is complaining about?

i found this as 9.4 dumps the schmea differently than 7.3, dumping the indexes after the tables and sp's. so i have to do a dbschema of the tables, perms, etc... to get the whole db, but i can't dump the sp's. i have to piece it together from dumping out sysprocbody.

any ideas?

thanks,

mickm
Reply With Quote
  #2 (permalink)  
Old 12-03-04, 03:23
matute matute is offline
Registered User
 
Join Date: Jun 2004
Location: Madrid, Spain
Posts: 47
Hi,

It sounds like a deleted-body proecdure or a corruption in sysprocbody.

Can you export the code for each procedure using dbschema -d bbdd -f all, or dbschema -d bbdd -f procedure_name?
__________________
José Luis Matute.

Regards from Spain.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On