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

Name what parameter directs the output of the job log dataset?

0 Answers  


Where & How Do You Code Identifier In Jcl?

0 Answers   IBM,


i want to see the jobs in skeleton queue in diff region. (eg. 7 regions are running means , i want to see all the jobs in 7 regions which are in skel queue using 1 command)

1 Answers  


What do you understand by the terms: joblib and steplib?

0 Answers  


What parameters can be used to limit the number of records written to a sysout dataset?

0 Answers  






i want to avoid the positional parameter how to code it ?

3 Answers   TCS,


//{name} INCLUDE MEMBER=memname {comments} in the include statement, what actually happens when its executed? The membername conatains a list of valid JCL statements, so will the include statement be substituted by these statements and how can we mention the pds that conatains the member? How does the include group differ from a PROC? how is include statement connected to JOBLIB and STEPLIB?

2 Answers   CCS, CTS,


How to find the number of duplicates in a file using Sort?

4 Answers   Fidelity,


db2 maintains information about the data... a.in tables. b.in a set of tables known as db2 catalog. c.in db2 database. d.none of the above. 1 What is the maximum number of tables that can be stored on a Partitioned Table Space ? 1 what is contained in the DB2 node lock file? A) data base names B) data base users names C) license keys D) server names Accenture 5 Can a primary key have null values? If we try to insert a null value in a primary key column, will it work or give an error code? 6 When you are working with the project after coding what will u do? Like what type of documents u will prepare? How will u do testing? 2 how to delete perticular row from table for ex. how you will delete 3rd row from table please answer THANKS IN ADVANCE IBM 7 max number of columns in a db2 table? 6 What is package versioning? Please give an example. 1 What is the picture clause of the null indicator variable? 6 How do you filter out the rows retrieved from a Db2 table ? 1 What is DB2 (IBM Database 2)? 3 Can any one tell me about Restart logic in DB2.

2 Answers   Cap Gemini,


Explain about REXX

1 Answers  


There are 2 steps in a JCL. If the first step abends due to system or user abend and the second step has COND specified as EVEN or ONLY, will this step still be executed inspite of the abend in the previous step?

2 Answers  


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

8 Answers  


Categories