In batch mode, you start SESDCN as a batch job with the command
/ENTER-PROCEDURE FROM-FILE=filename
where filename
is the name of an SDF-P procedure created by the user in which he or she enters the sequence of commands for starting SESDCN.
Sequence of commands for starting SESMON
[/MODIFY-TEST-OPTIONS DUMP=YES] 1. [/ASSIGN-SYSDTA TO-FILE = *SYSCMD] 2. /START-SESAM-DCN 3. [//SESDCN control statements] 4. [//END] 5.
Causes each requested memory dump to be output and a message issued to SYSOUT. You should enter this statement in order to receive the diagnostic documentation required in the event of an error.
Assigns the SYSDTA system file to the SYSCMD procedure file. This assignment is not necessary if you enter the SESDCN control statements in an S procedure.
Starts the SESDCN distribution component with the start command START-SESAM-DCN (see also section “Starting SESAM/SQL programs via start commands”).
You must enter the SESDCN control statements here (see section “SESDCN control statements” on "Entering SESDCN control statements"). You enter them if you do not want to use the defaults or do not assign the control statements via an input file.
The END statement concludes input of the SESDCN control statements.
Entering the SESDCN control statements
There are two ways to enter the SESDCN control statements:
You can enter the control statements in the procedure in the sequence of commands for starting SESDCN. In this case, you must assign the SYSDTA system file to SYSCMD before the START-SESAM-DCN command. The start parameters must come immediately after the start command START-PROGRAM.
You can pass the control statements via an input file (see section “Passing control statements by means of an input file”).
In both cases, you must conclude input of the control statements with the END statement. In the event of an invalid control statement, SESDCN aborts. A distribution rule is not generated if this happens.