Table 35: Write Transaction in Standby Connection Example
DescriptionMessage
A PDBI connection has been
established to the Standby PDBA.
connect(iid 1, version 1.0)→
rsp (iid 1, rc 0, data (connectId 8, side standby))←
The client has attempted to open a
write transaction on the Standby
begin_txn(iid 2, type write)→
rsp (iid 2, rc 1006)←
PDBA. An error is returned. There is
no need to end the transaction because
it was never successfully started.
The client is done and has
disconnected.
disconnect(iid 3)→
rsp (iid 3, rc 0)←
Simple Subscription Data Creation with Single Txnmode
This example shows a connection using thetxnmode single connect option with the creation of a few
different kinds of subscriptions.
Table 36: Simple Subscription Data Creation with Single Txnmode Example
DescriptionMessage
A PDBI connection has been established.
connect(iid 1, version 1.0, txnmode single)→
rsp (iid 1, rc 0, data (connectId 1, side active))←
A multi-dn subscription has been created for
IMSI 919551000. The DNs associated with the
ent_sub(iid 2, imsi 9195551000, dn 9195551212,
dn 9195551213, sp 9195550000, timeout 10)
→
IMSI are 9195551212 and 9195551213. The
subscription is on SP 9195550000.
rsp (iid 2, rc 0, data (dblevel 1))←
A IMSI only subscription has been created.
The IMSI is 9195552000. The subscription is
on SP 9195550000.
ent_sub(iid 3, imsi 9195552000, sp 9195550000)→
rsp (iid 3, rc 0, data (dblevel 2))←
A IMSI only subscription has been created.
The IMSI is 9195552001. The subscription is
ent_sub(iid 4, imsi 9195552001, sp 9195550000)→
153
910-6022-001 Revision A, March 2011
PDBI Sample SessionsProvisioning Database Interface Manual