Was this helpful?
II_COPY Operation--Move a Peripheral Object
This operation moves a peripheral object by performing gets and puts.
Inputs
The input fields for the II_COPY 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_COPY.
pop_cb
A pointer to the peripheral operations control block, II_POP_CB (for calling).
pop_segment
A pointer to the input object. In this case, pop_segment and the input object are both coupons.
pop_coupon
A pointer to an II_DATA_VALUE that describes the area to be filled with the coupon for the copied object.
Outputs
The output fields for the II_COPY operation describe the results returned by the DBMS Server. The outputs are as follows:
pop_cb
A pointer to the peripheral operations control block, II_POP_CB (for calling).
pop_coupon
The DBMS Server fills this field with the coupon for the copied object.
pop_error
The DBMS Server fills this field with the error value, if there is any.
Returns
II_STATUS
 
Last modified date: 11/28/2023