Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Dec 6, 2022 6:41:38 AM
Aug 29, 2022 6:16:14 AM
The AS/400 supports a file concept known as multiple-member files, in which one file (or table) can possess several different members. Each member is a part of the same file or table and shares the same schema, but the members are uniquely named and have unique data. Just like a partition tables in other regular RDBMS eg in Oracle, MySQL etc.
ODBC and OLE DB have no built-in mechanism for accessing multiple members. By default, ODBC always accesses the first member in a multimember file. This is the known limitation in Replicate User Guide: • Multi-member (Partitioned) tables are not supported.
To enable ODBC-based applications such as Data Transformation Services (DTS) to access multiple-member files, we need to use the AS/400's SQL ALIAS statement. The ALIAS statement lets you create an alias for each member we need to access. We use ALIAS to access all members in Qlik Replicate full load stage. More samples Creating and using ALIAS names.
However, all member data changes will be recorded into DB400 Journal file, Qlik Replicate can capture all members changes. No special settings needed in Qlik Replicate CDC stage.
This article describe how to overcome the limitation and setup Replicate task to replicate Multi-Member Tables.
Support Case: 00049024
Hi John,
Many thanks for the blog.
Will separate tables be created for each alias at the destination?
Can we give the same destination table name for Alias tables?
Can we use different codepage like ibm-920_P100-1995 for String columns?
Best.
Hello @kutay_cilingiroglu
>> Will separate tables be created for each alias at the destination?
Yes, however, first, we need to merge all separate tables (corresponding to all the alias) into one single table (corresponding to the first member).
>> Can we give the same destination table name for Alias tables?
See above, yes.
>> Can we use different codepage like ibm-920_P100-1995 for String columns?
Yes, any supported codepage can be used.
Should you have any further questions, please post them directly in our Qlik Replicate forum (though feel free to reply to this message letting me know you posted there).
All the best,
Sonja