protected void parseENDQRYRM(ResultSetCallbackInterface resultSetI) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ENDQRYRM); pushLengthOnCollectionStack(); int peekCP = peekCodePoint(); while (peekCP != Reply.END_OF_COLLECTION) { boolean foundInPass = false; if (peekCP == CodePoint.SVRCOD) { foundInPass = true; svrcodReceived = checkAndGetReceivedFlag(svrcodReceived); svrcod = parseSVRCOD(CodePoint.SVRCOD_WARNING, CodePoint.SVRCOD_ERROR); peekCP = peekCodePoint(); } if (peekCP == CodePoint.RDBNAM) { foundInPass = true; rdbnamReceived = checkAndGetReceivedFlag(rdbnamReceived); rdbnam = parseRDBNAM(true); peekCP = peekCodePoint(); } if (!foundInPass) { doPrmnsprmSemantics(peekCP); } } popCollectionStack(); checkRequiredObjects(svrcodReceived); netAgent_.setSvrcod(svrcod); }
protected NetSqlca parseSQLDTARD(NetSqldta netSqldta) throws DisconnectException { boolean fdodscReceived = false; boolean fdodtaReceived = false; parseLengthAndMatchCodePoint(CodePoint.SQLDTARD); pushLengthOnCollectionStack(); NetSqlca netSqlca = null; int peekCP = peekCodePoint(); while (peekCP != Reply.END_OF_COLLECTION) { boolean foundInPass = false; if (peekCP == CodePoint.FDODSC) { foundInPass = true; fdodscReceived = checkAndGetReceivedFlag(fdodscReceived); parseFDODSC(netSqldta); peekCP = peekCodePoint(); } if (peekCP == CodePoint.FDODTA) { foundInPass = true; fdodtaReceived = checkAndGetReceivedFlag(fdodtaReceived); netSqlca = parseFDODTA(netSqldta); peekCP = peekCodePoint(); } if (!foundInPass) { doPrmnsprmSemantics(peekCP); } } popCollectionStack(); checkRequiredObjects(fdodscReceived, fdodtaReceived); netSqldta.calculateColumnOffsetsForRow(); return netSqlca; }
protected void parseENDQRYRM(ResultSetCallbackInterface resultSetI) throws DisconnectException { boolean svrcodReceived = false; int svrcod = CodePoint.SVRCOD_INFO; boolean rdbnamReceived = false; String rdbnam = null; parseLengthAndMatchCodePoint(CodePoint.ENDQRYRM); pushLengthOnCollectionStack(); int peekCP = peekCodePoint(); while (peekCP != Reply.END_OF_COLLECTION) { boolean foundInPass = false; if (peekCP == CodePoint.SVRCOD) { foundInPass = true; svrcodReceived = checkAndGetReceivedFlag(svrcodReceived); svrcod = parseSVRCOD(CodePoint.SVRCOD_WARNING, CodePoint.SVRCOD_ERROR); peekCP = peekCodePoint(); } if (peekCP == CodePoint.RDBNAM) { foundInPass = true; rdbnamReceived = checkAndGetReceivedFlag(rdbnamReceived); rdbnam = parseRDBNAM(true); peekCP = peekCodePoint(); } if (!foundInPass) { doPrmnsprmSemantics(peekCP); } } popCollectionStack(); checkRequiredObjects(svrcodReceived); netAgent_.setSvrcod(svrcod); }
protected NetSqlca parseSQLDTARD(NetSqldta netSqldta) throws DisconnectException { boolean fdodscReceived = false; boolean fdodtaReceived = false; parseLengthAndMatchCodePoint(CodePoint.SQLDTARD); pushLengthOnCollectionStack(); NetSqlca netSqlca = null; int peekCP = peekCodePoint(); while (peekCP != Reply.END_OF_COLLECTION) { boolean foundInPass = false; if (peekCP == CodePoint.FDODSC) { foundInPass = true; fdodscReceived = checkAndGetReceivedFlag(fdodscReceived); parseFDODSC(netSqldta); peekCP = peekCodePoint(); } if (peekCP == CodePoint.FDODTA) { foundInPass = true; fdodtaReceived = checkAndGetReceivedFlag(fdodtaReceived); netSqlca = parseFDODTA(netSqldta); peekCP = peekCodePoint(); } if (!foundInPass) { doPrmnsprmSemantics(peekCP); } } popCollectionStack(); checkRequiredObjects(fdodscReceived, fdodtaReceived); netSqldta.calculateColumnOffsetsForRow(); return netSqlca; }