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

hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


What is the function of a dd statement?

0 Answers  


We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?

9 Answers   CSC, IBM,


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


How to ALTER the name of a GDG ?

2 Answers   IBM,


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

0 Answers  


Which is the most widely used batch performance monitor for DB2?

2 Answers  


How to Enter The Spool Area In Real Time?

7 Answers   IBM,


what is the control cards?

3 Answers  


The maximum number of in-stream procedure you can code in any JCL is ?

5 Answers  


I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.

0 Answers  


Categories