mcf_tb_replace — Insert data in relational table (Fortran API)
subroutine mcf_tb_replace(rt,key,type,size,buffer,status) mcf_rtable rt character*(*) key integer*4 size void buffer(size) integer*4 status subroutine mcf_tb_replace_char(rt,key,cbuffer,status) mcf_rtable rt character*(*) key characater cbuffer*(*) integer*4 status
mcf_tb_replace
replaces data of type I,
J, E, F, C, or Z in a relational table residing in the table buffer.
All data elements are replaced irrespective of the original size,
i.e the original data are removed and the new data are inserted
instead. mcf_tb_replace_char
replaces character
strings (data of type K).
rt
Relational table identifier (input).
key
Data access keyword (input). The string may not exceed the maximum key name length.
type
Data type of data to be replaced (input). Must be I, J, E, F, C, or Z.
size
Number of data elements of buffer
to
be replaced (input). The first size
data
elements of buffer
are replaced.
buffer
|
cbuffer
Buffer for storing the data elements to be extracted from the table (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.