there are 10 steps in jcl how to execute the steps from
step2 to step8 only
Answers were Sorted based on User's Feedback
Answer / sai
Hi,
CODE THE CONDITION PARAMETER COND=
(0,LE) IN THE STEPS THAT WE DONT WANT TO EXECUTE
Regards
Sai
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / chowdary
give restart from step 2 and give end statement after 8th
step
it might be possible by using cond parameter
Is This Answer Correct ? | 8 Yes | 3 No |
Answer / suputhru
AAA BHAI LOOG, First understand the requirement.
1.we can't code COND=(0,LE) for first step.
here we can use COND=only,
2.for not execution of 9 and 10 use COND=(0,LE)
else direct answer: IEBEDIT utility.
Incude 2 to 8 stepnames.
ex:
//STEP001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=XXX.GENERAL.STUDY(TEST001),DISP=SHR
//SYSUT2 DD SYSOUT=(A,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE, STEPNAME=(STEP001,STEP002,...STEP008)
/*
Similarly, we can use TYPE=EXCLUDE to exclude the steps from exec.
Is This Answer Correct ? | 6 Yes | 3 No |
Answer / vinay sonar
You can use cond parameter but it will be very tedious.
So you can use IEBEDIT
Syntax is
//SYSIN DD*
EDIT TYPE=INCLUDE,STEPNAME=
(STEP2,STEP3,STEP4,STEP5,STEP6,STEP7,STEP8)
/*
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / guest
He wants step 1 and 10 should be bypassed and not 9 and 10.
We can use restart parameter
Is This Answer Correct ? | 1 Yes | 3 No |
Answer / anonymous
If it is confirm that step 2 to step 8 will execute normally
then what we can do is write COND=(0,EQ) for step 9 &
step10.So these last steps will be byepassed.
Is This Answer Correct ? | 4 Yes | 7 No |
Explain about RECORDING MODE Clause
. What is the difference between the following statements : I) step#1 exec PGM=accpay ii) step#1 exec tbalance
How we can code in a jcl to execute a job in a particular time and date without using any job shudular?. (Eg) i want to execute a particular job at 8 am on 01/01/2010.
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:)
What is the DD statement for a output file?
what are the symbolic parameters? why do we use symbolic parameters ?
2 Answers IBM, TCS, UST, Xansa,
What happens if both JOBLIB and STEPLIB is specified ?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?
Can I concatenate various datasets whose organization are different from each other. Lets say I want to cancatenate a PDS file, a PS file, a GDG file etc. Can You do that ?? If yes, how ? is there any separate Utility to do so ???
Differentiate between the joblib and the steplib statements?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?