mcf_tb_put — Write relational table to database file (Fortran API)
subroutine mcf_tb_put_table(rt,handle,name,status) mcf_rtable rt integer*4 handle character*(*) name integer*4 status subroutine mcf_tb_put_subtable(rt,handle,name,idiv,status) mcf_rtable rt integer*4 handle character*(*) name mcf_off idiv integer*4 status subroutine mcf_tb_put_descriptor(rt,handle,name,status) mcf_rtable rt integer*4 handle character*(*) name integer*4 status
mcf_tb_put_table
transfers the relational
table identified by rt
from the table buffer to
the relational dataset name
on the database file
identified by handle
.
mcf_tb_put_subtable
transfers the relational
table identified by rt
from the table buffer to a
subtable of the relational dataset name
on the
database file identified by handle
.
mcf_tb_put_desc
riptor transfers the dataset
descriptor table identified by rt
from the table
buffer to the descriptor of the relational dataset
name
on the database file identified by
handle
. Any existing content of the dataset on
the database file is overwritten.
Note | |
---|---|
In contrast to the old Fortran f77 API the relational
table |
rt
Relational table identifier (input).
handle
Handle of database to which the relational table will be stored (input).
name
Name of dataset to which the relational table will be stored (input). The string may not exceed the maximum dataset name length.
idiv
Sub-division index, i.e sub-table number to which the table is copied (input). Note that sub-tables are numbered starting with 1.
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.