6. Defining Function Instances : II_PUT Operation--Add a New Segment : Inputs
 
Share this page                  
Inputs
The input fields for the II_PUT operation are the parts of the peripheral control block structure that tell the DBMS Server what and how to pass the information. The inputs are as follows:
op_code
The value of II_PUT.
pop_cb
A pointer to the peripheral operations control block, II_POP_CB (for calling).
pop_continuation
Indicates the state of the object. On the first call of a multicall operation, II_C_BEGIN_MASK is set. On the last call, II_C_END_MASK is set. A single call can be either the first call, last call, both, or neither.
pop_coupon
Pointer to the coupon to be created.
pop_segment
A pointer to a data area from which data is taken (to be put into the large object).
pop_underdv
A pointer to a II_DATA_VALUE that describes the data type to be used for each segment.
pop_temporary
Must be II_POP_SHORT_TEMP.
pop_user_arg
Workspace area used by the server. The caller knows nothing of the contents here, but is expected to preserve its contents across multipass calls. Failure to do so results in errors.