|
|
| Author |
Message |
nightbuzzz
New User
Joined: 04 May 2007 Posts: 3 Location: KOLKATA
|
|
|
|
Hi,
Upto my knowledge we can have max 255 steps in a jcl. Suppose if we want to have 257 steps in a jcl then how can it be done without changing the schedule of the job. Means we don't want to add any new job i.e. i want to get it done in the same job.
thanks
Mayank |
|
| Back to top |
|
 |
References
|
|
 |
dbzTHEdinosauer
Senior Member
Joined: 20 Oct 2006 Posts: 1618 Location: germany
|
|
|
|
you mean, how can you code 257 steps in a job, when the limit of jobsteps per job is 255?
I think you have to flip the OCTAL/HEXADECIMAL switch on the console.
(no, don't ask, the switch does not exist, EITHER) |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
From the JCL reference manual:
| Quote: |
| A job can have a maximum of 255 job steps. This maximum includes all steps in any procedures the EXEC statements call. |
If you want to have 257 steps in a JCl then you've got a problem because what you want cannot be done. |
|
| Back to top |
|
 |
nightbuzzz
New User
Joined: 04 May 2007 Posts: 3 Location: KOLKATA
|
|
|
|
| I didn't got can you please explain... |
|
| Back to top |
|
 |
Craq Giegerich
Senior Member
Joined: 19 May 2007 Posts: 989 Location: Virginia, USA
|
|
|
|
| What part of "it can not be done" don't you understand? |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 891 Location: Atlanta, GA
|
|
|
|
| 257 steps in a job is not allowed. Period. You can either create a new job for the extra 2 steps, get rid of some steps to get under the limit of 255 steps, or not add the steps to the job. |
|
| Back to top |
|
 |
Anuj D.
Global Moderator
Joined: 22 Apr 2006 Posts: 2157 Location: Phoenix, AZ
|
|
|
|
Hi,
| Robert Sample wrote: |
| ... . Period. |
Loving it..
Hi mayank,
Is it a business requirement, I doubt it's .. |
|
| Back to top |
|
 |
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 197 Location: Deerfield IL
|
|
|
|
| If you make each step do more you may not need as many steps. |
|
| Back to top |
|
 |
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 497 Location: Richmond, Virginia
|
|
|
|
Ye of little faith -
It can be done:
Simply find several tens of billions of dollars, buy 51% of IBM stock, then make this important requirement IBM's #1 priority. I suppose every IBM system in the world will require upgrading, so that your code is portable - don't forget that.
I'll be watching the Wall Street Journal for the stock jump.
[Disclosure - I am a minor IBM shareholder, and my suggestion may be biased for my own financial gain. Please let me know just before you do this.] |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
Hi nightbuzzz !
A time ago, I wrote a whole litte article about the mystic of 255.
Also some of us discussed your intention and the useful aspects.
So first, please search the forum for that.
Second, when i here, that someone has to have in mind to do such a silly, stupid and hazardous thing, sorry, but then my blood pressure is rising up to a dangerous level. Sorry for beeing so directly.
Today we are in 2008 and in a few month we have 2009.
We have JobShedulingSystems and a lot of Utilities and ThirdParty Produkts, which permit us to design and create clearly structured JCL without having not more than two steps in one Job and shedule a lot of separate Job with several dependencies.
Could you ever imagine, that eventually, in fact of a ugly problem, someone else has to modify this "JobStream" in the middle of the night after some bottels of red wine and a lazy time with two blondes !!!
The older ones of us did that a lot. And i think i'm not the only one, who
would just have blown away the brain of that guy, who was responsible for such a thing, that i had to modify under time pressure so that production could go on.
The only thing i can do, is to shake my head. Who the hell has inspired you to that idea.
Sorry again for my straight answer. But please search for this discussion
in the forum, read all the answers, and then think abaout it twice. |
|
| Back to top |
|
 |
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 653
|
|
|
|
Hi,
I can't remember whether they were blonde or brunettes but I do remember the bottles of red
Gerry |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3509 Location: Brussels once more ...
|
|
|
|
| Quote: |
| The older ones of us did that a lot. |
WHAT ??? you mean to say that you no longer do that  |
|
| Back to top |
|
 |
UmeySan
Senior Member
Joined: 22 Aug 2006 Posts: 624 Location: Germany
|
|
|
|
@ expat:
By time, the blondes had gone. But the red wine is still here !
@ gcicchet:
Right, a man must set priorities of what is worth to remember ! |
|
| Back to top |
|
 |
|
|