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  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   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
How can we execute only one step in a job
 Question Submitted By :: Rohanpanda
I also faced this Question!!     Rank Answer Posted By  
 
  Re: How can we execute only one step in a job
Answer
# 1
we can...it's possible
 
Is This Answer Correct ?    3 Yes 1 No
Prashanth
 
  Re: How can we execute only one step in a job
Answer
# 2
but how MR.Prasanth ????
 
Is This Answer Correct ?    1 Yes 1 No
Laxmi
 
 
 
  Re: How can we execute only one step in a job
Answer
# 3
with con parameter
 
Is This Answer Correct ?    3 Yes 1 No
Ramu
 
  Re: How can we execute only one step in a job
Answer
# 4
hi,  laxhmi,
 we can execute only one step in a job by using
 cond parameter, IEBEDIT utility program,

  thanks & regards

  prashanth
 
Is This Answer Correct ?    2 Yes 2 No
Prashanth
 
  Re: How can we execute only one step in a job
Answer
# 5
We cannot specify COND parameter for the first step in JCL.
So if there are many steps in JCL, we need to restart the
job from the required step. A null statement at the end of
this step can be given for running this step alone. If any
other step also need sto be run, then we can go for the COND
parameter instead of the null statement
 
Is This Answer Correct ?    4 Yes 1 No
Sravanthi
 
  Re: How can we execute only one step in a job
Answer
# 6
in the proc call statement, EXEC PROC, we need to use 
stepname.COND=(0,LE) option
 
Is This Answer Correct ?    2 Yes 2 No
Chaitanya
 
  Re: How can we execute only one step in a job
Answer
# 7
Hi,

 Use cond=(0,LE) in jobcard and also specify 
Restart=Stepname,the step you want to execute.
 
Is This Answer Correct ?    4 Yes 2 No
Sathishkumar
 
  Re: How can we execute only one step in a job
Answer
# 8
HI THIS IS ANKUR.

I THINK IF WE SECIFIED

COND=ONLY AT FIRST STEP.
 
Is This Answer Correct ?    0 Yes 5 No
Ankur
 
  Re: How can we execute only one step in a job
Answer
# 9
RE:MR.Ankur is right.

COND=EVEN/ONLY in the jobcard will in anyways execute the 
first step.
 
Is This Answer Correct ?    0 Yes 2 No
Rookie
 
  Re: How can we execute only one step in a job
Answer
# 10
I think we have to use restart and cond parameter 
at job card.i.e restart=stapname,cond(00,le).
This will execute only the step u need.
 
Is This Answer Correct ?    2 Yes 1 No
Mohammad
 
  Re: How can we execute only one step in a job
Answer
# 11
hi ankur,
 
i am really oppose u r answer cond=only previous step 
abnormally execution mens this step executed.otherwsie not 
possible.
using iebedit utility is oneway.
another one is restart=stepname end of the step give null 
stmts.
 
Is This Answer Correct ?    1 Yes 0 No
Kamal
 
  Re: How can we execute only one step in a job
Answer
# 12
hi 
kamal.

i know that by IEBEDIT IT can be done....

//sysin dd *
  edit type=exclude, stepname=(step01)
//

but we should try with cond...

i know  cond = only in first skip or flush the 1st step ..

just check it...
bye
 
Is This Answer Correct ?    1 Yes 0 No
Ankur
 
  Re: How can we execute only one step in a job
Answer
# 13
Hi,

This can be achieved by two ways.
1. As Sravanthi mentioned - A null (/*) statement at the 
end of this step can be given for running this step alone.

2. By using COND parameter in the second step. Like
//STEP2   EXEC PGM=EXAMPLE,COND=(0,LE,STEP1)
 
Is This Answer Correct ?    4 Yes 0 No
Suresh
 
  Re: How can we execute only one step in a job
Answer
# 14
as per Sravanthi's answer.. A null (/*) statement at the 
end of this step can be given for running this step alone 
but we have to give restart in job.


suresh,the second method that u have suggested its not 
correct, coz if u have more than one step in the same job 
then u have to code the same COND parameter for each step.
this will stop the execution of 2 step...
 
Is This Answer Correct ?    0 Yes 0 No
Deb
 
  Re: How can we execute only one step in a job
Answer
# 15
Assume that job has 100 steps ... want to execute only the 
step 89 then

just give the following stmt in job card..
restart = stepname, cond=(0,le)

can achieve this in multiple ways..!
 
Is This Answer Correct ?    0 Yes 0 No
Ram G
 
  Re: How can we execute only one step in a job
Answer
# 16
Hi,

Better we can give the true condition i.e COND=(0,LE) in 
all the steps that we don't want to execute.

Please suggest if am wrong
 
Is This Answer Correct ?    0 Yes 1 No
Suresh
 
  Re: How can we execute only one step in a job
Answer
# 17
1. restart the step in the jobcard
2. give a null // at the end of the step. 

Thanks,
raddie
 
Is This Answer Correct ?    0 Yes 0 No
Radhakrishnan
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
What is a MODEL Paramater in GDG ? Xansa2
Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?  1
What does the TIME parameter signify ? What does TIME=1440 mean ? Accenture3
Name the system library from which modules are retrieved at execution  3
with out sorting how to copy records from one file to another file using jcl.Mean I have one input file in which the record are like 1,6,5,4,2,3(for example) and i want to copy to output file from top to bottom(without sorting) like 3,2,4,5,6,1.so I want the JCL for this.cna any one can answers? TCS1
When should DISP=MOD is used?  3
How can you trap abends in the JCL?  1
what is a MODELDSCB?  1
How many extents are possible for a sequential file ? For a VSAM file ?  1
In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?  1
What do you do if you do not want to keep all the space allocated to a dataset?  2
What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ? Xansa4
List some valid operation codes in JCL  2
Can I copy the FB (fixed Block) record length file to a VB (variable Block)record length file and Vise Versa? If Yes then how ? is that thru one of the JCL utility ?  3
What is a GDG? Why do we go for a GDG ? utility used to create GDG? Xansa2
How to point my proc to production dataset always though i keep jcllib order=development.dataset? Is it possible?  3
A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ? IBM2
How do you skip a particular step in a proc/JOB? CSC3
Max. No of DD statements in a job ?  3
is it possible to submitt more than one job in job card in jcl? and if yes than is it necessary to have the jobs same name? Accenture3
 
For more JCL Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

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