Hi, I'm trying to understand how the DRDA spec is implemented in the client driver and on the server. Specifically how to write and parse an SQLSTT command.
The implementation of NetPackageRequest.buildSQLSTTcommandData(String) inserts an SQLSTT code point into the message, but the encoding of the bytes that follow does not match the specification in the DRDA manual. It states (Vol 3, page 825) that SQLSTT takes an instance of BYTESTRDR (len, 0x044, ... bytes ...). But buildSQLSTTcommandData(String) ends up calling buildNOCMorNOCS(String string) which seems to encode the SQLSTT value as either (0x00, len, ... bytes ..., 0xff) or (0xff, 0x00, len, ... bytes ...) Is there a DRDA expert out there that can explain why? Thanks, -- dt
