dmmgat — Inquire database attributes of dataset in DMM
dmmgat
returns the database attributes of
a dataset in the Dynamic Memory buffer, i.e the
MemCom database handle, the dataset name
and the sub-division number, and the data type. The database
attributes are defined either by loading a dataset in the Dynamic
Memory buffer or by setting them by means of the subroutine
dmmaat
. If the dataset does not exist or if it
is inactive, a warning message is returned.
subroutine dmmgat(ident,handle,name,idiv,type,status) integer*4 ident integer*4 handle characte*64 name integer*4 idiv chatacer*4 type integer*4 status
ident
Identifier of dataset (input).
handle
Database handle (input). The file handle
handle
may not exceed the maximum number of
simultaneously open databases.
name
Dataset name (output). The string must be dimensioned to 64 characters at least.
idiv
Subdivision number (output).
type
Dataset type returned (output). The string must be dimensioned to 4 characters at least.
status
Status code returned (output). A value of 0 indicates
normal completion of the operation. A positive value
indicates that the dataset identified by
ident
does not exist.