suppose i have job it contains 10 steps after exicution of
job failuer at 3 and 7 th steps i want exicute step 3 and
step 7 only how we specify condition ?

Answers were Sorted based on User's Feedback



suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / amy

IN THIS JCL YOUR JOB IS SUBMITTED BY DIFFERENT JCL AND ONLY
REQUIRED STEPS WILL BE EXECUTED.


//testjob JOB (MVSQuest),'IEBEDIT TEST',
// CLASS=B,MSGCLASS=X,NOTIFY=V665235,REGION=28M
//*
//SUBMIT EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=your.JCL(member),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
EDIT START=your-job-name,TYPE=INCLUDE,STEPNAME=
(STEP0003,STEP0007)
//*

In the above JCL, MEMBER is the 10 steps JCL. testjob is
the job-name of this JCL.
If TYPE is exclude, then the mentioned steps will not be
copied/submitted.


PLEASE LET ME KNOW IF I AM WRONG!!!

Is This Answer Correct ?    5 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mmreddy

we can use if then condion u can executeit.

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / ravi

in job for all other steps excluding 3rd and 7th steps give
this condition code as below

COND.Step1=(99,NE),
COND.Step2=(99,NE),
COND.Step4=(99,NE),
COND.Step5=(99,NE),
COND.Step6=(99,NE),
COND.Step8=(99,NE),
COND.Step9=(99,NE),
COND.Step10=(99,NE)

or we can use IF then condition condtions also

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mr . perfect

i have one questiion here man.. if step 3 is get abended ,
then how step 4 , step 5 , step 6 is going o excute till
step 7. dont ask foolishly question man...........?
Intervier is having mad...?

Is This Answer Correct ?    0 Yes 0 No

suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want ..

Answer / mohan.chepuri

restart=step3
restart=step7
these two jobs wil executed only

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More JCL Interview Questions

WHAT IS DUMMY IN JCL? HOW TO USE IT? CAN ANYBODY SEND PROGRAM ON THIS?

3 Answers  


if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


Definition of COND parameter in JCL

5 Answers   TCS,


Mention the types of job control statements?

0 Answers  


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,






how to split a file

4 Answers   IBM,


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

0 Answers  


How much space OS allocates when you create a PS or PDS?

4 Answers  


Explain about LMOPEN -

1 Answers  


How do you find which GDG is using which dataset?

3 Answers   Patni,


Write a JCL by using the below requirement: File1 =1, File2 =11 and output needs to come as File3 =111?

8 Answers   Saggezza,


in ways data can be passed to a COBOL program from JCL?

0 Answers  


Categories