Copy a local subscription definition

We can copy a subscription definition using the LIKE attribute on the DEFINE command.

For example:
DEFINE SUB(BLUE) +
       LIKE(ORANGE)
We can also copy the attributes of the sub REAL to the sub THIRD.SUB, and specify that the correlID of delivered publications is THIRD, rather than the publishers correlID. For example:
DEFINE SUB(THIRD.SUB) +
       LIKE(BLUE) +
       DESTCORL(ORANGE)
Parent topic: Work with subscriptions


Related information