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
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 |
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 |
Could you provide an example and its effect OF, Using COND on JOB and EXEC both ?
Is there GOTO and SWITCH-CASE available in JCL ? Is IF-THEN-ELSE available in JCL also just like it is available for VSAM datasets under Model Commands category ?
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 ?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
Is there a way to check for an empty file in JCL other than using IEBCOMPR and the command PRINT COUNT(1)?
difference between internal sort and external sort
How to release a JOB (from the input queue) held by TYPRUN = HOLD ? and how to see the installation default time after which a JOB will be automatically released ? How to see the list of currently HELD JOBS ?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
in step1 of a jcl,disp=(mod,delete,delete) step02 exec pgm=ccc,cond=(0,le) will step02 be executed? i)never ii)always iii) iv)... i dont remember options
List the different jcl statements that are not permitted in the procedures?
you have one jcl .in sort step 5 files are there.if out of 5 files if one file is uncataloged or not there then how will you correct your jcl so that problem does not come. you should not create this file externally.how will u overcome it.
what are the statements that are not valid to be included in an include statement?