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
 

 

To reduce the Batch job run time

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

New User


Joined: 11 Nov 2006
Posts: 7
Location: Chennai

PostPosted: Mon Nov 19, 2007 8:36 pm    Post subject: To reduce the Batch job run time
Reply with quote

Hi ,

Can some one suggest me how to reduce the batch job run time?

Regards
Chandu
Back to top
View user's profile Send private message

stodolas

Active Member


Joined: 13 Jun 2007
Posts: 632
Location: Wisconsin

PostPosted: Mon Nov 19, 2007 9:21 pm    Post subject:
Reply with quote

Remove some steps, get a bigger mainframe, use empty input files.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Mon Nov 19, 2007 9:53 pm    Post subject:
Reply with quote

harkar,

your question provided so little information, was so vague, displayed so little understanding of computers

that

not only did you deserve Steve's answer, I wish I had been clever enough to say it first.

yeah for Steve, very nice way of handling such a ridiculous question.
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 Nov 19, 2007 11:30 pm    Post subject:
Reply with quote

Hello Chandu,

Now that you have been somewhat "beaten up", let me suggest that to get anything useful from the forum, you have to provide something for us to work with - you did not.

If you will clarify what run time you want to reduce, we may be able to offer suggestions. You need to describe the process, what the volume of the input and output is, how long the process takes, and what you consider acceptable run time.

To go along with what others have already posted, the way your question is presented, the only answer would be some form of "reduce the resources used" or "find somewhere faster to run it".
Back to top
View user's profile Send private message
Bitneuker

CICS Moderator


Joined: 07 Nov 2005
Posts: 1105
Location: The Netherlands at Hole 19

PostPosted: Tue Nov 20, 2007 3:04 am    Post subject:
Reply with quote

Another answer might be........design your applications the way you should.
Back to top
View user's profile Send private message
harkar
Warnings : 2

New User


Joined: 11 Nov 2006
Posts: 7
Location: Chennai

PostPosted: Fri Dec 12, 2008 9:47 am    Post subject: Reply to: To reduce the Batch job run time
Reply with quote

I mean to say,let us assume we have a COBOL DB2 program and it is taking most of the CPU time, how to reduce the CPU time? like tuning the DB2 query without impacting the functionality , like wise do you have any other suggestions where the we can implement few things to reduce the CPU time??

Please excuse me if my previous questions was not clear!!!

Chandu
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 Dec 12, 2008 10:24 am    Post subject:
Reply with quote

Welcome back to your topic icon_smile.gif Only been a year icon_wink.gif

As before, you haven't provided anything for us to use to help you icon_confused.gif

Before you can reduce the cpu time, you need to identify which part(s) of the main problem program are using the most time.

You need to consider how many rows are processed by the code and then determine if there might be a better way to implement that code.

Suggest you do some analysis as to how much work is actually being done (much of it may just be overhead) and we can go from there.

You might also talk with your dbas as they have tools to monitor queries and should be able to spot problem sql.
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Fri Dec 12, 2008 12:29 pm    Post subject:
Reply with quote

Quote:
Only been a year
I wonder ..s/he still remember the password to login here.. icon_razz.gif
Back to top
View user's profile Send private message
Rajeev Saluja

New User


Joined: 28 Mar 2008
Posts: 6

PostPosted: Fri Dec 12, 2008 4:03 pm    Post subject:
Reply with quote

Hi,

In regard your query..There is a suggestion

- Relocate the steps in JCL (e.g Backup File steps) which can be run parallel in some other JCL so as to save execution time.

- Can remove the wait time from the JCL (if it been used)

-Can alter the JCL to run in 2 phases (phases-1, phases-2) which can also run parallely but not impacting/editing the data in the file due to the change.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1239
Location: Richfield, MN, USA

PostPosted: Sat Dec 13, 2008 1:14 am    Post subject:
Reply with quote

After all of the above, consider using batch pipes.
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Sat Dec 13, 2008 1:51 am    Post subject: Reply to: To reduce the Batch job run time
Reply with quote

The question, such as it was, was about CPU time, not elapsed time. Parallel execution will not affect CPU time and might even increase it very slightly. But as others have said, there is absolutely no information to work with in the question, so any answer is just speculation. All we know is that there is some sort of COBOL program and that DB2 is somehow involved. Sort of like asking "I have this thing and I want it to be different. Can anyone help?"
Back to top
View user's profile Send private message
Rajeev Saluja

New User


Joined: 28 Mar 2008
Posts: 6

PostPosted: Tue Dec 16, 2008 7:42 pm    Post subject: Reply to: To reduce the Batch job run time
Reply with quote

Dears,

I am not sure if you consider the CPU usage might be not full while executing a particular job/set of jobs. If CPU can accomodate the same space can be utilized in earlier scenario thereby reducing the load on existing job. If in a small example consider your job has BACKUP file step. The same step if you take earlier during backup in previous job steps it wont change/impact much if we introduce the backup step in the same earlier job.
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: Tue Dec 16, 2008 8:11 pm    Post subject:
Reply with quote

More efficient block sizes, faster media, and proper scheduling are generic ways to improve sort performance.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10210
Location: italy

PostPosted: Tue Dec 16, 2008 8:12 pm    Post subject: Reply to: To reduce the Batch job run time
Reply with quote

All the suggestions given are part of any decent organization standards and practices manual
under the headings
... <general procedures layout> or something similar
... <step sequencing> for backup archivals restarts
... <resource availability checking> (*)

unless the OP has given evidence of unreasonable elapsed/run times
there very little we can do for him

(*) with automated tape libraries now is not an issue any longer
but once upon a time with manual tape handling a proper tape volume pull list and preparation was crucial to a smooth job flow
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 CICS transaction slow response time vasanthz All Other Mainframe Topics 1 Thu Jan 19, 2017 1:31 am
No new posts DD DUMMY & CPU TIME Nileshkul Testing & Performance analysis 16 Mon Dec 19, 2016 11:35 pm
No new posts How does a called pgm know if its cal... Graeme Westerman COBOL Programming 4 Tue Nov 29, 2016 9:25 pm
This topic is locked: you cannot edit posts or make replies. Get a job submitted itself every time... arunsoods JCL & VSAM 3 Tue Nov 22, 2016 4:05 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am


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