Migrating the database tables on Db2 on z/OS to V8.0.0
If your database is Db2® on a z/OS® system, you must complete the following steps to migrate between different versions of WebSphere® MQ File Transfer Edition V7.0.3 to V7.0.4, and WebSphere MQ File Transfer Edition V7.0.4 to IBM® MQ Managed File Transfer V8.0.0. The Db2 tables have different structures from previous releases. For example, there are new columns in some tables, and some variable characters columns can be larger, so the tables from previous releases have to be migrated to the V8.0 format.
About this task
IBM MQ Managed File Transfer V8.0 supports transferring very large files, where the size
of the file is larger than can be stored in an integer (32 bit) number.
There is a definition that uses BIGINT (64 bit) numbers. You can
choose to use integer definitions, called ftelog_tables_zos.sql
, or BIGINT definitions, called ftelog_tables_zos_bigint.sql
, located in the prod/mqf/sql directory.
The BIGINT data type is available in WebSphere MQ File Transfer Edition V7.0.4 Fix Pack 3, or IBM MQ Managed File Transfer V7.5 Fix Pack 1 or later.
To enable use of BIGINT data types, you must be using Db2 V9.1 or later. INTEGER data types are used for fields which denote the sizes of files that are transferred and the table ID associated with each transfer. If you want to log transfers with file sizes greater than 2 GB, or if you want to store more than 2,147,483,648 individual transfers in your database you must use the BIGINT SQL file.
- You have existing tables from V7. of the product. These tables
have a schema, for example
FTELOG
. - Create V8 tables using a different schema name, for example,
FTEV8
. This allows you to copy data fromFTELOG.table
toFTEV8.table
. - Copy the data to the new table
- Set the generated ID values in the new tables
- Run the fteMigrateLogger command to move the properties file to a new place in the directory structure.
- Edit the logger properties file to specify the new schema (
FTEV8
) - Edit the existing Logger JCL to use the V8 IBM MQ Managed File Transfer libraries.
- Start the logger.
- Once the logger is working you can delete the
FTELOG
tables.
In the following description IBM MQ Managed File Transfer product is installed in the /HMF8800 directory in USS.