Page History
...
long lErrorCode;
char strErrorMessage[100];
LceGetStatus(&lErrorCode,
...
strErrorMessage,
...
sizeof(strErrorMessage));
...
if (lErrorCode != 0)
{ .....
...
process .....
...
error ......
...
}
/* Issue a block of related LANSA Open calls */
/* Process first error which may have occurred */
LceGetStatus(&lErrorCode,
...
strErrorMessage,
...
sizeof(strErrorMessage));
...
if (lErrorCode != 0)
{ .....
...
process error ...... }