ALLInterview.com :: Home Page KalAajKal.com
 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   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories  >>  Software  >>  MainFrame  >>  IBM MainFrame  >>  JCL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions
 JCL interview questions  JCL Interview Questions
 CICS interview questions  CICS Interview Questions
 DB2 interview questions  DB2 Interview Questions
 IMS interview questions  IMS Interview Questions
 IDMS interview questions  IDMS Interview Questions
 Natural interview questions  Natural Interview Questions
 ADABAS interview questions  ADABAS Interview Questions
 REXX interview questions  REXX Interview Questions
 Assembler interview questions  Assembler Interview Questions
 CLIST interview questions  CLIST Interview Questions
 QMF interview questions  QMF Interview Questions
 MVS interview questions  MVS Interview Questions
 OS390 interview questions  OS390 Interview Questions
 OS 2 interview questions  OS 2 Interview Questions
 VSAM interview questions  VSAM Interview Questions
 QSAM interview questions  QSAM Interview Questions
 Sysplex interview questions  Sysplex Interview Questions
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions
Question
There are 5 steps in a Job. How to bypass the first step 
by making use of only COND Parameter and not using any 
Restart and IF/THEN/ELSE parameter?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 1
give COND=ONLY in the JCL for that step.
 
Is This Answer Correct ?    0 Yes 0 No
Sakkara
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 2
cond=(o,le)
 
Is This Answer Correct ?    1 Yes 0 No
Prasad
 
 
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 3
There is no way you can skip the first step of a job from
executing. However further steps can be bypassed by coding 
cond=(o,le,).
 
Is This Answer Correct ?    0 Yes 0 No
Nagesh
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 4
Answer #1 is correct.
 
Is This Answer Correct ?    0 Yes 0 No
Marekj
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 5
Guys Sorry to say Option Cond=(O,LE) wont work in this case.

Please find the below .

//X5PAKR5J JOB (X5P,AKR,5,00000),'TEST CONDITION',         
    //MSGLEVEL=(1,1),CLASS=Z,MSGCLASS=Z,PRTY=04,NOTIFY=&SYSUID 
//STEP5  EXEC PGM=IEFBR14,   
//             COND=only      
//SYSPRINT DD SYSOUT=*       
//SYSOUT   DD *              
//STEP6   EXEC PGM=IEFBR14   
//SYSPRINT DD SYSOUT=*       
//SYSOUT   DD *              
//STEP7   EXEC PGM=IEFBR14   
//SYSPRINT DD SYSOUT=*       
//SYSOUT   DD *              
//STEP8   EXEC PGM=IEFBR14   
//SYSPRINT DD SYSOUT=*       
//SYSOUT   DD *        

Result:- 
STEP5 - STEP WAS NOT RUN BECAUSE OF COND = ONLY  
STEP5 - STEP WAS NOT EXECUTED.                   
STEP6 - STEP WAS EXECUTED - COND CODE 0000       
STEP7 - STEP WAS EXECUTED - COND CODE 0000       
STEP8 - STEP WAS EXECUTED - COND CODE 0000              

COND=(0,LE) will not work.Please try it .
 
Is This Answer Correct ?    0 Yes 0 No
Ajayre
[********]
 
  Re: There are 5 steps in a Job. How to bypass the first step by making use of only COND Parameter and not using any Restart and IF/THEN/ELSE parameter?
Answer
# 6
That was correct. cond=(0,le) won't work for first step of 
jcl.
Sysout details when cond=(0,le) was coded
-JOBNAME  STEPNAME PROCSTEP    RC 
-ESNKMAA          PS0010      00 
-ESNKMAA          PS0020      00 
-ESNKMAA          PS0030      00 

Sysout details when cond=ONLY was coded
-ESNKMAA          PS0010   FLUSH 
-ESNKMAA          PS0020      00 
-ESNKMAA          PS0030      00
 
Is This Answer Correct ?    0 Yes 0 No
Sivakumar Sekharannair
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps?? Xansa7
What is the difference between BLKSIZE and LRECL?  2
How much space OS allocates when you create a PS or PDS?  2
What is a Dummy Utility and what it does ?  1
Wrete a JCL to compare two files and mached records move to onc file & un mached rows wants to another file? IBM3
How do you access a file that had a disposition of KEEP?  1
What u mean by include statement in JCL ?  2
how to identify a vasam dataset by seeing in 3.4(browse) Cap-Gemini1
When we use conditional statement in JCL using if-then-else-endif, IF statement is true, the step is bypassed or executed?  4
Suppose there r total 10 steps. Out of which i want to execute only the 7th step. How can i do that....????  2
What is the difference between the JOBLIB and the STEPLIB statements?  2
what is the restart?hopw it is invoked?  1
How is the keyword DUMMY used in JCL?  3
How to execute 300 steps in a Job? Zensar11
What is NOTCAT 2  1
Definition of COND parameter in JCL  4
IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4? IGT3
what r the types of job control statements?  1
If job is submitted with typerun = hold then how can we submit the same job? Wipro2
Can we use empty VSAM as input? Kanbay4
 
For more JCL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com