I am getting -180 while inserting a row in a DB2 table using CICS map.
The variable is defined with 10 bytes long in map and in DB2 table it is DATE datatype. The value I am trying to put is ISO format(YYYY-MM-DD). The value is within the range of ISO and correct in all ways. But I am getting -180. Is there any way to know the actual reason? My system is using DB2 version 9.1. When starting SPUFI, the system is giving a message that "TERMINAL CCSID: 37 and SPUFI CCSID : 1047 " . At BIND time I am using a parameter ENCODING(EBCDIC).