mcf_db_isdb — Check if MemCom database file exists (Fortran API)
subroutine mcf_db_isdb(name,status) character*(*) name integer*4 status
name
File name of MemCom database file to be inquired
(input). The string may not exceed the maximum file name size. If
name
is of the format
hostname:portnum:pathname
, a
connection to the MemCom server
running on the host hostname
listening on TCP port portnum
is
established, and the remote database
pathname
(which is relative to
the working directory of the server) is inquired.
status
Status code returned (output). A value of 1 means that
the file identified by name
exists and is
a MemCom database file. A value of 0 means that the file
identified by name
exists but is not a
MemCom database file. A value of -1 means that the file
identified by name
does not exist.