IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Date insertion returns -180


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 193
Location: chennai

PostPosted: Mon Jul 29, 2019 5:12 pm
Reply with quote

Hi all,

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).

Any suggestion to this is very greatfull.

Thanks
Raghunathan
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


Joined: 21 Sep 2010
Posts: 2789
Location: NYC,USA

PostPosted: Tue Jul 30, 2019 9:41 am
Reply with quote

You need to review your MAP variables after receive map and before insert as to what values do you have at that point. I suspect they are spaces.

To prove this , try moving the hard coding value of DATE and if that works means you are having a problem getting value from screen to your mapi variables.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts SORT for dynamic trailer record + CSV... DFSORT/ICETOOL 14
No new posts Date conversation DFSORT/ICETOOL 6
No new posts To pull the file with Date and Time u... TSO/ISPF 17
No new posts Help this REXX Rookie-Bad arithmetic ... CLIST & REXX 7
No new posts Connect:Direct Add yesterday date in ... All Other Mainframe Topics 3
Search our Forums:

Back to Top