:: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Categories >> Software >> MainFrame >> IBM MainFrame >> JCL


 COBOL interview questions  COBOL Interview Questions (851)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (448)
 DB2 interview questions  DB2 Interview Questions (668)
 IMS interview questions  IMS Interview Questions (80)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (41)
 ADABAS interview questions  ADABAS Interview Questions (8)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Definition of COND parameter in JCL
 Question Submitted By :: JCL
I also faced this Question!!     Answer Posted By  
# 1
COND is a condition parameter, consists of 2 sub parameters,
1st - return code from the previous step, 2nd - condition.
If COND is true, the step on which COND is coded will be
Is This Answer Correct ?    25 Yes 4 No
# 2
If the condition satisfies it won't execute the current will bypass the current step..
Is This Answer Correct ?    12 Yes 1 No
# 3
COND parameter specifies the return code test which the
system uses to determine whether a JOB wil continue
processing or not.If the test is not specified then the
system executes the job step else system bypasses all the
remaining steps.
Is This Answer Correct ?    8 Yes 5 No
# 4

we can code cond parameter on both job and exec
stmts.very step has to be executed a return code upon
completion.that is known as condition code.condition is
used to control the execution of the subsequent
steps.always the condition parameter based on the previous
step.suppose the given cond is true,the step is not
executed,otherwise it will bypassed to its next step.
so,step will not executed.
Is This Answer Correct ?    1 Yes 2 No
# 5
To be more specific, COND parameter is used to determine
whether to execute a particular steps or steps based on the
return from a previous step (s). e.g. you may want to send
an email notification to someone ONLY if a particular Job
step abends or return a return code greater than acceptable
norm. In such situation the EMAIL STEP (ideally should be
the next step of the step whose notification is needed if
abend occurs) can be coded with COND=ONLY. Similarly
COND=EVEN will execute a step EVEN if the previous step
abended. We can specify two parameters for COND in oder for
the Job to decide whether to execute the step or not. e.g.
COND=(0,LE) - This will execute the step only if the return
code of the previous step is Zero.
Is This Answer Correct ?    7 Yes 9 No

Other JCL Interview Questions
  Question Asked @ Answers
What are the keywords associated with DCB? How can you specify DCB information? What is the OS precedence for obtaining that DCB information, ie. where does the system look for it first?   2
in a series of 10 steps, i need to run only 1,3,5,7 & 9th steps only. how do u code? ADP 5
what is the function of iebcompr? it compare record length or characteristics of a dataset?...pls explain with examples.......   2
How to test thru JCL if any file(PS or VSAM) is empty or not. I do not want to use any COBOL prog or Ezytrieve and want to do using utility. Lehman-Brothers 10
i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the 6th step & 5th step output is used as input in the 7th step. How they are refered as in the 6th & 7th steps? If the job abends in 6th step then how the 5th step output is refered in 7th step? IBM 2
In My job I have 15 procs.and in each proc i have 3 steps. i want to execute 3 step in proc it possible? if possible how? HP 2
using cursor how can you fetch more than one record into a variable Syntel 3
diff bw SB37,SD37,SE37 ?( bcz these 3 belongs Space related abends only) RBS 3
how to eliminate the duplicates in sorting Fidelity 4
IF we are calling a PROC from Jcl...This Proc have 3 steps in it and we want to execute only the second step using the JCL, How to do it?? Please give the answer ASAP:)   8
If there are five steps in a JCL i have to execute the 3rd step, bypass the 4th step and execute the 5th step how do i do this? Convergys 13
How do you override a specific DDNAME/SYSIN in PROC from a JCL? CTS 6
For more JCL Interview Questions Click Here 

Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
Copyright 2013  All Rights Reserved.   ::