Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Date insertion returns -180

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
Raghu navaikulam

Active User


Joined: 27 Sep 2008
Posts: 194
Location: chennai

PostPosted: Mon Jul 29, 2019 5:12 pm    Post subject: Date insertion returns -180
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

Senior Member


Joined: 21 Sep 2010
Posts: 2299
Location: NY,USA

PostPosted: Tue Jul 30, 2019 9:41 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mainframe datasets without any last r... rajatbagga All Other Mainframe Topics 1 Tue Sep 24, 2019 8:47 am
This topic is locked: you cannot edit posts or make replies. Need to write the date at the end of ... Poha Eater DFSORT/ICETOOL 16 Tue Jul 23, 2019 2:33 pm
No new posts SQL to retrieve latest Eff date and then vinu78 DB2 8 Tue Apr 30, 2019 3:45 pm
No new posts how to add date & timestamp to th... dharmaraok DFSORT/ICETOOL 5 Thu Apr 18, 2019 2:45 pm
No new posts HEADER1 with Date arithmetic Martin-2000 DFSORT/ICETOOL 4 Thu Feb 21, 2019 3:24 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us