@Override 
  public Integer visitExpr_cursor_attribute(HplsqlParser.Expr_cursor_attributeContext ctx) {
    exec.expr.execCursorAttribute(ctx);
    return 0; 
  }
Cursor attribute %ISOPEN, %FOUND and %NOTFOUND
hplsql/src/main/java/org/apache/hive/hplsql/Exec.java