Author: Robin Sulsona
Subject: SQLERRD3 meaning...
Posted: Wed Jun 01, 2016 11:19 pm (GMT 5.5)
It wasn't really a bad row in the input in core table. It was the fact that the clone table was in pending copy status. A load with NOCOPYPEND seems to have done the trick. I will be trying it for the next days data later today.
But how does SQLERRD3 with a value of 0 tell me what is wrong with the data?
For the "GET DIAGNOSTICS" command this is what that means:
DB2_SQLERRD3
Returns the value of sqlerrd(3) from the SQLCA that is returned by the
server. Otherwise, the value zero is returned. I got the ZERO version.
If this were a fetch I would agree with you but it is a MERGE statement.
Thanks
Robin
_________________
Robin Sulsona
SAA
Subject: SQLERRD3 meaning...
Posted: Wed Jun 01, 2016 11:19 pm (GMT 5.5)
It wasn't really a bad row in the input in core table. It was the fact that the clone table was in pending copy status. A load with NOCOPYPEND seems to have done the trick. I will be trying it for the next days data later today.
But how does SQLERRD3 with a value of 0 tell me what is wrong with the data?
For the "GET DIAGNOSTICS" command this is what that means:
DB2_SQLERRD3
Returns the value of sqlerrd(3) from the SQLCA that is returned by the
server. Otherwise, the value zero is returned. I got the ZERO version.
If this were a fetch I would agree with you but it is a MERGE statement.
Thanks
Robin
_________________
Robin Sulsona
SAA