Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


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 / sivakumar sekharannair

In the question it says that in step 4 and 5 a new
generation is created. so
Step 4 output: XX17.PRASAD.OUT1(+1) This step can be
referred as in Step6.
so step 6 will refer this file as XX17.PRASAD.OUT1(+1)
generation only. because (+1) will become current version
(0) only after the execution of the entire job.
Similarly
Step 5 output: XX17.PRASAD.OUT2(+1)
so step 7 will refer this file as XX17.PRASAD.OUT2(+1).
If the job abends in step 6. the files created in step 4
and 5 will become current version (0).
so now the 7th step will refer the output of step 5 as (0)
i.e.XX17.PRASAD.OUT2(0).

Note:
I assume the files created by step4 and step5 are different.

Is This Answer Correct ?    8 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

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 ?    1 Yes 0 No

Post New Answer

More JCL Interview Questions

How to execute step2,step1,step3 when step1,2&3 are in order

6 Answers   TCS,


what is full form of AIX

3 Answers   Accenture,


Can we use COND=EVEN on a job card, when jobs are scheduled through scheduler?

1 Answers   L&T,


common jcl abends??

2 Answers   ADP, Wipro,


how you will the direct the data to spool using sysout option?

0 Answers   IBM,






suppose i have 10 job steps and i want to execute only step 6.How to write?

6 Answers  


What type of versions we r using in mainframe (jcl, cobol, db2, vsam, cics)?

1 Answers   Accenture,


Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE

8 Answers   IBM,


What parameter of the job statement is used to limit the cpu time consumed by the job?

0 Answers  


Is it possible to take a PDS and write it to a GDG? If so, can you provide an example? Thanx

7 Answers  


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


Can you execute a PROC from another PROC?

8 Answers   Keane India Ltd,






Categories