putdes — Write dataset descriptor to database
subroutine putdes(handle,name,idiv,status)
putdes
transfers the relational table
presently held in the table buffer to the descriptor of the dataset
name
on the database. Any data of the descriptor
of 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
putdes
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
Not used in this call (input).
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.