Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
If we want to have 257 steps in a jcl

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
nightbuzzz

New User


Joined: 04 May 2007
Posts: 3
Location: KOLKATA

PostPosted: Mon Jul 21, 2008 5:52 pm    Post subject: If we want to have 257 steps in a jcl
Reply with quote

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
View user's profile Send private message
References
dbzTHEdinosauer

Senior Member


Joined: 20 Oct 2006
Posts: 1618
Location: germany

PostPosted: Mon Jul 21, 2008 5:58 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 881
Location: Atlanta, GA

PostPosted: Mon Jul 21, 2008 5:59 pm    Post subject:
Reply with quote

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
View user's profile Send private message
nightbuzzz

New User


Joined: 04 May 2007
Posts: 3
Location: KOLKATA

PostPosted: Mon Jul 21, 2008 6:24 pm    Post subject:
Reply with quote

I didn't got can you please explain...
Back to top
View user's profile Send private message
Craq Giegerich

Senior Member


Joined: 19 May 2007
Posts: 989
Location: Virginia, USA

PostPosted: Mon Jul 21, 2008 6:31 pm    Post subject:
Reply with quote

What part of "it can not be done" don't you understand?
Back to top
View user's profile Send private message
Robert Sample

Senior Member


Joined: 06 Jun 2008
Posts: 881
Location: Atlanta, GA

PostPosted: Mon Jul 21, 2008 6:46 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Anuj D.

Global Moderator


Joined: 22 Apr 2006
Posts: 2134
Location: Phoenix, AZ

PostPosted: Mon Jul 21, 2008 7:09 pm    Post subject:
Reply with quote

Hi,
Robert Sample wrote:
... . Period.
Loving it.. icon_biggrin.gif

Hi mayank,

Is it a business requirement, I doubt it's ..
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 196
Location: Deerfield IL

PostPosted: Tue Jul 22, 2008 2:34 am    Post subject:
Reply with quote

If you make each step do more you may not need as many steps.
Back to top
View user's profile Send private message
Phrzby Phil

Senior Member


Joined: 31 Oct 2006
Posts: 497
Location: Richmond, Virginia

PostPosted: Tue Jul 22, 2008 5:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Tue Jul 22, 2008 5:21 pm    Post subject:
Reply with quote

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
View user's profile Send private message
gcicchet

Senior Member


Joined: 28 Jul 2006
Posts: 648

PostPosted: Tue Jul 22, 2008 5:25 pm    Post subject:
Reply with quote

Hi,

I can't remember whether they were blonde or brunettes but I do remember the bottles of red icon_lol.gif

Gerry
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 3507
Location: Brussels once more ...

PostPosted: Tue Jul 22, 2008 6:09 pm    Post subject:
Reply with quote

Quote:
The older ones of us did that a lot.


WHAT ??? you mean to say that you no longer do that icon_eek.gif
Back to top
View user's profile Send private message
UmeySan

Senior Member


Joined: 22 Aug 2006
Posts: 624
Location: Germany

PostPosted: Wed Jul 23, 2008 1:12 pm    Post subject:
Reply with quote

@ 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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1