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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is there any command to check wether the ps file is in sorted order?

2433


What is the function of //jcllib statement?

810


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

1616


how to do automated restart when a job abends?

854


what is DSN in JCL and what are the parameters to declare the DSN?

720






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.

1733


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

912


How do you access an uncatalogued dataset in a jcl?

729


What statement can be used to send data to another mvs jes3 node?

826


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

612


Give the syntax of job specifying jcl statement.

640


Explain how can a jobs execution priority be modified?

742


what is a jcl?

689


What is concatenating?

637


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2221