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

DB2 abend : sql code -180


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
av_sukumar

New User


Joined: 12 Oct 2004
Posts: 6

PostPosted: Fri Jul 06, 2007 4:38 am
Reply with quote

--------------------------------------------------------------------------------

Hi,

When I am testing one db2+cobol program, the job was ended with db2 error. I checked the sqlcode which was -180. I know that this is the problem with invalid date,time or timestamp value or syntax. I did recheck all the variable lengths and values. Everything looks correct only.
But, I am not at all understanding why the problem reoccuring.

Could any one of you give me an idea, any thing else to be checked???

Thanks in advance..
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Fri Jul 06, 2007 6:06 am
Reply with quote

Hello,

If you post your sql code that is failing, the variable definitions for all of the fields, and display the values for each field before executing the problem sql statement, we may be able to offer suggestions.

From what you have posted, the only advice can be check again. . .

If you post the info, we may be able to see something.
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Fri Jul 06, 2007 2:17 pm
Reply with quote

Quote:
I know that this is the problem with invalid date,time or timestamp value or syntax. I did recheck all the variable lengths and values.


unless you post your code we can not offer much help. The value may not be wrong but syntax is.
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 -> ABENDS & Debugging

 


Similar Topics
Topic Forum Replies
No new posts run rexx code with jcl CLIST & REXX 15
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts ISAM and abend S03B JCL & VSAM 10
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
Search our Forums:

Back to Top