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

How to execute 300 steps in a Job?

15 Answers   Accenture, Zensar,


How to identify in JCL that an input file is empty without reading it?

4 Answers   L&T,


How do you submit JCL via a Cobol program?

4 Answers   IBM,


How to exclude the duplicate records from two concateded flat files (records from both files must be removed)?

1 Answers  


What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?

0 Answers  


What is the significance of addrspc parameter in exec statement?

0 Answers  


how can you check if a file is empty using jcl?

0 Answers   IBM,


1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat

1 Answers   Tesco,


Explain about LMMLIST�list a library's members

1 Answers  


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

0 Answers   IBM,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  


Max. No of DD statements in a job ?

4 Answers   CSI,


Categories