HP 3000 Manuals

The Interface to HP TurboIMAGE/iX [ HP ALLBASE/4GL Developer Reference Manual Vol. 1 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 1

The Interface to HP TurboIMAGE/iX 

Opening and Closing Databases 

HP TurboIMAGE/iX databases are automatically opened when a data set
within the database is accessed.  Databases are opened with the HP
TurboIMAGE/iX database password that is specified by the HP ALLBASE/4GL
administrator within the administrator application.  This password
identifies the read and write access available to all end users and
developers of the application.

HP TurboIMAGE/iX databases are only closed at the end of an HP
ALLBASE/4GL session or when an explicit DM IMAGE *CLOSE logic command is
executed.

Database Access Modes.   

HP TurboIMAGE/iX databases must be opened in an access mode.  Within HP
ALLBASE/4GL, this mode is set by the DM IMAGE *MODE command.

The default database access mode is *MODE *READLOCK. This corresponds to
the HP TurboIMAGE/iX access mode number 5.  If no database access mode
has been set for a database, it is opened in the default mode.

The database is accessed in the same access mode until the database is
closed.  Any DM IMAGE *MODE commands executed for the database while it
is open will not reset the access mode.

In addition to these access restrictions, HP ALLBASE/4GL must use a user
class password to access HP TurboIMAGE/iX. This password, which is
specified by the HP ALLBASE/4GL administrator, defines the overall access
permissions of all developers and end users of the application for the
particular database.  The DM IMAGE *MODE and the MODE command cannot
provide more capability than the access permissions allowed for the user
class password.  For further details about this password, refer to the HP 
ALLBASE/4GL Developer Administration Manual.

Opening and Closing Data Sets 

Data sets are opened in the database access mode specified by the DM
IMAGE *MODE logic command.  The type of access to the data set is also
controlled by the MODE command.  Refer to the FILE (HP TurboIMAGE/iX)
command in chapter 12 for more information about access modes.

All open data sets are automatically closed at the end of each process.
In addition, developers may specify that the entire database is closed,
in which case all data sets within the database are closed automatically.



MPE/iX 5.0 Documentation