EGL0204E The function_name String function failed with error code 24.

Explanation

The length of a DBCHAR or UNICODE substring must be even to refer to a whole number of characters.

User Response

Do as follows:
  • Change the program logic to ensure that the length arguments passed to the function have valid values; or
  • Call the function in a try statement, or set vgVar.handlesysLibraryErrors to 1 before calling the function, so that the program can handle the error.

Feedback