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

Name

dmmtoc — Print directory of DMM stack

Description

dmmtoc prints the directory or table of contents of the Dynamic Memory buffer, i.e a list of all dataset an their attributes. The contents of the dataset may be examined by the routine dmmpri.

Specification (F77)

#include "memcom.ins"
subroutine dmmtoc(flag, ucode, io, status)
integer flag
integer*4 ucode
integer*4 io
integer*4 status

Parameters

flag

Print flag (input). Specification of A will list all active datasets. U will list all active datasets of user code ucode. S will list all datasets.

ucode

User identification code (input). Ignored if flag is not equal to U.

io

Formatted Fortranc output unit (input). By default, the unit MCIOOUT is addressed.

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.

Bugs

The Formatted Fortran output unit is ignored in the current version, i.e output is written to the standard output.