View previous topic :: View next topic
|
Author |
Message |
MALLIKARJUN.KUMMITHA Warnings : 1 New User
Joined: 25 Oct 2007 Posts: 7 Location: india
|
|
|
|
HAI,
PLS GIVE ME REPLY I HAVE 3 STEPS
IF STEP1 RETURN CODE =00(SUCCESSFULLY) EXECUTE STEPEP3
ELSE
STEP1 RETRUN CODE NOTE EQULAL TO 00(UNSUCCESSFULLY) EXECUTE STEP2
STEP1
STEP2
STEP3
STEP1,COND=(04,LE,STEP3)
STEP2,COND=ONLY
STEP3
IS IT CORRECT PLS SOME ONE GUIDE ME IF IT'S WRONG? |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
1) DO NOT post in all upper case. This is deemed as being rude !
2) Click the "IBM Manuals" button at the top of the page and find the z/OS JCL reference manual.
3) Read the relevant section and feel free to come back and discuss any problems you then have. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1742 Location: Tirupur, India
|
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
@MALLIKARJUN.KUMMITHA
Morning Sir !
Please read about the IF statement in Job Control Language.
So you don't need thesse unreadable COND terms any more. |
|
Back to top |
|
|
seagull
New User
Joined: 28 May 2007 Posts: 24 Location: Dublin
|
|
|
|
UmeySan wrote: |
@MALLIKARJUN.KUMMITHA
Morning Sir !
Please read about the IF statement in Job Control Language.
So you don't need thesse unreadable COND terms any more. |
Have you ever tried to restart a job that's gone down in a step that's in an IF statement? I would suggest you learn to read COND statements so that you can control your jobs more accurately, and restart them. |
|
Back to top |
|
|
UmeySan
Active Member
Joined: 22 Aug 2006 Posts: 771 Location: Germany
|
|
|
|
@ seagull
Laa maith agat !
No, never did this and hope never will do this.
I use OPC with DBRC and automatic restart-feature.
I think in 2010 every reasonable shop has a sheduling system to start and manage there batch-jcl.
But Sir, your right, it does no harm to read about older techniques to knew how to handle them in case of doubt.
But i also wanted the OP to read about new techniques and not to copy anything.
Restart was not mentioned in his question.
Beannachd leat! |
|
Back to top |
|
|
|