Hi All,
Need your help/suggestion.
DB2 Version - 10.5 , 9.7
OS - AIX
Recently , on our Dev environment DB2 got migrated from 9.7 to V10.5. QA is still 9.7.thought to drop the schema in QA and generate db2look in dev only for that specific schema and run that in QA.
I was in process of building a new Database on Dev. I have created the database on QA as well, but due to multiple changes App. Team wants to recreate each objects again in QA from Dev. Since I have all objects ( tables and Procedures) in one schema. I
But I came across few keywords used in V10.5 like "octets", "Organize by rows" and some more which are not allowed in 9.7 and giving error.
any idea ? should I manually remove those ?
Thanks in advance for reply.
Regards
Shashi
On Friday, October 21, 2016 at 8:08:23 AM UTC+5:30, Jerry Stuckle wrote:I thought to drop the schema in QA and generate db2look in dev only for that specific schema and run that in QA.
On 10/20/2016 8:55 PM, Shashi Shekhar wrote:
Hi All,
Need your help/suggestion.
DB2 Version - 10.5 , 9.7
OS - AIX
Recently , on our Dev environment DB2 got migrated from 9.7 to V10.5. QA is still 9.7.
I was in process of building a new Database on Dev. I have created the database on QA as well, but due to multiple changes App. Team wants to recreate each objects again in QA from Dev. Since I have all objects ( tables and Procedures) in one schema.
But I came across few keywords used in V10.5 like "octets", "Organize by rows" and some more which are not allowed in 9.7 and giving error.
any idea ? should I manually remove those ?
Thanks in advance for reply.
Regards
Shashi
In general, tools are upward compatible but not downward, as you found.
The safest way would be to recreate the objects using the original DDL
you used on Dev. Failing that, you can't just blindly remove the
keywords. You need to look at each statement and ensure the changes
result in an equivalent object in 9.7.
Thanks Jerry.
meanwhile, I googled and found below page of developerworks. he also faced similar issue.
https://www.ibm.com/developerworks/community/blogs/norbertogf/entry/db2look-105-to-97?lang=en
I also replaced those keywords with null/space. and ran the db2look file on my QA. It worked .
Any idea, This way I would have missed something which may cause potential issue later time?
Thanks again in advance for your time.
Regards
Shashi
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 293 |
Nodes: | 16 (2 / 14) |
Uptime: | 236:37:27 |
Calls: | 6,624 |
Files: | 12,172 |
Messages: | 5,319,832 |