gtpc2m1s | C/C++ Language Support User's Guide |
This macro returns a pointer to the eb0eb structure (see c$eb0eb.h). It provides access to data in the ECB.
Format
#include <c$eb0eb.h> struct eb0eb *ecbptr(void);
Normal Return
Pointer of type struct eb0eb to the currently executing ECB.
Error Return
Not applicable.
Programming Considerations
None.
Examples
The following example obtains a pointer to the record on level D2.
#include <c$am0sg.h> #include <c$eb0eb.h> struct am0sg *amsg; /* Pointer to message block */
·
·
·
amsg = ecbptr()->ce1cr2; /* Get base of record */
Related Information