mcf_dmm_get_att — Get attributes of DMM object
mcf_dmm_get_att
returns the attributes of
an object in DMM
. If found, the status is set to
0. If the object does not exist the status is set to 1
(warning).
subroutine mcf_dmm_get_att(ident,handle,name,type,idiv,size,status) integer*4 ident integer*4 handle character*(*) name character*4 type mcf_size idiv mcf_size size integer*4 status
ident
DMM identifier of object to be inquired (input).
handle
Handle of database file associated to
ident
(output). If no handle is defined 0
is returned.
name
Name of dataset associated to ident
(output). The character buffer must be dimensioned to 63
characters at least. If no handle is defined 0 is
returned.
type
Dataset type associated to ident
(output). The character buffer must be dimensioned to 4
characters at least. type
will be one of
I, J, E, C, F, Z. The type is always defined!
Sub-division index of dataset (output). If
idiv
is not defined 0 is returned.
size
Size of object, i.e number of logical elements (output).
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.