5. Manage BDomain Settings¶
Make sure that the BDomain already exists:
5.1. Add DBI BDomain Settings¶
To add Bdomain specific DBI settings use API_DBIADM.ADD_BDOMAIN_SETTING.
Currently the only parameter is the offset in hours if the change of business days should not occur at midnight, otherwise the default value will be used, which is 0.
Example: configure a 6-hour offset for BDomain ‘TESTING’
1EXECUTE SCRIPT API_DBIADM.ADD_BDOMAIN_SETTING(
2 'TESTING' -- p_bdomain
3 ,6 -- p_bdate_start_offset
4);
Issuing this command results in a new entry in the table DBI_BDOMAIN_SETTINGS.
BDOMAIN |
BDATE_START_OFFSET |
---|---|
TESTING |
6 |
5.2. Modify DBI BDomain Settings¶
To modify the DBI BDomain settings use API_DBIADM.MODIFY_BDOMAIN_SETTING.
Example: change the offsaet back to zero
1EXECUTE SCRIPT API_DBIADM.MODIFY_BDOMAIN_SETTING(
2 'TESTING' -- p_bdomain
3 ,0 -- p_bdate_start_offset
4);
After running the command above the entry for the bdomain ‘TESTING’ in the table DBI_BDOMAIN_SETTINGS will have changed.
BDOMAIN |
BDATE_START_OFFSET |
---|---|
TESTING |
0 |
5.3. Remove DBI BDomain Settings¶
To remove DBI bdomain settings for a bdomain use API_DBIADM.REMOVE_BDOMAIN_SETTING.
Example: remove BDomain settings from ‘TESTING’
1EXECUTE SCRIPT API_DBIADM.REMOVE_BDOMAIN_SETTING(
2 'TESTING' -- p_bdomain
3);
After issuing the command above the entry belonging to the bdomain ‘TESTING’ will have been removed from the table DBI_BDOMAIN_SETTINGS.