Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


I have a JCL with 10 steps, want to execute first 5 steps
only, what are ways of doing it?is it possible to control
through JOB card?

Answers were Sorted based on User's Feedback



I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / pankaj

The easiest way to put // in job after step 5. Now it will
execute only first 5 steps.

Is This Answer Correct ?    18 Yes 1 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / vidya

From 5th to 10th step, give COND parameter. Give the
condition as COND=(0,LE). As 0 is always less than or equal
to the return code of executing step it will bypass.

Is This Answer Correct ?    14 Yes 2 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / kaarthik

USE IEBEDIT utility to just execute the steps you want to
execute in it.

Is This Answer Correct ?    4 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / zos13

One more Answer:

If you are good with IDCAMS, then in step5 or (add 1 more step
With name step5r after step 5 and before step6) supply

//step5r exec pgm=IDCAMS
//sysin dd *

SET MAXCC = 16
/*
in Job card, use : COND=(16,EQ).

It will execute till step5 successfully, at step5r it will acquire MAXCC=16, Condition in JOB card is true, all steps will be bypassed after5.
**If you can't create new STEP5r, then please use SYSIN DD * in step5, it is same thing*****

You may also use RC in place of MAXCC.

Please reply here if it works for you or at: thespider390@hotmail.com

Is This Answer Correct ?    0 Yes 0 No

I have a JCL with 10 steps, want to execute first 5 steps only, what are ways of doing it?is it po..

Answer / laxman

//SYSIN DD *
SORT FIELDS=COPY,
STOPAFT=5
/*

Is This Answer Correct ?    0 Yes 5 No

Post New Answer

More JCL Interview Questions

Can we delete the data using IEFBR14 , IEBGENER??

5 Answers   Kanbay,


how can we pass parameters from JCL to cobol subprogram...my requirement is i should not get data from mainprogram but i need it from JCL directly

5 Answers   IBM, TCS,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

4 Answers  


Suppose I have five jobs to do. But I want to hold one?

0 Answers  


In your JCL, run the even numbered steps if date is even and run odd numbered steps if date is odd . Where do you generate the date ??in cobol or JCL ??

2 Answers   CSC,


How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?

0 Answers   IBM,


What is the difference between primary and secondary allocations for a dataset?

8 Answers  


what is the sortcard for comparing two files with a field key and get the duplicates in onefile and noduplicates in another file

3 Answers   Virtusa,


List in order the hierarchical levels of jcl?

0 Answers  


What 3 guidelines do we have to follow when concatenating DD statements?

3 Answers  


how you can direct the data to spool using SYSOUT option?

0 Answers  


What do you understand by the term notcat 2 – gs?

0 Answers  


Categories