HP 3000 Manuals

DM IMAGE *CLOSE Command [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation


HP ALLBASE/4GL Developer Reference Manual Vol. 2

DM IMAGE *CLOSE Command 

The DM IMAGE *CLOSE command closes one or more HP TurboIMAGE/iX
databases.

Format 

DM IMAGE *CLOSE :D-database...[;command]

Parameters 

database 

The name of the HP TurboIMAGE/iX database(s) to be closed.  The name must
be an HP ALLBASE/4GL name for the database, as defined in the
administrator application.

command 

A command to be executed if an error occurs while the DM IMAGE *CLOSE
command is being executed.  You can use any of the following commands:

   *   ENTER

   *   EXIT

   *   EXTERNAL

   *   MESSAGE

   *   PROCEED

   *   SERIES

   *   TOP

   *   VISIT

   *   ZIP

Description 

Full HP TurboIMAGE/iX database closure occurs implicitly only at the end
of the HP ALLBASE/4GL session.  To explicitly close a complete database
during a session, you must use the DM IMAGE *CLOSE command.

When a database is closed, all database, data set, and record (data
entry) level locks for the specified database are released.

The DM IMAGE *CLOSE command maps to the HP TurboIMAGE/iX DBCLOSE library
procedure (mode 1).

Example 

     DM IMAGE *CLOSE :D-stock_ctrl

This command closes the database stock_ctrl, and releases any locks
currently held on the database.



MPE/iX 5.0 Documentation