View previous topic :: View next topic
|
Author |
Message |
MFfreak
New User
Joined: 09 Sep 2010 Posts: 3 Location: Mysore
|
|
|
|
I have learnt performance tuning techniques but i am in need to check which tuning technique suits well for my cobol application. Please help me how to compare performance before and after tuning the program, so that i can justify tuning importance. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Ask your performance and capacity team to provide the details as this is something that they would get by analysing from the SMF data produced.
SMF data is a highly confusing beast and should not be taken lightly. Also, by performing your own analysis you will be merely duplicating the work already undertaken.
Although the SMF method would be far more accurate, a rough and ready method would be to take a look at the statistics displayed on the sysout of the run. |
|
Back to top |
|
|
MFfreak
New User
Joined: 09 Sep 2010 Posts: 3 Location: Mysore
|
|
|
|
thank you for your suggestion but i like to know whether it is possible to measure CPU time taken by simple cobol program by coding? |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
There is osmething called as "Strobe". At some shops you, as an Application Developer can use Strobe for your programs. If you can not do that you need to follow what expat has said. Strobe is a performance measurement system that helps you to improve the performance of application programs by determining where and how time is spent in an online subsystem or batch processing program.
I'm not srue if there is way of measuring such a performance purely by COBOL program and for itself! |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
MFfreak,
the statistics provided by JES, displayed in the output, provides a lot of info for every executed JOB Step.
Though it would be a good thing to learn about any performance tools that you have inhouse,
based on your relative inexperience,
I would at this stage concentrate on the JOB/STEP statistics provided by JES.
a good learning example would be to compare a batch program after you have altered the BUFNO parm on a QSAM or the ? parm on a vsam file. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
As far as I am aware, without using tools like STROBE from Compuware, it is not possible to determine CPU usage within program code. And such a number would not be accurate, anyway, since you would not be able to capture the CPU time used by the program between the STOP RUN command and the actual completion.
In the absence of STROBE, SMF is your best source of data about the program and its execution statistics. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
It may be more help if you explain what you are actually trying to accomplish (other than getting cpu usage).
Quote: |
I have learnt performance tuning techniques |
Maybe not quite yet - very few beginners have learned this. . .
Does the job run too long? How is/was "too long" determined? Does the job abend due to some time-out? And so on. . . |
|
Back to top |
|
|
MFfreak
New User
Joined: 09 Sep 2010 Posts: 3 Location: Mysore
|
|
|
|
Thanks for all your suggestion. its done. i got all info needed from SMF through administrator. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear you have what you need - thank you for letting us know
d |
|
Back to top |
|
|
|