We have 100 steps in a procedure and we need to run the jcl
and execute only 25th step in the proc and not the
remaining steps. How can we do it?

Answer Posted / manjunath s h

use restart parameter, restart = procstep.stepname
procstep: the step of the jcl which is invoking the proc.
stepname: the step in proc where u want the execution to
start.

use null statement after the 25th step in the proc.
or
override the cond parameter of 26th step as cond=(0,LE).

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?

8672


whats the diff bw the evaluate also and and?

1852


How would you understand error(execution phase)?

624


What is jcl in mainframe?

688


how can the same proc be re-used and called by many jobs?

907






Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1969


Which dd parameters are required?

688


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

827


how you can access an uncataloged dataset in a JCL?

651


What is the use of symbol // in jcl?

920


Explain dfsort utility?

669


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

698


Explain how can the submitting users racf authority be overridden in a job stream?

670


Explain how can an in-stream dataset be terminated?

697


what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?

655