MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

DB2 Call

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
pai_sunil_bs
Beginner


Joined: 19 Sep 2005
Posts: 21
Topics: 11

PostPosted: Tue Sep 27, 2005 1:11 am    Post subject: DB2 Call Reply with quote

Hi All,
I had posted a query with the title:- "Problem with DB2 Call"
I am posting this, since the issue is still not resolved. Although we got some clues. Hope someone can resolve this.

I have a Query:-
SELECT COUNT(*)
FROM TABLE_NAME
WHERE
<Code>
AND EFF_DT <= '2005-12-01'

The above query runs fine in Xpeditor.

I change the date to '2012-12-01'

The DB2 call never returns to the program.

i.e.
PERFORM SQL-INITIAL UNTIL SQL-INIT-DONE
CALL 'DSNHLI' USING SQL-PLIST4.
Here the control never returns to the program after CALL.

All the other queries in the program runs fine in Xpeditor.
The same query runs fine in SPUFI.

I have kept Breakpoints, But the control never returns to the program.

Is there any possibility of corrupt data causing this problem. In that case How can we find it out?

Any Pointers on this is highly appreciated.
Back to top
View user's profile Send private message
Bithead
Advanced


Joined: 03 Jan 2003
Posts: 550
Topics: 23
Location: Michigan, USA

PostPosted: Tue Sep 27, 2005 7:00 am    Post subject: Reply with quote

If the query runs fine in SPUFI then it is not a data problem. Did you try contacting Compuware? Dou you have a DB2 monitor product that you can use to watch the query as it is running?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group