You do not have to turn on compatibility mode to load a 12.5.4 database.
Did you drop and recreate the stored procedure/view definitions?
As this is a form of upgrade, there is a section in the manuals covering it:
How Compiled Objects Are Handled When Upgrading Adaptive Server
Chris