Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
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.

Back to top
View user's profile Send private message

Rohit Umarjikar

Senior Member

Joined: 21 Sep 2010
Posts: 2466
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 Required Date Format in Include Sort ... vivky_vivek DFSORT/ICETOOL 6 Fri Aug 14, 2020 6:52 am
No new posts Trying to add current date in place o... shub2204 DFSORT/ICETOOL 8 Wed Aug 12, 2020 4:14 pm
No new posts Populating Date and Sequence numer in... PORYES SYNCSORT 11 Thu Jul 16, 2020 5:01 pm
No new posts How to filter out certain records bas... manugeorge2004 JCL & VSAM 5 Wed Jun 17, 2020 10:05 pm
No new posts reffering the filename with date and ... skbk JCL & VSAM 9 Sat Jun 06, 2020 4:57 pm

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