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

Problem after binding the program


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

New User


Joined: 13 May 2007
Posts: 14
Location: chennai

PostPosted: Sat May 09, 2009 8:40 am
Reply with quote

Hi,

We are facing a strange situation in our application. Here goes the story. We have a DB2 program where in we have many cursors. In one Cursor, we are using 2 tables,TableA and TableB. Now when we generated the Bindplan again for this program after making some changes in Production, this cursor is running for a very long time. We did not make any change in this cursor. Prior to this event the program was running fine and fast. One more thing..we pass some values to this cursor and run it for that. It runs fine when the passed variable has less records (Say 20) and does not runs (or runs for a very long time) when the it has more records.

The crux of the story is...we have a problem with the cursor having TableA and TableB, while processing large number of records..and it started after bind plan was generated.

We are not sure what might have gone wrong..neither we are able to figure out.

Please help us over it.

Thanks and Regards,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat May 09, 2009 9:09 am
Reply with quote

Hello,

Quote:
Now when we generated the Bindplan again for this program after making some changes in Production,
Be very suspicious of these changes . . . How many things were changed? How were they changed? Were any indexes added, removed, or changed?

Can the problem be replicated in a test environment if full-size, production data is used?

Have you included your dba in the trouble-shooting?
Back to top
View user's profile Send private message
devangi83

New User


Joined: 05 May 2009
Posts: 7
Location: India

PostPosted: Sat May 09, 2009 7:20 pm
Reply with quote

check if any index change with change in primary or secondary space...
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 Using API Gateway from CICS program CICS 0
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts DB2 Event passed to the Application P... DB2 1
No new posts How to pass the PARM value to my targ... COBOL Programming 8
No new posts REXX code to expand copybook in a cob... CLIST & REXX 2
Search our Forums:

Back to Top