putbwi, putbwj, putbwe, putbwc4, putbwf, putbwz, putbwc — Insert scalar data in table
subroutine putbwi(key,buffer,status) character*(*) key integer*4 value integer*4 status subroutine putbwj(key,buffer,status) character*(*) key integer*8 value integer*4 status subroutine putbwe(key,buffer,status) character*(*) key real*4 value integer*4 status subroutine putbwc4(key,buffer,status) character*(*) key complex real*4 value integer*4 status subroutine putbwf(key,buffer,status) character*(*) key real*8 value integer*4 status subroutine putbwz(key,buffer,status) character*(*) key complex real*8 value integer*4 status subroutine putbwc(key,buffer,status) character*(*) key integer*4 value integer*4 status
The putbw
functions insert a single data
element from buffer
into the relational table
residing in the table buffer. putbwi
insert
data of type I, putbwj
data of type J,
putbwe
data of type E,
putbwc4
data of type C,
putbwf
data of type F,
putbwz
data of type Z, and
putbwc
character strings (data of type K). Note
that character strings are treated as 'scalars', i.e without
indicating the number of characters, because the size of a Fortran
character string is implicit.
An error is flagged if key
already exists
in the table. If this is undesired, make use of the replacement
routines rptb
, which execute the sequence
deletb - putb
.
key
Character string containing the name of the key (input).
buffer
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.