mcf_db_init_set — Initialize dataset with value (Fortran API)
subroutine mcf_db_init_set(handle,name,value,status) integer*4 handle character*(*) name xxx value integer*4 status
mcf_db_init_set
initializes the dataset
name
on the database file identified by
handle
with the preset value
val
.
handle
Handle of database file on which the set to be initialized resides (input).
name
Name of dataset to be initialized on the database file (input). The string may not exceed the maximum dataset name length.
Preset value, must consist of a data element of the same type as the dataset type. Only datasets of type I, J, E, F, C, Z can be initialized by this function.
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.