EGL Java™ runtime error code VGJ0204E

VGJ0204E: String function %1 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
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.