I'm going to get this into my fat client and see if I can test.
Here is what I got. See any issues? (it appears to work)
00001 VA evt_cEndOfList_CHAR [CHAR] = "0"
00002 -F4113FSBeginDoc(XT4113Z1.F4113FSBeginDoc)
00003 -If SV Error_Status is equal to CO ERROR
00004 | -JDETipsViewErrorStackInit(B59JDET1.JDETipsViewErrorStackInit)
| VA evt_mnHandle_JOBS [JOBS] <- mnHandle [JOBS]
| VA evt_nWarningCount_INT01 [INT01] <- nWarningCount [INT01]
| VA evt_nErrorCount_INT01 [INT01] <- nErrorCount [INT01]
| VA evt_nTotalCount_INT01 [INT01] <- nTotalCount [INT01]
00005 | -While VA evt_cEndOfList_CHAR [CHAR] is equal to "0"
00006 | | -JDETipsViewErrorStackIterate(B59JDET1.JDETipsViewErrorStackIterate)
| | VA evt_mnHandle_JOBS [JOBS] -> mnHandle [JOBS]
| | VA evt_idCursorHandle_GENLNG [GENLNG] <- idCursorHandle [GENLNG]
| | VA evt_cCloseCursor_CHAR [CHAR] <> cCloseCursor [CHAR]
| | VA evt_szErrorID_DTAI [DTAI] <- szErrorID [DTAI]
| | VA evt_nErrorLevel [INT01] <- nErrorLevel [INT01]
| | VA evt_szErrorDesc_DL011 [DL011] <- szErrorMsg [DL011]
| | VA evt_cEndOfList_CHAR [CHAR] <- cEndOfList [CHAR]
00007 | | // do stuff with DTAI and DL011
00008 | End While
00009 | -JDETipsViewErrorStackFree(B59JDET1.JDETipsViewErrorStackFree)
| VA evt_mnHandle_JOBS [JOBS] -> mnHandle [JOBS]
00010 | -JDETipsClearErrorStack(B59JDET1.JDETipsClearErrorStack)
00011 -Else
00012 | // all is well proceed
00013 End If