Service Module Card List
This example shows a connection requesting to see the list of Service Module cards. There are only
five cards in this example to make the responses smaller.
Table 41: Service Module Card List Example
DescriptionMessage
A normal PDBI connection has
been established.
connect(version 1.0)→
rsp (rc 0, data (connectId 1, side active))←
The connection requests to see the
Service Module card list. No filter
rtrv_dsmlist()→
rsp (rc 0, data (dsms (dsm (clli atlanta, cardloc 1405, status
coherent, level 2910), dsm (clli atlanta, cardloc 1407, status
←
is used, so all Service Module
cards should be returned.
coherent, level 2918), dsm (clli lakemary, cardloc 2104, status
corrupt, level 2652), dsm (clli lakemary, cardloc 2106, status
coherent, level 2920), dsm (clli lakemary, cardloc 2108, status
coherent, level 2920))))
The connection requests the
Service Module card list with a
rtrv_dsmlist(clli atlanta)
→
rsp (rc 0, data (dsms (dsm (clli atlanta,
cardloc 1405, status coherent, level 2910),
←
filter for CLLIs with the value of
"atlanta".
dsm (clli atlanta, cardloc 1407, status
coherent, level 2918))))
The connection requests the
Service Module card list with a
rtrv_dsmlist(clli atlanta, cardloc 1407)
→
rsp (rc 0, data (dsms (dsm (clli atlanta,
cardloc 1407, status coherent, level
2918))))
←
filter for CLLIs with the value of
"atlanta" and a cardloc of 1407.
The connection requests to see the
Service Module card list with a
rtrv_dsmlist(status corrupt)
→
rsp (rc 0, data (dsms (dsm (clli lakemary,
cardloc 2104, status corrupt, level 2652))))
←
status filter of corrupt. Only
corrupt cards should be returned.
The connection requests to see the
Service Module card list with a
rtrv_dsmlist(status loading)
→
rsp (rc 1013)
←
status filter of loading. Since there
aren't any cards currently
loading, NOT_FOUND is
returned.
158
910-6022-001 Revision A, March 2011
PDBI Sample SessionsProvisioning Database Interface Manual