MemCom Reference Manual > MemCom ftn Fortran API > Database Manager (DB) > mcf_db_delete_set

Name

mcf_db_delete_set — Delete dataset (Fortran API)

Synopsis

subroutine mcf_db_delete_set(handle,name,status)

integer*4 handle

character*(*) name
integer*4 status

Description

mcf_db_delete_set deletes a dataset name from the database file identified by handle. The space occupied by the database on the database file is not removed until a mcf_db_pack operation is performed.

Parameters

handle

Handle of database file on which the set(s) reside (input).

name

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

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.