EGL Reference Guide for iSeries


EGL Java run-time error code VGJ0006E

VGJ0006E: An error occurred during an I/O operation. %1

Explanation

An I/O operation failed, and the EGL statement has no try statement to deal with the error.

User Response

If you want the program to handle the error, set handleHardIOErrors to 1 and put the I/O statement in a try statement, as in the following example:

  handleHardIoErrors = 1;
 
  if (userRequest = "A")
    try
      add record1
    onException
      myErrorHandler(12);
    end
  end


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]