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

Getting error while inerting to a Db2 table.


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

New User


Joined: 10 Oct 2006
Posts: 29

PostPosted: Thu May 20, 2010 1:12 pm
Reply with quote

Hi All,

I"m tryign to insert few records to a db2 table via program.
I'm getting an abend there with sql code as SQLCODE : 000000018}

Can any one help to get this resolved.

Many Thanks
Ajay.
Back to top
View user's profile Send private message
santoshkumarmanilakkoju

New User


Joined: 24 Nov 2009
Posts: 37
Location: Don't know

PostPosted: Thu May 20, 2010 1:20 pm
Reply with quote

Can you provide few more details like the code,sysout
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 20, 2010 1:38 pm
Reply with quote

again

Code:

0   {    
1   A
2   B
3   C
4   D
5   E
6   F
7   G
8   H
9   I
-0   }
-1   J
-2   K
-3   L
-4   M
-5   N
-6   O
-7   P
-8   Q
-9   R

Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu May 20, 2010 1:48 pm
Reply with quote

ajay_udl wrote:
Hi All,

I"m tryign to insert few records to a db2 table via program.
I'm getting an abend there with sql code as SQLCODE : 000000018}

Can any one help to get this resolved.

Many Thanks
Ajay.


check if DATE\TIME related variables are populated correctly or show us that piece of code..
Back to top
View user's profile Send private message
ajay_udl

New User


Joined: 10 Oct 2006
Posts: 29

PostPosted: Thu May 20, 2010 3:26 pm
Reply with quote

Hi everyone,

Thanks for the suggessions.
The date field was having spaces and hence the issue.

Warm Regards
Ajay.
Back to top
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Thu May 20, 2010 4:05 pm
Reply with quote

ajay_udl wrote:
Hi everyone,

Thanks for the suggessions.
The date field was having spaces and hence the issue.

Warm Regards
Ajay.

Hope you understand Dicks post and EDIT SQLCODE properly henceforh... icon_smile.gif
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 Error to read log with rexx CLIST & REXX 11
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Error when install DB2 DB2 2
No new posts Pulling a fixed number of records fro... DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
Search our Forums:

Back to Top