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 in which 4 & 5 step creates a new generation.
4th step output is as input for the 6th step & 5th step
output is used as input in the 7th step. How they are
refered as in the 6th & 7th steps?
If the job abends in 6th step then how the 5th step output
is refered in 7th step?

Answers were Sorted based on User's Feedback



i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / shridhar

Just one correction above:

In case of failure:

STEP006 (-1)
STEP007 (0)

Is This Answer Correct ?    6 Yes 1 No

i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / vijay reddy

STEP004 (+1)
STEP005 (+2)

STEP006 (+1)
STEP007 (+2)

if the Job ABENDS, Restart the Job from 6th Step & refer
GDG Versions like

STEP006 (-1)
STEP007 (0)

Is This Answer Correct ?    4 Yes 0 No

i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / nimsatprasad

Ref:

Ex:

Step 4 output: XX17.PRASAD.OUT(+4) This step can be
referred as in Step6.

Step 5 output: XX17.PRASAD.OUT(+5) This step can be
referred as in Step7.

If the Job bends in 6the step so already 5th step has been
processed successfully. So we can restart from the step6
then we can refer the 5th step output to 7th step input as
current version.

After abend:

Step 5 output: XX17.PRASAD.OUT(+5) This step can be
referred as XX17.PRASAD.OUT(0) in Step7 after abends the
job.

**** Please let me know if it is wrong

Is This Answer Correct ?    5 Yes 2 No

i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / suputhru

4 & 5 step creates a new generation
STEP004 (+1) o/p----- STEP006 (+1)
STEP005 (+2) o/p----- STEP007 (+2)

STEP006 (+1)
STEP007 (+2)

if the Job ABENDS, it means 4th 5th steps executed suceesfully.
STEP004 (-1) o/p-------------------- STEP006
STEP005 (0) o/p-------------------- STEP007

Restart the Job from 6th Step & refer GDG Versions like

STEP006 (-1)
STEP007 (0)

Is This Answer Correct ?    2 Yes 0 No

i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / shridhar

STEP004 (+1)
STEP005 (+2)

STEP006 (+1)
STEP007 (+2)

In case of failure:

STEP006 (0)
STEP007 (+1)

Is This Answer Correct ?    2 Yes 3 No

i have a jcl in which 4 & 5 step creates a new generation. 4th step output is as input for the ..

Answer / hi

check this out:

//JOB123 JOB (TEST,DATA).....
//..
//..
//STEP4 EXEC PGM=IEFBR14,
//OUT4 DD DSN=OUT.STEP4(+1),...
//..
//STEP5 EXEC PGM=IEFBR14,
//OUT5 DD DSN=OUT.STEP5(+1),...
//..
//STEP6 EXEC PGM=IKJEFT01,COND=(0,GT,STEP4)
//IN5 DD DSN OUT.STEP4(+1),DISP=SHR,
//..
//STEP7 EXEC PGM=IKJEFT01,COND=(0,GT,STEP5)
//IN5 DD DSN OUT.STEP5(+1),DISP=SHR,
//..


COND=(0,GT,STEP4) in STEP6 will bypass the step6 if RC of
step4 is greater than 0. But step 7 will be executed
irrespective of the success of the step4 provided step5 is
successful...

is it clear??

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More JCL Interview Questions

what are the technical terms for // /* in jcl

3 Answers   Cap Gemini,


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


How to execute a set of JCL statements from a COBOL program ?

6 Answers  


How to execute 2nd and 4th steps among 5 steps in jcl proc?

0 Answers  


What is the meaning of data definition name (ddname) and dataset name (dsname) in the DD statement?

2 Answers  


in job stmt i coded time=(2,30) and in step 1 i coded time=(1,30) and in step i coded time=(1,30), whch one executes first and what happens if step1 and step2 time executes and wht about the remaining time if step and step2 executes

4 Answers  


have in 100 records in a file i want to read first 3 records and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records... run a loop from record one to 10 evaluate i/3 if comes even then skip else write to output file

0 Answers  


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


How to execute step2,step5,step7 of a proc of 10 steps? You are not allowed to change in JCL.

3 Answers   IBM,


How many extents are possible for a sequential file ? For a VSAM file ?

3 Answers  


i have five step in jcl.my forth step is gdg.gdg was abend.when will job complete,hoe to handle you

3 Answers   L&T, Wipro,


how to resolve sb37,sd37 se37 abends

3 Answers   Keane India Ltd,


Categories