0% found this document useful (0 votes)
25 views3 pages

ADBS

Adabas Services on Windows includes two key components: the Adabas Database Service for managing database startup and shutdown, and the Adabas Shared Memory Service for creating shared memory. Administrator rights are required for installation and management, which can be done via the DBA Workbench or command line. The document outlines commands for installing, starting, stopping, and configuring these services, as well as notes on compatibility with different Adabas versions.

Uploaded by

Marcin Pączek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views3 pages

ADBS

Adabas Services on Windows includes two key components: the Adabas Database Service for managing database startup and shutdown, and the Adabas Shared Memory Service for creating shared memory. Administrator rights are required for installation and management, which can be done via the DBA Workbench or command line. The document outlines commands for installing, starting, stopping, and configuring these services, as well as notes on compatibility with different Adabas versions.

Uploaded by

Marcin Pączek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

Adabas Services on Windows Adabas Services on Windows

Adabas Services on Windows


There are two services for Adabas on Windows:

The Adabas Database Service is required to automatically start and stop databases at system start and
shutdown.

The Adabas Shared Memory Service is required to create shared memory, since this requires
additional privileges (not used on Windows operating systems before Windows Vista).

Notes:

1. You must have administrator rights on the machine in question in order to install, start and stop the
Adabas services.
2. If you want to administrate the Adabas services from the command line, start the Adabas Command
Prompt (Start -> All Programs -> Software AG Adabas 6.1.x -> Adabas Command Prompt). The
standard Adabas Command Prompt can only be used to administrate the Adabas services after you
have set the Adabas system environment (Start-> All Programs -> Software AG Adabas 6.1.x -> Set
Adabas System Environment).

Adabas Database Service


If you start an Adabas nucleus session under Windows, the session will be terminated normally when you
log off, however, in many cases, this behaviour is not desired.

In order to prevent this happening, you must start the database with the Adabas Database Service. The
Adabas Database Service is also able to start databases automatically when Windows is booted. You can
administrate the Adabas Database Service either via the DBA Workbench or via a command line
interface.

Note:
Adabas Version 3.3 contains a different Adabas Database Service that can be installed in parallel to the
Version 6.1 Adabas Database Service. Please use the Version 3.3 Adabas Database Service to process
Version 3.3 databases and the Version 6.1 Adabas Database Service to process Version 6.1 databases.

Administration of the Adabas Database Service via Workbench


The DBA Workbench expects that the Adabas Database Service is always running - this is the case after
the installation, provided that you don’t stop the service. Whether a database can be started with the
Adabas Database Service depends on the setting of Start As Service in the Profile menu of the
Workbench.

Note:
If you have switched on Start As Service, the database can only be started when the Adabas Database
Service is running.

1
Adabas Services on Windows Administration of the Adabas Database Service from the Command Line

Administration of the Adabas Database Service from the Command Line


To install the Adabas Database Service

Enter ADASRV INSTALL at the Command Prompt.

To start the Adabas Database Service

Enter ADASRV START at the Command Prompt.

Or:
Choose Services (depending on the operating system, these may be contained in either the Control
Panel in the Main program group, or in Administrative Tools in the Control Panel) and then choose
the Adabas Database Service from the Services list. Choose Start to start the service.

To stop the Adabas Database Service

Enter ADASRV STOP at the Command Prompt.

Or:
Choose Services (depending on the operating system, these may be contained in either the Control
Panel in the Main program group, or in Administrative Tools in the Control Panel) and then choose
the Adabas Database Service from the Services list. Choose Stop to stop the service.

Note:
Stopping the Adabas Database Service also automatically stops any Adabas databases that were started by
the service.

To remove (uninstall) the Adabas Database Service

Enter ADASRV REMOVE at the Command Prompt.

To set the startup mode of the Adabas Database Service

1. Choose Services (depending on the operating system, these may be contained in either the Control
Panel in the Main program group, or in Administrative Tools in the Control Panel) and then choose
the Adabas Database Service from the Services list.

2. Select the required startup type (automatic, manual or disabled) from the Startup type drop-down
list box.

3. Choose OK to set the startup mode.

To set and show the startup mode of a database

If you want a database to be started automatically when the Adabas Database Service starts, enter
ADASRV Set <dbid> AUTOSTART=Vnnn where nnn is the Adabas version, for example for
Version 6.1.1 you must specify AUTOSTART=V611.

If you want to display the value of AUTOSTART for a single/each database, enter ADASRV SHOW
[<dbid>] at the Command Prompt.

2
Adabas Shared Memory Service Adabas Services on Windows

Notes:

1. The value of the AUTOSTART parameter is stored in the configuration file


%ADADIR%\etc\ADABAS.INI under the subtopic [DBID_<dbid>] in the section [DB_LIST].
2. Although it is in principle possible, it is recommended that you do not use the Version 6.1
Database Service to process Version 3.3 databases by specifying AUTOSTART=V33n. The
reason for this is that the Version 3.3 DBA Workbench uses the Adabas Version 3.3 Database
Service, and therefore using the Version 6.1 Database Service for Version 3.3 databases would
cause unexpected behaviour of the Verion 3.3 Workbench and databases.

To display the status of a database

If you want to display which databases are currently started by the Adabas Database Service, enter
ADASRV STATUS at the Command Prompt.

To start and stop single databases

If the Adabas Database Service is already running, you can start a single database by entering
ADASRV START <dbid> at the Command Prompt.

If you want to stop a single database that has been started by the Adabas Database Service, enter
ADASRV STOP <dbid> at the Command Prompt.

Note:
You can use the Adabas Database Service to start and stop only those databases for which the value
of AUTOSTART has previously been set.

Adabas Shared Memory Service


On Windows Vista, a standard user should be able to start the Adabas nucleus or utilities, but a standard
user is not allowed to create shared memories. For this reason, the Adabas Shared Memory Service has
been introduced. The Adabas installation installs this service as an automatic service, and therefore the
service should always have the status Started.

However, it is possible to stop, start, remove and install the service from the command line, for example
when a fix for the service is provided:

To install the service, enter adashm install [auto] at the command prompt. If you specify
auto, the startup type is automatic, otherwise it is manual.

To start the service, enter adashm start at the command prompt.

To stop the service, enter adashm stop at the command prompt.

To remove the service, enter adashm remove at the command prompt.

Currently, the Adabas Shared Memory Service is only used under Windows Vista, but it is also installed
on the other Windows platforms in order to have a unified installation for all Windows platforms.

You might also like