The SESADM administration program reads in the administration inputs with the help of SDF (see the “ SDF Dialog Interface”).
SESADM recognizes the following statements:
SESADM control statements (see "SESADM control statements")
administration statements (see "Alphabetical reference section").
The syntax of the SESADM control and administration statements complies with SDF conventions.
There are different ways of entering SESADM statements, depending on the mode used:
In interactive mode:
you can enter them interactively, directly on screen, with SDF support
you can enter them in the SESADM start procedure
you can enter them in the SESADM input file, which must be assigned before SESADM is started.
In batch mode:
you can enter them in the procedure for starting SESADM
you can enter them in the SESADM input file, which must be assigned before SESADM is started.
Entering SESADM statements interactively
For the interactive entry of SESADM statements directly on screen, SDF offers two modes:
expert mode (the default)
Nonexpert mode
You can use the SDF statement MODIFY-SDF-OPTIONS whenever you like to set the mode.
In expert mode, a system prompt (//) appears after SESADM starts. If you enter a question mark (?) here instead of an SESADM statement, SDF changes to nonexpert mode and displays the corresponding selection screens. When you enter an SESADM statement, SDF switches back to expert mode and the system prompt appears again.
In nonexpert mode, SDF displays a selection screen of the permitted statements when SESADM is started. When you select a statement, SDF supports operand input by means of appropriate SDF selection screens (see section “SDF selection screens for SESADM administration”).
Entering SESADM state ments via an input file or procedure
When entering SESADM statements via an input file or in a start procedure, the following rules apply:
The first statement must be the SESADM control statement START-DBH-ADMINISTRATION or START-DCN-ADMINISTRATION. This SESADM control statement identifies the DBH or SESDCN to be administered. All the administration statements that come immediately after it relate to the DBH or SESDCN thus identified.
The first statement is followed by administration statements to the identified DBH or SESDCN.
The administration statements can be followed by another identifying SESADM control statement, in turn followed by associated administration statements. This step can be repeated several times.
The SDF standard statement STEP marks a section of administration statements (see "SDF standard statement STEP").
The SESADM control statement END terminates administration with SESADM (see "END").
Example
The example below shows an input file for administration with SESADM. The input file contains both DBH and SESDCN administration statements.
//START-DCN-ADMINISTRATION - // PASSWORD='ADM',DCN-NAME=A,CONFIGURATION-NAME=2,HOST-NAME=P614 //SHOW-USERS //START-DBH-ADMINISTRATION - // PASSWORD='ADM',DBH-NAME=7 //SHOW-DBH-OPTIONS //STEP //MODIFY-ADMINISTRATION NEW-PASSWORD='XTI' //MODIFY-SUBORDER-LIMIT LIMIT=1000 //SHOW-CATALOG-USERS //STEP //ROLLBACK-TRANSACTION USER=*TSN(TSN=3343) //STEP //START-DCN-ADMINISTRATION - // PASSWORD='ADM',DCN-NAME=B //STEP //SHOW-DISTRIBUTION-RULE-ENTRIES //REMOVE-DISTRIBUTION-RULE-ENTRY CATALOG-NAME=TEST1 //STEP //START-DCN-ADMINISTRATION - // PASSWORD='ADM',DCN-NAME=C //SHOW-DISTRIBUTION-RULE-ENTRIES //MODIFY-DISTRIBUTION-RULE-ENTRY - // HOST-NAME=P614,NEW-NAME=P616 //ADD-DISTRIBUTION-RULE-ENTRY // CATALOG-NAME=TEST2,DCN-NAME=C,CONFIGURATION-NAME=X,HOST-NAME=P616 //SHOW-TRANSACTIONS //STEP //ROLLBACK-TRANSACTION USER=*BY-SELECT(HOST-NAME=P614, - // *TSN=(TSN=2012),CUSTOMER-NAME=TEST) //END