I am implementing DB2 3rd party vendor APIs,
And giving tablespace resotre command as follows to invoke API:
db2 restore db temp1 TABLESPACE(A1TS 1RS,A1TS2RS,A1T S3RS) load
/usr/local/myvendor.so taken at 20120703142640
In sqluvint call for
init_input->DB2_session->type
i am not receiving proper restore type, The type it always gives 0 (0 -full restore)
whereas in header for restore type it mention as:
SQLUV_READ: 0 -full restore
3 - online tablespace restore
4 - table spacerestore
5 - history file restore
I tried with online tablespace restore command also
db2 restore db temp1 TABLESPACE(A1TS 1RS,A1TS2RS,A1T S3RS) online load /usr/local/myvendor.so taken at 20120703142640
I am always getting type as 0 (0 -full restore)
Am i doing something wrong?? Is it'a DB2 limitation??
And giving tablespace resotre command as follows to invoke API:
db2 restore db temp1 TABLESPACE(A1TS 1RS,A1TS2RS,A1T S3RS) load
/usr/local/myvendor.so taken at 20120703142640
In sqluvint call for
init_input->DB2_session->type
i am not receiving proper restore type, The type it always gives 0 (0 -full restore)
whereas in header for restore type it mention as:
SQLUV_READ: 0 -full restore
3 - online tablespace restore
4 - table spacerestore
5 - history file restore
I tried with online tablespace restore command also
db2 restore db temp1 TABLESPACE(A1TS 1RS,A1TS2RS,A1T S3RS) online load /usr/local/myvendor.so taken at 20120703142640
I am always getting type as 0 (0 -full restore)
Am i doing something wrong?? Is it'a DB2 limitation??