there are 10 steps in jcl how to execute the steps from
step2 to step8 only

Answers were Sorted based on User's Feedback



there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

there are 10 steps in jcl how to execute the steps from step2 to step8 only ..

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

Post New Answer

More JCL Interview Questions

SORT card to eliminate duplicity.

1 Answers   Syntel,


Explain the function of dd name parameter with a 2 part structure; audit.report?

0 Answers  


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


What is SORT ? How do we eliminate duplicate records ? How do I select some records using SORT ?

9 Answers   GE, Xansa,


What is the use of symbol // in jcl?

0 Answers  






How do you designate a comment in JCL?

1 Answers  


What is order of searching of the libraries in a JCL?

4 Answers  


Is condition checking possible in jcl? If yes, how?

0 Answers  


What is maximum length of block size?

5 Answers   Cap Gemini, Kanbay, TCS,


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


there are 10 steps in jcl how to execute the steps from step2 to step8 only

6 Answers   EDS,


Categories