2

I'm trying to migrate a DB2 on cloud database to oracle. I have downloaded SQL developer, added the correct JARs for the DB2 drivers and can run the migration successfully on the database.

The only part of the migration I'm struggling with is the conversion of the stored procedures which are not outputted in the ddl. This seems to be an issue with the language of the procedures; the migration log is showing the below:

<record>
  <date>2018-09-24T16:25:39</date>
  <logger>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</logger>
  <level>WARNING</level>
  <class>oracle.dbtools.migration.generate.GenerateWorker</class>
  <message>Stored Procedure '*****' has language id of 'DB2LANG' so will not output for generation</message>
  <key>Generate.PROCNOTCONVERTED</key>
  <catalog>oracle.dbtools.migration.workbench.core.MigrationLogResourceBundle</catalog>
  <param>*****</param>
  <param>DB2LANG</param>
  <param>*****, MD_STORED_PROGRAMS, 1864951Generate</param>

</record>

Has anyone got any experience in migrating DB2 stored procs, or knows if there is a way to avoid having to re-write all the stored procedures?

Thanks in advance for your help.

Tom

1 Answer 1

1

Tom, DB2 stored procedures are not supported for translation. B

Sign up to request clarification or add additional context in comments.

2 Comments

there are some 3rd party (non-Oracle) solutions that offer to do this for a price
Thanks for the help guys; that's the conclusion I came to. Might be one to call out in the documentation as there was no mention of that limitation anywhere obvious. Cheers

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.