System.out.println("isc_info_sql_sub_type " + xsqlda.sqlvar[index].sqlsubtype);
if (debug) {System.out.println("isc_info_sql_sub_type " + xsqlda.sqlvar[index].sqlsubtype);}
    private XSQLDA parseSqlInfo(byte[] info) throws GDSException {        XSQLDA xsqlda = new XSQLDA();        byte item;        int index = 0;System.out.println("parseSqlInfo: first 2 bytes are " + isc_vax_integer(info, 0, 2) + " or: " + info[0] + ", " + info[1]);                int i = 2;        int len = isc_vax_integer(info, i, 2);        i += 2;        xsqlda.sqld = xsqlda.sqln = isc_vax_integer(info, i, len);System.out.println("xsqlda.sqln read as " + xsqlda.sqln);        i += len;        xsqlda.sqlvar = new XSQLVAR[xsqlda.sqln];                while (info[i] != isc_info_end) {            while ((item = info[i++]) != isc_info_sql_describe_end) {                len = isc_vax_integer(info, i, 2);                i += 2;                switch (item) {                    case isc_info_sql_sqlda_seq:                        index = isc_vax_integer(info, i, len) - 1;                        xsqlda.sqlvar[index] = new XSQLVAR();System.out.println("new xsqlvar " + index);                        break;                    case isc_info_sql_type:                        xsqlda.sqlvar[index].sqltype = isc_vax_integer (info, i, len);System.out.println("isc_info_sql_type " + xsqlda.sqlvar[index].sqltype);                        break;                    case isc_info_sql_sub_type:                        xsqlda.sqlvar[index].sqlsubtype = isc_vax_integer (info, i, len);System.out.println("isc_info_sql_sub_type " + xsqlda.sqlvar[index].sqlsubtype);                        break;                    case isc_info_sql_scale:                        xsqlda.sqlvar[index].sqlscale = isc_vax_integer (info, i, len);System.out.println("isc_info_sql_scale " + xsqlda.sqlvar[index].sqlscale);                        break;                    case isc_info_sql_length:                        xsqlda.sqlvar[index].sqllen = isc_vax_integer (info, i, len);System.out.println("isc_info_sql_length " + xsqlda.sqlvar[index].sqllen);                        break;                    case isc_info_sql_field:                        xsqlda.sqlvar[index].sqlname = new String(info, i, len);System.out.println("isc_info_sql_field " + xsqlda.sqlvar[index].sqlname);                        break;                    case isc_info_sql_relation:                        xsqlda.sqlvar[index].relname = new String(info, i, len);System.out.println("isc_info_sql_relation " + xsqlda.sqlvar[index].relname);                        break;                    case isc_info_sql_owner:                        xsqlda.sqlvar[index].ownname = new String(info, i, len);System.out.println("isc_info_sql_owner " + xsqlda.sqlvar[index].ownname);                        break;                    case isc_info_sql_alias:                        xsqlda.sqlvar[index].aliasname = new String(info, i, len);System.out.println("isc_info_sql_alias " + xsqlda.sqlvar[index].aliasname);                        break;                    case isc_info_truncated:                        throw new GDSException(isc_dsql_sqlda_err);                    default:                        throw new GDSException(isc_dsql_sqlda_err);                }                i += len;            }        }        return xsqlda;    }