gtpc2m0k | C/C++ Language Support User's Guide |
This function changes the MDBF subsystem to the specified DBI. The subsystem user is changed to the first in the specified DBI.
Format
#include <sysapi.h> void cebic_goto_dbi(unsigned short int dbi);
Normal Return
Void.
Error Return
Not applicable.
Programming Considerations
None.
Examples
The following example changes the DBI and SSU ID to which the ECB belongs.
#include <sysapi.h> #include <c$uatbc.h> #include <c$ms0ut.h> unsigned short new_dbi; struct uatbc_area uatbc_parm; struct ms0ut *ssu_slot_ptr;
·
·
·
uatbc_parm.uat_call = UAT_NSSI; memcpy (&uatbc_parm.uat_parm, "MYSS", 4); /* SS name */ if (uatbc(&uatbc_parm) == 0) { ssu_slot_ptr = uatbc_parm.uat_ssu_ptr; /* pointer to subsystem user slot */
·
·
·
new_dbi = *(unsigned short *) ssu_slot_ptr->mu0dpi; cebic_goto_dbi(new_dbi); }
Related Information