Geeks Talk

Prepare for your Next Interview


Welcome to the Geeks Talk forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Running 3 JCL is much more faster than one JCL with three steps

This is a discussion on Running 3 JCL is much more faster than one JCL with three steps within the MainFrame forums, part of the Software Development category; I´ve got funny problem and no explanation/solution: I run a JCL with three steps: sort a file, unload a table, run program. run time is really high (just a few ...

Go Back   Geeks Talk > Software Development > MainFrame
Register Blogs FAQ Tag Cloud Calendar Mark Forums Read
  #1 (permalink)  
Old 04-05-2007
Junior Member
 
Join Date: Apr 2007
Location: Munich
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
altehexe74 is on a distinguished road
Running 3 JCL is much more faster than one JCL with three steps

I´ve got funny problem and no explanation/solution:

I run a JCL with three steps: sort a file, unload a table, run program. run time is really high (just a few seconds CPU time and more than half an hour).

If I divide the three steps into three single jcl and submit jcl, every jcl just need a few seconds. So running three jcl is much more faster than one jcl with three steps.

what can be a reason? Do I have to set some special parameters for scheduling, to get good run time in both cases?
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 06-11-2007
Junior Member
 
Join Date: May 2007
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
kckinney is on a distinguished road
Re: Running 3 JCL is much more faster than one JCL with three steps

Any single JCL job runs its' programs sequentially. If you're familiar with the lower platforms, it's like running a script. No line can run until the previous line has completed.
Only in this case, no program can run until the previous one has completed.

When you submit 3 jobs, each gets a different initiator and run simultaneously. In fact, the ability to run many, many jobs simultaneously is the hallmark of a mainframe.
On a lower platform, this is similar to forking several processes.
I think if you add up all the time from the 3 separate jobs, you will have slightly higher runtimes and resource usage (wall clock, SRB, EXCP & CPU) than with a single job.

I'm not sure I understand your question regarding scheduling. If the first step creates a dataset that the second step uses and the second then creates a dataset used in the third, you have no other recourse than to single-thread these jobs.
If the three steps have nothing to do with one another, then submitting them separately is a good idea.

In theory, you could use BDT and batch pipes, but based on your question, I’d say you need to gain some more experience before working with those.

kk
Reply With Quote
Reply

  Geeks Talk > Software Development > MainFrame

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Steps are not recorded mabobine QTP 3 04-20-2007 03:05 PM
Faster technique for Manual Software testing JobHelper Testing Issues 2 02-12-2007 06:53 AM
Steps to start testing Lokesh M Testing Issues 4 12-14-2006 01:32 AM
Steps for Restoring a Crashed XP RyanJames Windows 1 11-12-2006 02:59 PM
What steps to take? blenda Unix/Linux 1 09-24-2006 04:54 AM


All times are GMT -4. The time now is 06:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.1
Copyright © 2009 GeekInterview.com. All Rights Reserved