ARF for job failed with non-zero CC



Unicenter CA-7 Job Management: CA's workload automation tool for managing, visualizing, automating, optimizing applications

ARF for job failed with non-zero CC

Postby regina » Fri Feb 19, 2010 10:26 pm

Hi,

I need to create an ARF for job failed with non-zero CC, S0C1 or S0C4; another job (RSEMAIL1) must be demanded right away.
Below is how I coded ARF for for non-zero cond code, it works.
What should be added for S0C1, S0C4?

Thank you for your help


JC, SC TST: STEP EQ * PROC EQ * PGM EQ *
CC/ABENDS : CC NE 0000 /_ USR EQ 0000__ CC NE 0000 __
??? GE 000 __ ??? GE 000__ ??? GE 000
EC, EE, IS, LB, LE, LS TST:
RO: DATE: TIME: AO: I
RESPONSES:
1: AC,M=DEMAND,JOB=RSEMAIL1
regina
 
Posts: 17
Joined: Wed Nov 04, 2009 11:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ARF

Postby dick scherrer » Sat Feb 20, 2010 12:16 am

Hello,

You might add a new step to the job that specifies COND=ONLY.

This new step would submit the RSEMAIL1 job thru the internal reader. I suspect that an 0c7 or b37 or whatever should also cause the email job to execute.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ARF

Postby regina » Sat Feb 20, 2010 1:27 am

THANK YOU!
regina
 
Posts: 17
Joined: Wed Nov 04, 2009 11:48 pm
Has thanked: 0 time
Been thanked: 0 time

Re: ARF

Postby dick scherrer » Sat Feb 20, 2010 1:57 am

You're welcome-good luck :)

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: ARF for job failed with non-zero CC

Postby regina » Mon Feb 22, 2010 10:50 pm

Despite of good sugestion to add a new step to the job that specifies COND=ONLY,
I would like to share for those who prefers not to mess up with user's production JCL or not authorized to change it.
For them using an ARF is the best option.

The following works for both CC and System Code failure

JC, SC TST: STEP EQ * PROC EQ * PGM EQ *
CC/ABENDS : CC NE 0000 /_ CC NE 0000 /_ CC NE 0000 /_
SYS NE 000 /_ SYS GE 000 /_ SYS NE 000
EC, EE, IS, LB, LE, LS TST:
RO: DATE: TIME: AO: I
RESPONSES:
1: AC,M=DEMAND,JOB=RSEMAIL1
regina
 
Posts: 17
Joined: Wed Nov 04, 2009 11:48 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CA-7