Log on in the same group and account as the TurboIMAGE/XL database(s) and run ISQL to enter the statements interactively. At the ISQL
prompt, enter the START DBE NEW statement. For example, to configure a DBEnvironment named PartsDBE,
enter the following:
:RUN ISQL.PUB.SYS
isql=> START DBE 'PartsDBE' MULTI NEW
> MAXIMUM TIMEOUT = 2 MINUTES
> DEFAULT TIMEOUT = MAXIMUM
> DBEFILE0 DBEFILE DBEFILE0⇐ DBEFile0Definition
> WITH PAGES = 500, ⇐ . .
> NAME = 'PartsF0', ⇐ . .
> LOG DBEFILE DBELOG1 ⇐DBELog0Definition
> WITH PAGES = 500, ⇐ . .
> NAME = 'PartsLog'; ⇐ . .
isql=> EXIT;
:
|
If you forget the semicolon, ISQL prompts you with a right-angle
bracket (>). At this prompt, enter a
semicolon and ISQL will execute the statement.
If you wish to terminate the command, enter //.
The MULTI parameter is necessary if you plan on a
multiuser IMAGE/SQL environment.
The above command can also be done by the IMAGE/SQL utility.
The difference is that
IMAGE/SQL utility automatically creates the DBEnvironment with a DBEFILE0 size of 5000 pages, log file size of 10000 pages, and other ALLBASE/SQL defaults.