public Integer run(String[] args) throws Exception {
    if (!parseArguments(args)) {
      return -1;
    }
    init();
    try {
      parseAndEval(arguments);
    } finally {
      close();
    }
    return getProgramReturnCode();
  }
Set SQL_NO_DATA as the result of SQL execution
hplsql/src/main/java/org/apache/hive/hplsql/Exec.java