---
title: "JCL Evergreen Interview Question on COND Parameter"
description: "The JCL always asked interview questions. You will face this kind of questions in almost all the interviews. Useful to refresh instantly."
url: https://srinimf.com/2016/02/05/jcl-evergreen-interview-question-on-cond-parameter/
date: 2016-02-05
modified: 2026-10-10
author: "Srini"
image: https://i0.wp.com/srinimf.com/wp-content/uploads/2016/02/pexels-photo-3184465.jpeg?fit=1880%2C1253&ssl=1
categories: ["JCL"]
tags: ["jcl condition codes", "JCL interview Questions"]
type: post
lang: en
---

# JCL Evergreen Interview Question on COND Parameter

Almost in all interviews this question asked. The basic usage of COND parameter is to control execution of job steps.

[![Photo Shape Editor: https://www.tuxpi.com/photo-effects/shape-tool](https://i0.wp.com/srinimf.com/wp-content/uploads/2016/02/srinimf.jpg?resize=293%2C293&ssl=1)](http://www.indeed.com/jobs?q=Hadoop&indpubnum=6634974704162507)*ETL+Hadoop+Skills are in demand*

## **COND Parameter in JCL and Its Rules**

Use the COND parameter to test return codes from previous job steps and determine whether to bypass this job step. You can specify one or more tests on the COND parameter, and you can test return codes from particular job steps or from every job step that has completed processing.

1. **The JOB statement COND parameter** performs the same return code tests for every step in a job. If a JOB statement return code test is satisfied, the job terminates.
2. **An EXEC statement COND parameter** performs return code tests for only its step in a job. Using EXEC COND parameters, different tests can be performed for each step.

**[How to](https://srinimf.com/2015/12/04/you-have-answer-for-this-job-cond-parameter-question-in-jcl/) bypass execution of first Job Step **

- Only with COND parameter we cannot bypass first step.
- With IF/ELSE/ THEN /ENDIF statements in first step, whatever be the condition, the first step skips execution

**Rules you always need to remember**

- -COND test satisfies at step level then that step will not execute
- -COND test satisfies at Job level then the jobs will not execute

**Related:**

1. [Best example for IF/ELSE/THEN/ENDIF for job step in JCL ](https://srinimf.com/2014/05/07/tips-if-then-else-endif/)
2. [How to give COND parameter both at Job level and Step level](https://srinimf.com/2012/01/29/jcl-jobstep-cond-parameter/)

Related[8 Super Ideas on SMS managed MGMTCLAS in JCL](https://srinimf.com/2015/12/30/8-thoughts-on-sms-managed-mgmtclas-in-jcl/)

### Share this:

-
- [Tweet](https://twitter.com/share)
- [![](https://i0.wp.com/assets.pinterest.com/images/pidgets/pinit_fg_en_rect_gray_20.png)](https://www.pinterest.com/pin/create/link/?url=https%3A%2F%2Fsrinimf.com%2F2016%2F02%2F05%2Fjcl-evergreen-interview-question-on-cond-parameter%2F&media=https%3A%2F%2Fi0.wp.com%2Fsrinimf.com%2Fwp-content%2Fuploads%2F2016%2F02%2Fpexels-photo-3184465.jpeg%3Ffit%3D1200%252C800%26ssl%3D1&description=JCL%20Evergreen%20Interview%20Question%20on%20COND%20Parameter)
-
- [Share on Tumblr](https://www.tumblr.com/share)
- [Share on WhatsApp (Opens in new window) WhatsApp](https://srinimf.com/2016/02/05/jcl-evergreen-interview-question-on-cond-parameter/?share=jetpack-whatsapp)
- [More](#)
-

- [Print (Opens in new window) Print](https://srinimf.com/2016/02/05/jcl-evergreen-interview-question-on-cond-parameter/?share=print)
- [Share on Reddit (Opens in new window) Reddit](https://srinimf.com/2016/02/05/jcl-evergreen-interview-question-on-cond-parameter/?share=reddit)
- [Share on Telegram (Opens in new window) Telegram](https://srinimf.com/2016/02/05/jcl-evergreen-interview-question-on-cond-parameter/?share=telegram)
- [Email a link to a friend (Opens in new window) Email](mailto:?subject=%5BShared%20Post%5D%20JCL%20Evergreen%20Interview%20Question%20on%20COND%20Parameter&body=https%3A%2F%2Fsrinimf.com%2F2016%2F02%2F05%2Fjcl-evergreen-interview-question-on-cond-parameter%2F&share=email)
-

### Like this:

Like Loading…
