puttab — Write relational table to database
subroutine puttab(handle,name,idiv,status)
puttab
transfers the relational table
presently held in the table buffer to the relational dataset
name
on the database. Any data of the relational
table name
on the database will be deleted and
the table on the database will be overwritten with the new data. By
default, the table buffer is cleared after the
puttab
operation (see
ncrtb
).
handle
Database unit number (input). The file unit
handle
may not exceed the maximum number of simultaneously open
databases.
name
Name of dataset (input). The string may not exceed the maximum dataset name length.
idiv
Sub-division number (input). idiv
must be greater than or equal to 0.
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. See MemCom error codes.