Skip to content

Multimember files

A Db2 for i physical file can have several members. Stelo Capture can replicate members other than the first incrementally.

Requirements

  1. The agent's multiMember property is on (the default; Db2 for i agents only). If it's false on the agent's Configuration tab, set it to true or remove it (saving restarts a running agent).
  2. The file is journaled, by autojournaling or another method (see Journaling).

Replicate a member other than the first

  • Choose the member in the Data Replicator Manager. Turn on AS/400 Multi Member File Access in the source's advanced properties (see Source properties); the Subscription Wizard then lets you select the member. Nothing needs to be set up on the IBM i for this.
  • Create an SQL alias for each member and subscribe to the aliases:

    CREATE ALIAS MYLIB.MYFILE_MYMBR FOR MYLIB.MYFILE(MYMBR)
    

Kafka destinations can replicate individual members without the alias method.