Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Job runs more than 8 hrs a day.

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

New User


Joined: 07 May 2009
Posts: 30
Location: Banglore

PostPosted: Wed Sep 09, 2009 8:08 pm    Post subject: Job runs more than 8 hrs a day.
Reply with quote

Hi All,

We have a daily job that runs approximately 8-9hrs everyday.

The job purpose is to consolidate 12 Huge tapes. Currently we are using MULTIGEN to consolidate these 12 tapes. There will be around 1.5 Million records in each tape.

Can any one suggest me is there any utility that consumes less CPU time and improves the effiency of the job.

Can I use SORT ? If Yes, How many sort work areas are need to be used ?

Ratna.
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: Wed Sep 09, 2009 8:12 pm    Post subject:
Reply with quote

Yes, you can use sort.

Why not try it and see what happens using a default sort step.

What are you doing, sorting all the files or just consolidating.
Back to top
View user's profile Send private message
ratnakumar

New User


Joined: 07 May 2009
Posts: 30
Location: Banglore

PostPosted: Wed Sep 09, 2009 8:18 pm    Post subject: Reply to: Job runs more than 8 hrs a day.
Reply with quote

I just need to consolidate all the files..

But i have a problem here... the testing requires 8-9 hrs of CPU consumptions, I cannot go for trail and error method for searching which one is efficient.

I need a perfect answer that can reduce the CPU consumption of the job.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 456
Location: Belgium

PostPosted: Wed Sep 09, 2009 8:53 pm    Post subject:
Reply with quote

Quote:
the testing requires 8-9 hrs of CPU consumptions, I cannot go for trail and error method for searching which one is efficient.

Nothing is well done without analysis and testing.

Quote:
a perfect answer
icon_question.gif

Another point : it seems that job migh use I/O and not CPU time??
Back to top
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Wed Sep 09, 2009 8:57 pm    Post subject: Reply to: Job runs more than 8 hrs a day.
Reply with quote

What's the BLKSIZE for these Tapes (I'm assuming you mean Cartridges and not Reels)? icon_confused.gif

The bigger the BLKSIZE the better....

Bill
Back to top
View user's profile Send private message
ratnakumar

New User


Joined: 07 May 2009
Posts: 30
Location: Banglore

PostPosted: Wed Sep 09, 2009 9:09 pm    Post subject: Reply to: Job runs more than 8 hrs a day.
Reply with quote

The JOB STATISTICS
-----------------------------
TOTAL CPU TIME= 1.74
TOTAL ELAPSED TIME= 236.7

The BLKSIZE=32760.

So u suggest me to do a test run ??
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: Thu Sep 10, 2009 12:05 am    Post subject:
Reply with quote

Hello,

Quote:
TOTAL CPU TIME= 1.74
TOTAL ELAPSED TIME= 236.7

I need a perfect answer that can reduce the CPU consumption of the job.
It is doubtful that the cpu time will be reduced. . . Almost none is being used. . . Also, this shows about 4 hours rather than 8-9.

How many volumes does each file require? The elapsed time may be lots of waiting on the volumes to be mounted. You might consider using the "unit-count" parameter so that while one tape is being read the next could be mounted. It has been many years since i actually did this, so i can't say it will work in your current environment.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Thu Sep 10, 2009 1:02 pm    Post subject:
Reply with quote

This
Quote:
We have a daily job that runs approximately 8-9hrs everyday.
and this
Quote:
the testing requires 8-9 hrs of CPU consumptions
and then this
Quote:
The JOB STATISTICS
-----------------------------
TOTAL CPU TIME= 1.74
TOTAL ELAPSED TIME= 236.7
Do you really understand the difference between CPU time and elapsed time? And from where "8-9 hrs" comes into the picture, if we consider the last statistics from you as a base?
Quote:
Currently we are using MULTIGEN to consolidate these 12 tapes
1. First question whihc comes to mind is, how that consolidated data will be used? Just as a back-up?
2. MULTIGEN is not a utility from IBM so, chances to get suggestions about that from a Fourm like ours are very thin. However, I did get a chance to work with MULTIGEN, so I may be of some help once I look at your JCL but please keep that off-line.
Back to top
View user's profile Send private message
Ketan Varhade

Active User


Joined: 29 Jun 2009
Posts: 197
Location: Mumbai

PostPosted: Thu Sep 10, 2009 1:54 pm    Post subject:
Reply with quote

Hi Ratna,
Could you just post the JCL which you are using,
Can you also check with the Peak hours of the shops, There are certain time duration when its called as peak hours at this time normally program take more then usual?

As far as multigen is considered as per my exp I think it will would be more better in term of performance as compared to sort
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: Thu Sep 10, 2009 1:58 pm    Post subject:
Reply with quote

It is usual that testing will take longer than production as the testing LPAR is usually allocated less resource than the production LPAR.

Try a sort to see what results you get. You know it takes 8-9 hours testing using whatever you use now, so if sort takes less time than it will be better.

Unless you test, you will never know.
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 log file runs out of space, an error ... sravindra_s JCL & VSAM 4 Thu Jul 17, 2014 1:09 pm
No new posts Job abebds with S0C4 ,REASON=10 and r... Anuj Dhawan ABENDS & Debugging 3 Thu Jul 19, 2012 5:00 pm
No new posts CA7 set up to make sure job always ru... useit CA Products 11 Mon May 28, 2012 3:21 pm
No new posts Identify Region under which program r... anshuljain26 CICS 4 Sun Jun 19, 2011 2:11 am
No new posts Why the prioriy changes automatically... vinodmohrir TSO/ISPF 4 Fri Nov 13, 2009 2:11 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us