How to execute only th 15th step of JCL consisting of 50 steps?

Answer Posted / muttaiah

There are 3 ways to achieve the above task.
1) Using restart & Cond:
Code restart=step15,cond=(0,le)
2) using restart & Null stmt
restart=step15, Code a null stmt(//) after step15.
3) Using Iebedit
//jobcard
//stepname exec pgm=iebedit
//sysut1 dd dsn=actual pds/ps that has the jcl
//sysut2 dd sysout=(*,intrdr)
//sysin dd *
edit type=include,stepname=step15
/*

Using option 1 & 2 will require the jcl to be copied to ur
personal pds and edit the jcl and pass it on to Operation
team to restart the job with the override pds

using option3 we can directly send this jcl to run without
editing the actual jcl
best way would be create a iebedit jcl in ur program
whenever the job needs to run for particular steps change
the iebedit jcl and send it to the team who will run the job

Hope this will give complete idea regarding restarting a
job.
Corrections are heartily welcomed.

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

1936


Explain the function of job statement in jcl?

636


//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

898


Explain dd statement in jcl?

631


Is automatic restart possible in jcl?

723






What is the purpose of dd dummy statement?

936


Explain the hierarchy levels in jcl?

1111


How can a jobs execution priority be modified?

788


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

599


List the various advantages of using jcl language?

839


what happens in conversion stage in job processing?

721


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

776


what is the purpose of coding notify parameter in job statement?

678


what EXEC statement is and what is the syntax of EXEC statement used in JCL?

623


When The Define Jcl Is Not Available, How Can You Get Information About A Vsam File's Organisation ?

738