Returns the last known COBOL error code.

Parameter Type    Input    Output
() [ ] [ ]

This method takes no parameters, and the return value, which is the COBOL error code, is of data type LONG. Note that if the COBOL code could not be executed, the output is an error code indicating why the code could not execute. See AcuExecute for more information.

For example:


AcuGetLastError may be executed any time after the Web runtime has been invoked.