MemCom Reference Manual > MemCom ftn Fortran API > Dynamic Memory Manager (DMM) > mcf_dmm_create_set

Name

mcf_dmm_create_set — Create dataset in DMM and on database

Synopsis

subroutine mcf_dmm_create_set(handle,name,type,
                              size,ident,status)
integer*4 handle
character*(*) name
character*4 type
mcf_size size
integer*4 ident
integer*4 status

Description

mcf_dmm_create_set creates a dataset on the database handle and in the DMM buffer. The content of the set remains undefined.

Parameters

handle

Handle of database file to which the dataset is to be written (input).

name

Name of dataset to be written to the database file (input). The string may not exceed the maximum dataset name length.

type

Dataset type associated to ident (input). 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!

size

Number of data elements to be written (input).

ident

DMM identifier returned by the function (output). In case of an error ident remains undefined.

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.