MemCom Reference Manual > MemCom (Old) Fortran77 API > Relational Table Manager Functions > rptb

Name

rptbwi, rptbwe, rptbwf, rptbwd, rptbwc, rptbai, rptbae, rptbaf, rptbad — Replace data in table

Synopsis

subroutine rptbwi(key,buffer,status)
character*(*) key
integer*4 value
integer*4 status

subroutine rptbwj(key,buffer,status)
character*(*) key
integer*8 value
integer*4 status

subroutine rptbwe(key,buffer,status)
character*(*) key
real*4 value
integer*4 status

subroutine rptbwc4(key,buffer,status)
character*(*) key
complex real*4 value
integer*4 status

subroutine rptbwf(key,buffer,status)
character*(*) key
real*8 value
integer*4 status

subroutine rptbwz(key,buffer,status)
character*(*) key
complex real*8 value
integer*4 status

subroutine rptbwc(key,buffer,status)
character*(*) key
integer*4 value
integer*4 status

Description

The rptb functions replace the content of a key residing in the table buffer. If the key in the table does not exist it will be inserted. The replace operations thus never abort if the data already exist. rptbwi replaces data of type I, rptbwj data of type J, rptbwe data of type E, rptbwc4 data of type C, rptbwf data of type F, rptbwz data of type D, and rptbwc data of type K.

Parameters

key

Character string containing the name of the key (input).

value

Buffer containing data to be inserted (input). See description above.

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.