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 ...... \}
 
[ !worddavaf485e25f57cd86bb5b0fc63f3f1b1cc.png|height=32,width=32! |../../index.htm#lansa/srvgudba_0335.htm]