You enter the SESDCN control statements when you start SESDCN (see section “Starting the SESDCN distribution component”).
The following table provides an overview of the SESDCN control statements in the order in which they are entered:
SESDCN control statement | Function |
SET-DCN-OPTIONS | Causes the options to be read in. |
ADD-DISTRIBUTION-RULE-LIST | Defines the distribution rule. |
ADD-NETWORK-LINK-LIST | Defines the distribution rule. |
Table 12: SESDCN control statements
The first SESDCN control statement is SET-DCN-OPTIONS (see "SET-DCN-OPTIONS"). You enter this statement once and once only.
It is followed by the ADD-DISTRIBUTION-RULE-LIST control statement (see "ADD-DISTRIBUTION-RULE-LIST"). You use this statement to enter the databases to be included in the distributed system. You must enter this statement at least once for the master DCN. The master DCN is the first SESDCN started in a configuration. If you start additional SESDCNs in the configuration of the master DCN, you need not enter the ADD-DISTRIBUTION-RULE-LIST statement for these SESDCNs.
You can enter the required databases using a single statement, or you can enter them in groups using several ADD-DISTRIBUTION-RULE-LIST statements.
Finally, you can enter the ADD-NETWORK-LINK-LIST statement (see "ADD-NETWORK-LINK-LIST"). You use this to assign the logical link names of the databases to their respective physical access paths, thus defining the network for the distribution component.
You can do this using a single statement, or you can enter the databases in groups using several ADD-NETWORK-LINK-LIST statements.
You need not enter the ADD-NETWORK-LINK-LIST statement if the ADD-DISTRIBUTION-RULE-LIST statement contains only databases stored on the home system that belong to the same configuration as the SESDCN to be started.
Together with the entries created implicitly by SESAM/SQL the distribution rule may contain a maximum of 340 entries. You can, however, explicitly enter at least 300 databases and their associated networks.
END statement
The END statement concludes input of SESDCN control statements.
Example 1
The END statement concludes input of the SESDCN control statements after the information on the structure of the distribution rule.
//SET-DCN-OPTIONS ... //ADD-DISTRIBUTION-RULE-LIST ... //ADD-NETWORK-LINK-LIST ... //END
Example 2
The END statement concludes parameter input immediately after the SET-DCN-OPTIONS statement.
//SET-DCN-OPTIONS ...
//END