A JCL with 255 steps and then what?

JES2/3, JCL, utilities.
Post Reply
Pratima P
New Member
Posts: 5
Joined: Thu Jun 12, 2014 12:31 pm

A JCL with 255 steps and then what?

Post by Pratima P »

Hi,

I think it can be considered as a hypothetical question though, as a job can had maximum of 255 steps. So if we want to execute more than 255 steps, what is the method to do it? Should we trigger another jcl then?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: A JCL with 255 steps and then what?

Post by Robert Sample »

If you have a need to run more than 255 steps, you create two or more jobs -- each with 255 or less steps -- to do so. How the jobs get executed (SUBMIT or job scheduler or whatever) is site-dependent.
Pratima P
New Member
Posts: 5
Joined: Thu Jun 12, 2014 12:31 pm

Re: A JCL with 255 steps and then what?

Post by Pratima P »

Thanks. So that's the only way round, just want to confirm once again?
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: A JCL with 255 steps and then what?

Post by Robert Sample »

Let me make it perfectly clear. A job can have no more than 255 steps -- PERIOD. If you have a need to create a job with more than 255 steps, you can:
1) create multiple jobs, each having 255 steps or less
2) reduce the number of required steps (by eliminating unnecessary steps, for example)

You can easily confirm this in the JCL Reference manual -- if you feel the need to confirm what you have already been told, again.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “JCL - Job Control Language.”