M
Member 310024
Guest
Environment: IBM mainframe, COBOL/DB2, MVS
I have a program which reads a chain of DB2 records.
I firstly define the cursor, then open it.
I then FETCH each record within a loop until SQLCODE +100.
I have done various timing points and what I have found
is that the FETCH which results in the SQLCODE +100
takes 35.84 seconds(elapsed). The previous fetchs took
0.12 and 0.00 seconds (closest hundredths timing).
This is fairly consistent timing as I have done the timings
multiple times. Therefore I discount swapping issues.
My question is, does anyone have prior experience with
a problem like this or have any idea as to what might be
causing this most unusual phenomenon?
I have a program which reads a chain of DB2 records.
I firstly define the cursor, then open it.
I then FETCH each record within a loop until SQLCODE +100.
I have done various timing points and what I have found
is that the FETCH which results in the SQLCODE +100
takes 35.84 seconds(elapsed). The previous fetchs took
0.12 and 0.00 seconds (closest hundredths timing).
This is fairly consistent timing as I have done the timings
multiple times. Therefore I discount swapping issues.
My question is, does anyone have prior experience with
a problem like this or have any idea as to what might be
causing this most unusual phenomenon?