1. Manage a BDomain

A Business Domain (BDomain) separates the loader streams that are loaded into the same PSA table. It is the first object to create for every new source.

1.1. Add a BDomain

To add a BDomain, use API_REDADM.ADD_BDOMAIN.

Example: Add the BDomain ‘TESTING’

1EXECUTE SCRIPT API_REDADM.ADD_BDOMAIN(
2    'TESTING'                      -- p_bdomain
3   ,'This is a test BDomain'       -- p_description
4);

This command creates a new entry in REDADM.RED_BDOMAINS.

BDOMAIN

DESCRIPTION

TESTING

This is a test BDomain

1.2. Modify a BDomain

To change the description of a BDomain, use API_REDADM.MODIFY_BDOMAIN.

Example: Change the Description of BDomain ‘TESTING’

1EXECUTE SCRIPT API_REDADM.MODIFY_BDOMAIN(
2    'TESTING'                      -- p_bdomain
3   ,'Changed description'          -- p_description
4);

The entry in REDADM.RED_BDOMAINS has changed:

BDOMAIN

DESCRIPTION

TESTING

Changed description

1.3. Remove a BDomain

To remove a BDomain, use API_REDADM.REMOVE_BDOMAIN. A BDomain cannot be removed while it is used in other metadata.

Example: Remove the BDomain ‘TESTING’

1EXECUTE SCRIPT API_REDADM.REMOVE_BDOMAIN(
2    'TESTING'                      -- p_bdomain
3);

The entry of BDomain ‘TESTING’ is removed from REDADM.RED_BDOMAINS.