Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How can I compare two jobs in terms of efficiency?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Tue Jan 22, 2008 5:03 pm    Post subject: How can I compare two jobs in terms of efficiency?
Reply with quote

I have two jobs having different steps, performs same operation. How can I compare the two in terms of time taken and space allocated?
Back to top
View user's profile Send private message

Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Tue Jan 22, 2008 5:08 pm    Post subject: Reply to: How can I compare two jobs in terms of efficiency?
Reply with quote

ayanasu,

Have a look at the SYOUT for the time taken and the space used.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Jan 22, 2008 5:14 pm    Post subject:
Reply with quote

Ask your performance and capacity people which process uses least resources.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Jan 23, 2008 6:06 pm    Post subject:
Reply with quote

Hi,

You can check out for any tool, like STROBE (which may be shop specific).

It iwll give the time taken by your job and you can use it for your analysis.
Back to top
View user's profile Send private message
khamarutheen

Active Member


Joined: 23 Aug 2005
Posts: 680
Location: NJ

PostPosted: Wed Jan 23, 2008 7:37 pm    Post subject:
Reply with quote

Aya's,

Why does the two jobs perform same operations??? Why cant it be 1 job??? Is there any specific reason for that?
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Fri Jan 25, 2008 11:08 am    Post subject:
Reply with quote

khamarutheen wrote:
Aya's,

Why does the two jobs perform same operations??? Why cant it be 1 job??? Is there any specific reason for that?


This is what called process improvement.

I have made some changes in the code. and I want to measure how much efficient my code is?

I thing I am clear to u
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Jan 25, 2008 11:13 am    Post subject: Reply to: How can I compare two jobs in terms of efficiency?
Reply with quote

ayanasu,

Quote:
I have made some changes in the code. and I want to measure how much efficient my code is?


Check the CPU time taken by the jobs when run with the same input in similar env. The job which took lesser time for processing the same input is efficient.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Fri Jan 25, 2008 12:51 pm    Post subject: Re: Reply to: How can I compare two jobs in terms of efficie
Reply with quote

Aaru wrote:
ayanasu,

Quote:
I have made some changes in the code. and I want to measure how much efficient my code is?


Check the CPU time taken by the jobs when run with the same input in similar env. The job which took lesser time for processing the same input is efficient.


Yeh.. Its taking less cpu time, but how can i compare the volume?
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Fri Jan 25, 2008 9:24 pm    Post subject:
Reply with quote

Hello,

Quote:
but how can i compare the volume?
Please clarify - which volume? If i understood, both jobs are performing the same operation icon_confused.gif

When you run a batch job, statistics are shown for cpu usage as will as other system resources used. If you talk with the people tasked with performance measuerment or capacity planning, they may have something in place that will provide what you want.
Back to top
View user's profile Send private message
ayansau

New User


Joined: 22 Jun 2007
Posts: 42
Location: Chennai

PostPosted: Mon Jan 28, 2008 9:44 am    Post subject:
Reply with quote

I have removed some sort step from the total process...

Code:
*     6144K  REQUESTED   - VIRTUAL                                            *
*      384K  BELOW 16MEG - FROM USERS PRIVATE AREA                            *
*      348K  BELOW 16MEG - FROM SYSTEM AREA (TOP OF PRIVATE)                  *
*      384K  BELOW 16MEG - FROM USER SUBPOOLS                                 *
*      196K  ABOVE 16MEG - FROM USER SUBPOOLS                                 *
*      348K  BELOW 16MEG - FROM SYSTEM (LSQA+SWA) SUBPOOLS                    *
*    18380K  ABOVE 16MEG - FROM SYSTEM (LSQA+SWA) SUBPOOLS                    *
*        0K  DATA SPACE STORAGE (HIGH WATER MARK)                             *


This is what I am getting at job log. Can anyone tell me the meaning of the volumes...
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Mon Jan 28, 2008 8:30 pm    Post subject:
Reply with quote

Hello,

What you have posted shows memory usage above and below the "16-meg" line.
Back to top
View user's profile Send private message
sameer

New User


Joined: 10 Mar 2005
Posts: 41
Location: United States Of America

PostPosted: Wed Apr 02, 2008 1:47 am    Post subject:
Reply with quote

I don't think performance can be measued based on total time the job consumed or total memory it aquired. If you run same job twice, run time may vary. Its depend on CPU usage during the job run.

Coming to point, Measure whether your job running fast after you do code changes, you just check what lines of code you have commented and whether it simplifies the logic whichout affecting the actual expected result.

if so you have done it.

Hope this clarifies you
Back to top
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Wed Apr 02, 2008 2:08 am    Post subject:
Reply with quote

Hello,

Quote:
Hope this clarifies you
Sorry, but it doesn't.

Quote:
run time may vary. Its depend on CPU usage during the job run.
Yes, run time may vary. It does not typically depend on the cpu used. It is the other way around. For the same amount of sequential input, output, and database activity, the cpu used will remain quite constant while the "wall time" may vary considerably.

Quote:
I don't think performance can be measued based on total time the job consumed or total memory it aquired.
Partly correct. . . Some of the main considerations of performance measurement are cpu time, local i/o, and database activity.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts self-restarting jobs in OPC jzhardy IBM Tools 1 Mon Aug 21, 2017 10:15 am
No new posts compare 2 rows within the same file ram_vizag SYNCSORT 7 Wed Jun 14, 2017 12:34 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us