MemCom Reference Manual > MemCom ftn Fortran API > Database Manager (DB) > mcf_db_close

Name

mcf_db_close — Close MemCom database file (Fortran API)

Synopsis

subroutine mcf_db_close(handle,status)
subroutine mcf_db_close_all()

integer*4 handle
integer*4 status

Description

The mcf_db_close functions close database files, thereby invalidating the database file handle(s). mcf_db_close_all closes all open database files. mcf_db_close closes a single database file attached to handle.

Parameters

handle

Handle of database file (input).

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.