Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a COND parameter in JCL?

Answers were Sorted based on User's Feedback



What is a COND parameter in JCL?..

Answer / shailendra

cond means condition parameter

this parameter we can use in job as well as exec statment

if we are mention cond then it will check condition for the
step before execute it. if condition will match then this
step never execute. we can put maximum 8 condition at a
time.

format
cond=((retern code,conditon,step name),....(retern
code,conditon,step name))

Is This Answer Correct ?    42 Yes 3 No

What is a COND parameter in JCL?..

Answer / xyz

Specifies whether the JOB should continue or terminate
depending on the outcome of any step in the JOB
Before each step is executed, the system checks the COND
parameter against the return code from completed JOB step
If satisfied, the system terminates the JOB, else it
executes the JOB
Format is COND=((code, operator), (code, operator)…)

Is This Answer Correct ?    46 Yes 10 No

What is a COND parameter in JCL?..

Answer / guest

COND means condition parameter. It is compared with system
return code of previous step.//step1 exec pgm=abcd//step2
exec pgm=xyz, cond=(4,lt)step2 will be executed when system
return code of step1 is less than 4.

Is This Answer Correct ?    97 Yes 64 No

What is a COND parameter in JCL?..

Answer / yaswanth kumar j

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. If any
of the test conditions are satisfied, the system evaluates
the COND parameter as true and bypasses the job step. If
none of the test conditions specified on the COND parameter
are satisfied, the system evaluates the COND parameter as
false and executes the job step.

SYNTAX:

COND[.procstepname] =
(code,operator)
COND[.procstepname] = ((code,operator[,stepname]
[.procstepname])
[,(code,operator[,stepname][.procstepname])]...
[,EVEN])
[,ONLY]
COND=EVEN

COND=ONLY

Is This Answer Correct ?    27 Yes 1 No

What is a COND parameter in JCL?..

Answer / sree

Each step returns a code to the system once it finishes its
execution.This is a condition code. COND parameter is used
to control the execution of a step based on the condition
code of its previous steps.

Syntax

COND=(comparsion-code,condition)
(If coded on job)

COND=(comparsion-code,condition [,stepname] [,EVEN / ONLY])
(If coded on step )



condition can be GT,GE,LT,LE,EQ,NE

Is This Answer Correct ?    25 Yes 2 No

What is a COND parameter in JCL?..

Answer / suputhru

both statements coded then
JOB-COND will override EXEC-COND.

job-cod will active.

Is This Answer Correct ?    16 Yes 2 No

What is a COND parameter in JCL?..

Answer / kathirvel sellappan

Condition can code in both JOB and EXEC statements. when we
code these parameter on both statements JOB-COND will
override EXEC-COND.

Is This Answer Correct ?    20 Yes 9 No

What is a COND parameter in JCL?..

Answer / eswar

COND parameter in JCL to control the flow of execution steps.
It is very important parameter in JCL.COND can be coded at job level and step level,but always JOB level -COND will override the STEP level-COND.For example in JOB there are 10 steps,if i want to execute step4 only reaming steps are not executed then should mentioned RESTART parameter at JOB level.
i.e.,RESTART=STEP4 at JOB LEVEL and give JCL end (//)after step4,Then the control directly goes to at that particular step and execute that step only.

Is This Answer Correct ?    13 Yes 2 No

What is a COND parameter in JCL?..

Answer / siri

COND:-IT IS USED FOR EXCUTE THE STEPS BASED ON RETURN CODE....MAXIMUM 8 CONDITIONS ARE CODED IN ONE COND PARAMETER....
COND=(CODE,OPERATOR,STEPNAME)
CODE CAN BE 0-4095
OPERATOR CAN BE GT,LT,GE,LE,EQ
GIVING COND IS TRUE THE STEP WILL BE BYPASSED...COND IS FALSE THE STEP WILL BE EXECUTED....

Is This Answer Correct ?    1 Yes 0 No

What is a COND parameter in JCL?..

Answer / venkat

i have ten steps in job,
But i don't want to execute all steps ,i want to execute
step1 and step10.
how do we code can you help me?

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

What are the differences between JES2 & JES3 ?

4 Answers  


how you can direct the data to spool using SYSOUT option?

0 Answers  


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


List the various advantages of using jcl language?

0 Answers  


what is static and dynamic call with examples?

4 Answers   IBM,


What are the parameters that are used in creating a gdg?

0 Answers  


Can you delete the GDG base without deleting GDG generations ?

7 Answers   Cap Gemini,


My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,


once we submitted the job to the operating system, how can we cancel the job before execution?

2 Answers  


How can a stopped job be started again?

0 Answers  


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

0 Answers   IBM,


I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?

0 Answers  


Categories