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

what is the difference between static call and dynamic call?

1 Answers  


How to send data from cobol program to jcl?

2 Answers   CSC,


Is their any limit for data sets?

0 Answers  


if we give two job cards in a single what happens

3 Answers   IBM,


What does the keyword DCB mean and what are some of the keywords associated with it?

3 Answers   ITC Infotech,






I've one sequential file, That file contains millians of Junk & CHAR recoreds example File 1 ,,,,,...,,,.....,.,.INFOSYS.....,,,,,,,,,,,WIPRO..........., ,...,..,. My questions is : I want omit the 44th posstion to 4 CHAR (WIPRO) remaining things I want output file (including Junk CHAR also)... How can we slove this problem & give me a syntax. Please provide the result as soon as possible.

5 Answers   CTS,


Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?

8 Answers  


What is a COND parameter in JCL?

10 Answers   TCS,


how can i use the parameters decalred in main pgm in sub pgm

2 Answers   TCS,


When output dataset space is required, what quantity categories are used?

0 Answers  


What will happen when we try to pass data from JCL to COBOL using PARM parameter without declaring the length field in Linkage Section?

2 Answers   IBM,


I have GDG defined e.g. GDG.smaplegdg.base, after processing the GDG. it contains some records and which is input to the second step2. How can I use GDG to use it as input file at step2.

3 Answers   Wipro,


Categories