MemCom Reference Manual > MemCom (Old) Fortran77 API > Database Manager Functions > enddb

Name

enddb, endadb — Close database

Synopsis

subroutine enddb(handle,status)
integer*4 handle
integer*4 status

subroutine endadb()

Description

enddb closes a single database attached by the handle handle. endadb closes all active databases.

Parameters

handle

Database handle (input). The file handle handle may not exceed the maximum number of simultaneously open databases.

status

Status code returned (output). Upon successful completion of the operation, the status value 0 is returned. A negative value is returned, if an error has been detected. A positive value is returned, if a warning has been issued. See MemCom error codes.