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 / shridhar
Just one correction above:
In case of failure:
STEP006 (-1)
STEP007 (0)
Is This Answer Correct ? | 6 Yes | 1 No |
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 |
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 |
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 |
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 |
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 |
how to allocate a dynamic dataset in jcl ?
How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation
What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?
I have a input file. Data like: ABCDEFGH.... i want out put file like AB BC CD DE....How can do this??
In how ways you can pass the data from Jcl to cobol ?
I have 5 steps in my jcl ,I need to execute first three steps and then 2nd step again ,4th and 5th steps if rc of 2nd step is zero
What statement marks the beginning of a job step; assigns a name to the step; identifies the program or catalogued or in-stream procedure to be executed in the step?
How is the keyword DUMMY used in JCL?
THERE IS ONE STEP AS BELOW: //STEPJS060 EXEC PGM=XYX, COND=((200,EQ,JS010),(0,NE,JS020.C),EVEN) COULD ANY ONE EXPLAIN HOW COND PARAMETER WORKS HERE? I AM CONFUSED BECOZ OF "EVEN".
What do you understand by the terms: joblib and steplib?
Explain about Internal Sort
I had Records in file Like this Company Code IBM 2 IBM 1 IBM 4 WIPRO 3 WIPRO 2 WIPRO 9 TCS 4 TCS 6 TCS 3 i want the record of every company with highest code How can i do that?