View previous topic :: View next topic
|
Author |
Message |
krunalbafna Warnings : 1 Active User
Joined: 18 Jan 2010 Posts: 143 Location: Pune
|
|
|
|
Hi,
My job is getting JCL error.
Can is use IF ELSE verb to check if job had JCL error and send the respective email.
Like for abend we have:
IF ABEND
of IF RUN (IF previous step went fine) Is it possible to check for JCL error on whole JOb or any specific step.
Regards,
Krunal Bafna |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
NO,
A JCL error terminates the job immediately with no option of further conditional processing. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
if job gets a jcl error, nothing after that will run rip ! |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi,
NOOOOOOOOOOOOOOOOOOOOOOOOOO
Gerry |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Properly implemented Production jobs should "never" experience a JCL error. If this ever does happen, the implementation needs to be corrected - NOT dealt with "on the fly". |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
JCL-error and abend are two different animals so you should not be mixing them.
Quote: |
IF RUN (IF previous step went fine) |
If you want to check this, checking for the RC from the respective step should do what you are asking for, no? |
|
Back to top |
|
|
gcicchet
Senior Member
Joined: 28 Jul 2006 Posts: 1702 Location: Australia
|
|
|
|
Hi Anuj,
the problem here is the OP wants to be able to handle a JCL error.
As already mentioned above, there is no way to track this via an IF statement in the JCL.
A scheduling tool can handle this.
Gerry |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Hi Gerry,
Looks like I've totally misunderstood what OP might be looking for. I'll walk slowly now.
Regards, |
|
Back to top |
|
|
|