Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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 Loading data to table gives wrong for... Raghu navaikulam DB2 18 Thu Jul 13, 2017 2:11 pm
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts unload data from table with lob columns farhad_evan DB2 1 Sat Apr 22, 2017 1:32 pm
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us