Command check codes

If FCT+ (SPACE- 02) contains 1254 in bytes 3 and 4, look for one of these codes in byte 6.

01
Failure to connect to the relational database (RDB).
02
State of the DDM data stream is incorrect.
03
Unrecognized object in the data stream.
04
Statement CCSID received from SQL not recognized.
05
EXCSQLSTT OUTEXP value is inconsistent with the SQL statement being executed.
06
DDM command or object sent to application server (AS) violates i5/OS™ extension to DRDA2 architecture.
07
DDM reply or object received from AS violates DRDA2 architecture.
08
SQLDA data pointer is NULL when it should not be.
09
Product data structure not valid.
0A
XLATECC failure.
0B
EXTJOBDI failure.
0C
Get ASP from name failure.
0D
Get RDB name from ASP failure.
0E
Unexpected error data.
0F
DDM/DRDA request not recognized.
10
An expected LOB was not received.
11
LOB length mismatch between placeholder and received data.
12
LOB usage mismatch.
13
XMIT Mode wrong for LOBs.
14
Buffer extension failure.
15
Negative SQLCODE on fetch after successful open.
16
Space allocation error.
17
Mismatch in result set reply (SQRY).
18
Unexpected RM in result set reply (SQRY).
19
Error building reply.
1A
SQ component returned SQL code -30020.
1B
Error updating SQL diagnostic area.
1C
Error building reply.
88
No records in BPCA.
89
Unexpected BGNBND object.
8A
Unsupported large DDM object header size.
8B
LOB table error.
8C
Request for LOB and none available.
8D
SET_LELAST error 1.
8E
SET_LELAST error 2.
8F
Unexpected non-zero QRYINSID.
90
Non zero QRYINSID.
91
OPNQFL on P-open.
92
OPNQFL on Normal open.
97
DDM communications manager detected an error.
98
Conversation protocol error detected by the DDM module.
99
Function check. Look for EMSG section, normally in SPACE- 03.
FF
Error on SQ open (TQRY).