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

Name

dmmdel — Delete dataset from Dynamic Memory

Description

dmmdel removes the dataset identified by ident from dynamic memory. If the user code ucode is > 0, the dataset is removed if the dataset's user code corresponds to ucode. If the user code ucode is set to 0, the dataset is removed unconditionally from dynamic memory. The space left free by the dataset is released to the system and will eventually be re-allocated to new entries.

Specification (F77)

subroutine dmmdel(ident,ucode,status)
integer*4 ident
integer*4 ucode
integer*4 status

Parameters

ident

Identifier of dataset in DMM to be removed (input).

ucode

User code attribute (input). If set to 0, the dataset in the Dynamic Memory buffer is removed irrespective of the user code.

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.