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

opening the cursor


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
arunshan04

New User


Joined: 25 Apr 2009
Posts: 25
Location: chennai

PostPosted: Thu Nov 12, 2009 10:33 pm
Reply with quote

hai what is the meaning for the sqlcode = 18}

this message i got wile opening the cursor inside my stored procedure ?
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Thu Nov 12, 2009 10:43 pm
Reply with quote

Hi Arun,


The SQL code is -180 . Can you post the query which is causing this SQL error.

Quote:
SQLCODE -180 SQLSTATE 22007
Bad data in Date/Time/Timestamp
String representation of DATE, TIME, TIMESTAMP is invalid


Thanks
Sai
Back to top
View user's profile Send private message
arunshan04

New User


Joined: 25 Apr 2009
Posts: 25
Location: chennai

PostPosted: Thu Nov 12, 2009 11:42 pm
Reply with quote

sorry sai i am in out of office...
is that any meaning for the special simbol.. '}'?
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Nov 12, 2009 11:53 pm
Reply with quote

Quote:
18}


its the representation of a negative decimal zoned number
negative numbers
Code:
x'd0d1d2d3d4d5d6d7d8d9'
positive numbers
Code:
x'c0c1c2c3c4c5c6c7c8c9'
x'f0f1f2f3f4f5f6f7f8f9'
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 -> DB2

 


Similar Topics
Topic Forum Replies
No new posts DB2 for z/OS and LUW Admin Job Opening Mainframe Jobs 0
No new posts Looking For a PDS Member Without Open... PL/I & Assembler 10
No new posts Vision PLUS Mainframe opening Mainframe Jobs 0
No new posts Urgent MF opening for TCS India Mainframe Jobs 0
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top