Embedded SQL application for DB2LUW is developed in following steps:
- db2 prep
- db2 bind
Assume we have 2 DB2LUW nodes and DDL are identical for both nodes. When switching DB2LUW node, is precompilation for new node necessary? Or is it possible to start from binding by using the bind file generated when precompiled for the first node?
I mean is it possible to bind in the following way?
[for node1] 1. db2 prep 2. db2 bind
[for node2] db2 bind by using bind file generated at step1 for node1?
Any comments are greatly appreciated!