A fix is available
APAR status
Closed as program error.
Error description
SELECT INVOICE_NO FROM FEDAPV WHERE VOUCHER_LINE_NO = 0; VOUCHER_LINE_NO is a real datatype. Returns SQL1822N when the query is valid. SELECT INVOICE_NO FROM FEDAPV WHERE VOUCHER_LINE_NO = 1; Works fine.
Local fix
Workaround use a decimal in front of the zero: SELECT INVOICE_NO FROM FEDAPV WHERE VOUCHER_LINE_NO = .0;
Problem summary
Datatype checking is not correct.
Problem conclusion
Datatype checking needs to be changed to allow a 0 to be accepted as a valid number.
Temporary fix
Comments
APAR Information
APAR number
JR22509
Reported component name
WS II DRDA WRAP
Reported component ID
5724C7406
Reported release
820
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2005-10-11
Closed date
2006-05-15
Last modified date
2006-05-15
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Modules/Macros
None None
Fix information
Fixed component name
WS II DRDA WRAP
Fixed component ID
5724C7406
Applicable component levels
R820 PSY
UP
[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS2K5T","label":"InfoSphere Federation Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"820"}]
Document Information
Modified date:
06 October 2021