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
 
Getting error while inerting to a Db2 table.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Getting error while inerting to a Db2 table.
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    Post subject:
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: 6968
Location: porcelain throne

PostPosted: Thu May 20, 2010 1:38 pm    Post subject:
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    Post subject: Re: Getting error while inerting to a Db2 table.
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    Post subject: Reply to: Getting error while inerting to a Db2 table.
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    Post subject: Re: Reply to: Getting error while inerting to a Db2 table.
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm
No new posts how to see when the last read access ... Mike 1304 DB2 1 Tue Sep 12, 2017 7:52 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 5 Thu Sep 07, 2017 6:02 pm
No new posts Error in SQL-PLIST3 'Above value tru... rikdeb DB2 4 Wed Sep 06, 2017 1:34 pm

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