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 ?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What parameter directs the output of the job log dataset?

763


How does jcl act on a cobol code?

655


how would you create a temporary dataset? And where will you use them?

764


Immediate Job opening for mainframe professionals in Keane Bangalore. Please find the below details: Organization: Keane India Location: Bangalore Skill: COBOL, JCL,VSAM,DB2,CICS,IMS,REXX,CLIST Exp: 1 to 4 years only Employment Type: Permenant Employee Note: If you have attended keane interview in past 6 months please ignore this job opening. Please respond to email id keanemfjob@gmail.com OR keanemfjob@yahoo.in with your latest resume and following details, We will contact you within 24 hours: Total IT Exp: Exp in Mainframe: Current CTC: Expected CTC: Notice Period:

3528


Name what parameter directs the output of the job log dataset?

557






hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

1661


when does a dataset go uncataloged?

826


which parameter is used to check the syntax of a jcl without executing it?

796


What is concatenating?

633


Matching Logic in Jcl not in cobol.Could any one please answer this question

3669


What is the significance of addrspc parameter in the exec statement?

616


what is use of dcb parameter in dd statement?

769


What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?

811


how to compare two datasets without using superce because output is limited to 133 bytes

1477


A chkpt is the parameter coded for multi-volume qsam datasets in a dd statement. When a chkpt is coded as chkpt=eov, a checkpoint is written to the dataset specified in the sysckeov statement at the end of each volume of the input/output multi-volume dataset. State whether true or false?

732