JCL steps are not executing.

JES2/3, JCL, utilities.
Post Reply
Prakhar Sharma
New Member
Posts: 2
Joined: Sat Apr 23, 2016 2:57 am

JCL steps are not executing.

Post by Prakhar Sharma »

Hi,

Can anyone tell me what we can do if job executing for a few steps after that steps are not executing.
Please advice
User avatar
zum13
Registered Member
Posts: 85
Joined: Thu May 04, 2023 12:58 am

Re: JCL steps are not executing.

Post by zum13 »

Hello.

If the job is not ending with an error or abend, then the most likely reason would be down to condition code checks. These will take the form of the "COND" parameter on the "EXEC" statement or steps being enclosed within "IF ... ENDIF" statements.

The reason for adding this type of check is to ensure that an earlier step has completed successfully (i.e. the condition code is less than or equal to a specific value). It could be that something within your first few steps has not ended as expected and the condition code checks are being used to ensure that the job ends safely rather than continuing with bad input. If that's the case, then hopefully the reason should be in the job output for those steps.
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.”