| DB Access Class Library for COBOL V1.0 API Reference - Microsoft(R) Windows(R) - - Microsoft(R) Windows NT(R) - - Microsoft(R) Windows(R) 2000 - |
Contents
Index
![]()
|
Chapter 6 DB Access Library API Reference
6.3 Methods for Creating Bind Tables
Registers a data item associated with data in the binary format and an associated indicator variable
in a bind table.
INVOKE BIND-A "REGISTER-LARGE-DATA-INDICATOR" USING GET-DATA-RSV GET_DATA_LEN
GET-DATA-DAT INDICATOR.
BIND-A [attribute:OBJECT REFERENCE special-class-name]
Specifies a bind table object.
GET-DATA-RSV [attribute:S9(9) BINARY|COMP|COMP-5]
Specifies a reserved field of binary data.
GET-DATA-LEN [attribute:9(9) BINARY|COMP|COMP-5]
Specifies the length field of binary data.
GET-DATA-DAT [attribute:X(n)|N(n)]
Specifies the data field of binary data.
INDICATOR [attribute:S9(4) BINARY|COMP|COMP-5]
Specifies an indicator variable.
None
The REGISTER-LARGE-DATA-INDICATOR method registers a data item that handles data in the binary format and a data item that handles a NULL value. When a field that is fetched contains a NULL value, an indicator variable of -1 is set. When a NULL value is set in a field, an indicator variable of -1 is set.
Binary data having a length 32 KB or larger cannot be handled.
GET-DATA-RSV,GET-DATA-LEN and GET-DATA-DAT must be elementary items associated with the same group item.
Contents
Index
![]()
|