A job has 90 steps i want to execute only step7 and step15

Answer Posted / praveen bejjanki

In the jobcard, Give restart=step7, code cond=(0,le) from
step8 - step14, Give a null stmt(//) after step15. That's
it your requirement is met.

Simplest way:
There is an utility IEBEDIT which is used to execute only
few particular steps from 'n' steps in a jcl.

//JOBCARD
//STEPNAME EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=MYPRGM.DSN,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE STEPNAME=(STEP7,STEP15)
/*
//

MYPRGM.DSN = The name of the dataset that has the actual
JCL.

Suggestions are kindly accepted.
Do correct me if i'm wrong.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

831


what is DSN parameter and DISP parameter is used for?

676


How to read and write a single record into a file. I would like to use it to enter a single 8-character piece of information and use it to put it into a variable for processing in JCL. Thank you

605


what is DSN in JCL and what are the parameters to declare the DSN?

718


How to pass data to a program that is coded in an exec statement?

827






How can the disposition of sysout datasets be set for an entire jobstream?

840


How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?

7600


What is the function of job statement in jcl?

636


what is JCL?

698


Can an individual step be restricted from using all the jobs allowed cpu time?

1009


How do you access an uncatalogued dataset in a jcl?

727


Is their any limit for data sets?

704


Explain about LMFREE�free data set from its association with data ID

1006


What is 'mounting' of volumes ? Is there anything that a programmer can do in it ? How to find currently mounted volume ?

1996


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

1931