Connection module parameters
DBCON require various parameters in order to fulfill its functions. The DBH name and the configuration name are important connection module parameters. They assign the application program linked to the connection module to a DBH and a configuration. Beyond that, there are various other DBCON configuration parameters
Connection modules for UTM applications that work with an independent DBH (DBCON) are generally parameterized through the application program's configuration file (see section “The configuration file”).
The user enters the connection module parameters in the configuration file and assigns them before the application program linked with the connection module is started. The parameters are then transferred to the connection module in the course of the start procedure.
All parameters are DBCON parameters.
The connection module parameters that apply to UTM application are listed below in alphabetical order:
CCSN=ccs-name | Coded character set with which the user program works. |
ccs-name: | Name of the coded character set as defined in BS2000 (system If a coded character set was specified for the database (CODE- This check does not take place for the utility statements If no CCSN was specified for the database, this check does not take |
CNF=k | Name of the configuration in which the application program is to operate |
k | A..Z, 0..9, ? Default: ? |
DIAG-DUMP=(diag) | Criterion for the generation of a diagnostic dump. |
diag: | {SQLSTATE=state|STATUS=status} state: SQLSTATE with class and subclass (5 bytes); SQLSTATE can be partially qualified by entering “ The first time the relevant error message is issued (SQLSTATE or |
ISOL-LEVEL= level | Default value for the isolation level of SQL transactions. |
level: | {READ-UNCOMMITTED | READ-COMMITTED | REPEATABLE- Valid for all transactions of the ESQL application program if the This parameter is only evaluated by TIAM and UTM applications. |
NAM=x | Name of the DBH with which the application program is to work |
x: | A..Z, 0..9, ? Default: ? |
NOTYPE | The message “SESAMxx not available ...” is suppressed |
NOUNT | If a long-running search query was interrupted by SESAM/SQL, |
NVT | The application can only run locally and it can only communicate |
PREFETCH-BUFFER=buffersize | Size in KB of the buffer used for the prefetch. This parameter is only evaluated by TIAM and UTM applications. |
PRIO-CHECK=t | Interval in seconds between two consecutive checks of the BS2000 task priority of the application program. 10 <= t <= 3600 Default: 300 |
PRIO-CHECK=OFF | The check of the BS2000 task priority of the application program will be deactivated following the first check. |
PUF= p | Maximum message length of DCAM or UTM applications in bytes A message may be:
Since the length of SQL messages is difficult to estimate, we |
TRACE,TYPE= type | Logging of the call or message trace is activated when the application program starts. |
type: | {CALL|MSG|(CALL|MSG)} Refer to the “ Database Operation” manual for further information on |
TOTAL-APPL=a | Maximum number of SESAM/SQL user applications in the configuration (this only applies to applications that do not operate in distributed mode) 1 <= a <= 128 Default: 64 |
TOTAL-USERS=u | Maximum number of SESAM/SQL user in the configuration (this only applies to applications that do not operate in distributed mode) 1 <= u <= 16000 Default: 128 |
UNT | Status 16 is passed to the CALL DML program unit if a long-running search query was interrupted by SESAM/SQL. Only effective for CALL DML statements! |
UTMVG={JA | YES} | A DB process is assigned to just one UTM conversation. System resources are allocated to a conversation and not to a user. |
UTMVG={NEIN | NO} | A DB conversation can cover several UTM conversations. The system resources are allocated to a user and not to a conversation. Therefore DB conversations cannot be stacked. The default is UTMVG=NO. |
Application start parameters
AT load time, the UTM application requires start parameters for UTM, SESAM/SQL and, where appropriate, for the FHS formatting system.
The UTM start parameters are entered as follows:
[.UTM] START startparameter[,...]
The UTM start parameters are described in the openUTM “ Generating and Handling Applications” manual.
The SESAM/SQL start parameters are specified in the configuration file. If the configuration file is empty, default values are used to parameterize the connection module.
If the FHS formatting system is used the start parameters must be specified as follows:
.FHS startparameter
The syntax and the meaning of the start parameters are described in the “ FHS (BS2000)” manual.
Example: starting a UTM application with ESQL-COBOL
Before starting a UTM application with ESQL-COBOL program units, you must allocate the SESAM/SQL module library. We recommend you dynamically load the required runtime systems at the UTM application start time.
Add the following statements to the start procedure of the UTM applications:
/ADD-FILE-LINK LINK-NAME=SESAMOML, FILE-NAME= sesam-modlib | 1. |
. | |
. | |
/CONNECT-SESAM-CONFIGURATION TO-FILE= global-configuration-file, - | |
/ CONFIGURATION-LINK= link-name | 2. |
or | |
/ADD-FILE-LINK LINK-NAME=SESCONF,FILE-NAME= file-name | 3. |
/START-PROGRAM FROM-FILE=*MODULE(LIBRARY= userlib ,ELEMENT= element-name - | 4. |
/ ,RUN-MODE=ADVANCED - | |
/ (ALTERNATE-LIBRARIES =YES) - | |
/ ) | |
.UTM utm-startparameters | 5. |
.FHS fhs-startparameters | 6. |
.UTM END | 7. |
. | |
. |
Allocates the SESAM/SQL module library.
Allocates the configuration file.
Calls the DBL dynamic linking loader to start the UTM application.
Starts the UTM application
Specifies UTM start parameters. You will find a description of the individual start parameters in the openUTM “ Generating and Handling Applications” manual.
Specifies the start parameters for the FHS formatting system. You will find a description of the individual start parameters in the “ FHS (BS2000)”manual.
Terminates the entry of the UTM start parameters.