ALLInterview.com :: 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                      
Google
   
 
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)
Question
Definition of COND parameter in JCL
 Question Submitted By :: JCL
I also faced this Question!!     Answer Posted By  
 
Answer
# 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
BYPASSED.
 
Is This Answer Correct ?    25 Yes 4 No
Guest
 
Answer
# 2
If the condition satisfies it won't execute the current
step..it will bypass the current step..
 
Is This Answer Correct ?    12 Yes 1 No
Suresh
 
 
 
Answer
# 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
Kavya
 
Answer
# 4
hi,

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.
FOR EX:-
JOB CARD
//STEP1 EXEC PGM=ABC
//STEP2 EXEC PGM=XYZ,COND=(4,LT,STEP1)
HERE THE CONDITION IS TRUE,
so,step will not executed.
 
Is This Answer Correct ?    1 Yes 2 No
Lavanya
 
Answer
# 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
Vish
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
Explain concatenating datasets? CTS 2
is there any possibilities for sumbitting more than one job in single jcl? if yes...based on which thing they will execute..(priority,class,time,written order..?) HSBC 3
If Region=0k means What Happen? IBM 2
Hi, all Suppose i have 10 step in a job (s1,s2,s3,...s10) i want to execute step9 first and then step3 and i used the DPRTY for these steps. so what will happen to other steps? Will the get executed or only these two steps get executed?   2
As PARM can supply information to a program ? Can PARM be used to supply information to a cataloged or Inline Procedure also ? IBM 2
How can I write the joblog in the spool on normal end of a job step and direct the joblog to a dataset only if the step abends?   2
What is Backward Referencing ? HSBC 3
How to get the last but one duplicate record of the file using Sort? Fidelity 2
A PROC has five steps. Step 3 has a condition code. How can you override/nullify this condition code? Wipro 5
How do You skip a Step In JCL? HTC 8
We are aware of eliminating the duplicate records from outyput fiel using sort utility. Can we get the duplicate records in to another file in the Same sort utility?   2
How can i execute 5th step without executing first 4 steps?   4
 
For more JCL Interview Questions Click Here 
 
 
 
 
 


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

ALLInterview.com   ::  KalAajKal.com