MemCom Reference Manual > MemCom (Old) Fortran77 API > The Dynamic Memory Manager (DMM) > dmmgshandle

Name

dmmgshandle — Inquire identifier of dataset

Description

dmmgshandle returns the identifier of a MemCom dataset residing in dynamic memory under the symbolic name name and the file handle handle. A zero identifier is returned if the dataset name has not been found in dynamic memory.

Specification (F77)

subroutine dmmgshandle(handle,name,ident)
integer*4 handle
character*(*) name
integer*4 ident

Parameters

handle

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

name

Dataset name (input). The string may not exceed the maximum dataset name length.

ident

Identifier returned from DMM (output). A value greater than 0 means that the dataset name exists and ident points to it. A value of 0 means that the dataset does not exist in DMM.