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

Problem with Update/Insert stored procedure using JCC driver


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

New User


Joined: 31 Mar 2011
Posts: 3
Location: India

PostPosted: Thu Mar 31, 2011 1:11 pm
Reply with quote

Hi ,

My application is a Java front End & Mainframe back end application.

We were using a type 2 driver with Db2 client version 8 to invoke the SP on mainframe.

We are now upgrading the db2 Client version to 9.5 with type 4 jcc universal driver.

All the stored procedures which are used to select data are working fine , but the SP having update/insert are giving issue.

The main issue is the SP invokes properly but after execution it fails before the control is passed back to java side.

I am not sure whether the new JCC driver handles some parameter differently from type 2 driver.

Can anyone help me out for the possible reason/solution.

Thanks ...
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 31, 2011 1:21 pm
Reply with quote

Quote:
The main issue is the SP invokes properly but after execution it fails before the control is passed back to java side.
Quote:
Can anyone help me out for the possible reason/solution.


check line/statement 34821 of Your SP or line/statement 26479 of the invoking program!
Back to top
View user's profile Send private message
Ankukr Solanki

New User


Joined: 31 Mar 2011
Posts: 3
Location: India

PostPosted: Thu Mar 31, 2011 2:00 pm
Reply with quote

Thanks Enrico for the response..

I Couldn't trace the Line no. in my PGM, My SP is a plain cobol program.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Thu Mar 31, 2011 2:14 pm
Reply with quote

Ankur, You seem to lack a bit of sense of humor icon_biggrin.gif

my suggestion was a nonsense reply to a nonsense question

You described You problem as ...
I had something working
I changed something
now it does not work any longer
help me to yak yak yak ( equivalent to blah blah blah )

You will find very little help and sympathy if You ask questions in that way
to get help You must provide facts, You just whined/vented Your disappointment

to make the most out of the questions You ask it might be helful to read and meditate on
How To Ask Questions The Smart Way
catb.org/~esr/faqs/smart-questions.html
Back to top
View user's profile Send private message
Ankukr Solanki

New User


Joined: 31 Mar 2011
Posts: 3
Location: India

PostPosted: Thu Mar 31, 2011 7:09 pm
Reply with quote

All ,

The Issue was happening because the new JCC type 4 driver does not allow the type mismatch which was allowed in the previous versions.

Thanks...
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 Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts Insert header record with record coun... DFSORT/ICETOOL 14
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts Identify Program Insert DB2 7
No new posts Insert trailer for non empty file only DFSORT/ICETOOL 6
Search our Forums:

Back to Top