Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
DB2 abend : sql code -180

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: DB2 abend : sql code -180
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

Site Director


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

PostPosted: Fri Jul 06, 2007 6:06 am    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Speed-up/reduce CPU use of code prino PL/I & Assembler 0 Tue Sep 26, 2017 12:05 am
This topic is locked: you cannot edit posts or make replies. how to code for GDG in Rexx cvnlynn CLIST & REXX 13 Wed Aug 09, 2017 9:13 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts I want to retire TRX and use only Rex... Abhinav Sharma CLIST & REXX 6 Sat Jul 29, 2017 2:53 am
No new posts UNIT=AFF for Easytrieve code gandikk JCL & VSAM 7 Wed Jul 12, 2017 11:42 pm

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