Skip to main content

First I read from the help info that adding EXCLUDE spec can  be done only when the replication group is ended and I will do that. 

The INCLUDE spec of an existing replication group looks simply like this :

 Opt  Group       Inc  Object      Type        Library     Attr 
      GRPU3       INC  *ALL        *ALL        LIBA        *ALL 
      GRPU3       INC  *ALL        *ALL        LIBB        *ALL 
      GRPU3       INC  *ALL        *ALL        LIBC        *ALL

There are about 30 libraries in all.   Now I want to add that ALL data queue objects in all these 30 libraries are to be excluded from replication.   The question is whether I can add only one entry for   EXC  Object=*ALL  TYPE=*DTAQ  Library=*ALL  Attr=*ALL  ?      (I was hoping I do not have to add 30 entries, each for each library but I cannot find any help info on this).

If the answer is yes,  I hope I can add more of a single exclude entry like this for each object type for all libraries that I do not want to be replicated in a specific replication group.

Thanks in advance.  



------------------------------
Satid Singkorapoom
IBM i SME
Rocket Forum Shared Account
------------------------------

First I read from the help info that adding EXCLUDE spec can  be done only when the replication group is ended and I will do that. 

The INCLUDE spec of an existing replication group looks simply like this :

 Opt  Group       Inc  Object      Type        Library     Attr 
      GRPU3       INC  *ALL        *ALL        LIBA        *ALL 
      GRPU3       INC  *ALL        *ALL        LIBB        *ALL 
      GRPU3       INC  *ALL        *ALL        LIBC        *ALL

There are about 30 libraries in all.   Now I want to add that ALL data queue objects in all these 30 libraries are to be excluded from replication.   The question is whether I can add only one entry for   EXC  Object=*ALL  TYPE=*DTAQ  Library=*ALL  Attr=*ALL  ?      (I was hoping I do not have to add 30 entries, each for each library but I cannot find any help info on this).

If the answer is yes,  I hope I can add more of a single exclude entry like this for each object type for all libraries that I do not want to be replicated in a specific replication group.

Thanks in advance.  



------------------------------
Satid Singkorapoom
IBM i SME
Rocket Forum Shared Account
------------------------------

Hi Satid,

You are correct that both include selections and exclude selections can be added to a replication group using a specific object type or even the extended attribute within a specifier.  As you see in the partial command picture below, when you invoke the command, the valid options are provided and can be further queried by moving your cursor to the entry field and pressing F1 for help or F4 to show valid entries for the field.

To answer your question directly, "yes, you can add a generic EXCLUDE for all  *DTAQ objects for all libraries for a replication group".  This command below would result in all *DTAQ object types being excluded from this replication group.  You would need to review your selections and make the generic selection that excludes DTAQ types as the only entry for DTAQ to build your desired result.

Hope that helps.

Mark



------------------------------
Mark Watts
Sr. Software Engineer
Rocket Software Inc
Waltham MA US
------------------------------