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

Name

dmmaat — Add attributes to DMM dataset

Description

dmmaat adds or modifies the database attributes of an existing DMM dataset. Already existing attributes are overwritten. Attributes can be retrieved by a call to dmmgat. If the dataset does not exist in the Dynamic Memory buffer or if it is inactive, a warning message is returned.

Specification (F77)

subroutine dmmaat(ident, handle, name, idiv, type, status)
integer*4 ident
integer*4 handle
character*(*) name
integer*4 idiv
character*4 type
integer*4 status

Parameters

ident

Identifier of DMM dataset (input). The dataset must exist.

handle

Database handle (input). The file handle handle may not exceed the maximum number of simultaneously open databases. If set to 0, the dataset in DMM will not be assigned to a database.

name

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

idiv

Subdivision number (input). Ignored if the dataset is not assigned to a database, i.e handle > 0.

type

Dataset type (input).

status

Status code returned (output). A value of 0 indicates normal completion of the operation. A negative value indicates an error. A positive value indicates a warning. See MemCom error codes.