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

Need to know why program took longer than usual -


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
saurabh39
Warnings : 1

Active User


Joined: 11 Apr 2008
Posts: 144
Location: Jamshedpur

PostPosted: Mon Sep 27, 2010 2:25 pm
Reply with quote

Hi,

I have recieved a weird request. On friday, one of the program which runs for 2 hrs..took more than usual to run.

Client wants me to find the reason for the same.

Moreover, since it was taking time, they cancelled the job. And the record at the time of cancellation was put on bypass file. And somehow after that, the job run fine. They suspect, the record in bypass file as culprit.

But when, program was run with same record in test, the record was processed fine. There was nothing unusal about the data.

Now, I need some pointers as to how to start. But before that i need to find out, whether I can do something about the request.

So please tell me how to go about it?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Mon Sep 27, 2010 4:34 pm
Reply with quote

Contact your site support group and ask for their assistance. The elapsed time a job takes can vary depending upon time of day run, other jobs in the system, the service classes of each job in the system, the WLM (Workload Manager) rules used by the system, the number of initiators assigned, and on and on ... there are many, many, many possible reasons. Only someone working at your site can analyze the available data and determine which reason(s) applied to your particular job.
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2481
Location: Netherlands, Amstelveen

PostPosted: Mon Sep 27, 2010 5:41 pm
Reply with quote

It is of course a manual tape mount or an operator reply not answered.
Its a known fact that operators are the weakest link in IT.
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: Mon Sep 27, 2010 8:32 pm
Reply with quote

Hello,

Quote:
Its a known fact that operators are the weakest link in IT.
It is not a fact - just an opinion. . .

Many "operations" problems are caused by imcompetently/improperly implemented processes or documentation. Many are also caused by the necessity to manually change the job before each submission (again, part of the process that the operators did not define).

Quote:
But when, program was run with same record in test, the record was processed fine. There was nothing unusal about the data.
If the entire set of production data was not used for the test, the test was incomplete. . .

The problem may have been because of a combination of bad code combined with an unexpected combination of data elements causing the code to go into a loop.

How much cpu and i/o does the job usually take? How much cpu and i/o did the problem run take?

As was suggested, you should look for a missed console reply (there should not be console messages from an application unless it regards device allocation).
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Sep 28, 2010 5:08 pm
Reply with quote

You could possibly get help from DBAs at your site to investigate if the row you have tried to access could have been subject to a lock issued by another process. That would explain that the row processed fine in test.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Tue Sep 28, 2010 6:22 pm
Reply with quote

Looking at the JESMSGLG of canceled Job might help also.
Back to top
View user's profile Send private message
Kjeld

Active User


Joined: 15 Dec 2009
Posts: 365
Location: Denmark

PostPosted: Tue Sep 28, 2010 6:47 pm
Reply with quote

PeterHolland wrote:
It is of course a manual tape mount or an operator reply not answered.
Its a known fact that operators are the weakest link in IT.

Many shops has eliminated these operator tasks completely, replaced manual tape mounts with tape robots or virtual tape storage and by minimizing/removing operator interaction with application programmes.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Wed Sep 29, 2010 9:06 am
Reply with quote

Tushar,

Assuming this is a DB2 program,

In our place this sometimes happen during the month-end cycle, the daily DB2 batch programs runs few extra hours causing a bit of delay, when analyzed we found DB2 unaccounted Time be being high that was due to high CPU utilization and jobs waiting for CPU cycles.

Hope this helps,
Sushanth
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 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
No new posts EZT program to build a flat file with... All Other Mainframe Topics 9
Search our Forums:

Back to Top