Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Starting SESDCN in interactive mode and passing control statements

When you start the SESDCN distribution component in the interactive mode, the terminal remains busy throughout the SESDCN session. You can only start other programs from this terminal by means of batch jobs. To avoid interrupting the SESDCN session, you should therefore start SESDCN in batch mode.

You can start SESDCN for the interactive mode either directly on screen or by means of a procedure; accordingly, you enter the SESDCN control statements either directly on screen or in the procedure. The control statements must come immediately after the start command START-SESAM-DCN.

Alternatively, you can enter the SESDCN control statements via an input file (see "Passing control statements by means of an input file").

Parameter input is logged to SYSLST. You can specify the extent of logging by means of the MODIFY-SDF-OPTIONS statement's LOGGING parameter (see the BS2000 manual “ Commands”). It is advisable to specify LOGGING=ACCEPTED-FORM here so that only the entered start parameters are logged, not the default values.

The sequence of commands for starting SESDCN is described on "Starting SESDCN in batch mode and passing control statements". You will find information on entering the SESDCN control statements on "Passing control statements by means of an input file".

Starting SESDCN and entering control statements interactively

When you start SESDCN directly on screen in the interactive mode, the SYSDTA system file must be assigned to the terminal.

Once the START-SESAM-DCN command has been entered, SESDCN requests the control statements interactively.

If one of the control statements is invalid, you receive an error message. You can then correct it. The corrected version of the control statement is not logged to SYSLST.

Starting SESDCN and entering start statements in a procedure

When you start and parametrize SESDCN in a procedure, you must assign the SYSDTA system file to the SYSCMD procedure file:


Example

In the interactive mode, you enter the SESDCN control statements in an SESDCN start procedure.

/SET-PROCEDURE-OPTIONS
...
/START-SESAM-DCN
//SESDCN control statements
...
//END
...
/EXIT-PROCEDURE