Tivoli TWS and Abended job



Ask queries about other IBM Tools like Tivoli, COBTEST, Fault Analyzer, z/OS File Manager, Workload Simulator, APA, SCLM, Merge & Migration Tools etc...

Tivoli TWS and Abended job

Postby samb01 » Mon Aug 01, 2016 2:01 pm

Hello,

is it possible to complete automaticly a job when this job is abended ?

For example, my job is avebded because a step had a RC=U3000

I would like this job was set to the status "complete" when there is an abend. We don't want to see it in the "Error Running".

Thank's for your help.
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Tivoli TWS and Abended job

Postby Aki88 » Mon Aug 01, 2016 3:04 pm

Hello,

IIRC, a user can set the error tracking option to 'no' in TWS which basically tells TWS to ignore job errors if any.
A quick search returned this. Hope this is what you're looking for.

A word of caution though, you'd really want to check with your site-support/owners-of-the-job-in-question on, whether the said approach is fine; these stop mechanisms are designed as additional fail-safe knowing that programmers can err, removing one can open up a can-of-worms.
Aki88
 
Posts: 381
Joined: Tue Jan 28, 2014 1:52 pm
Has thanked: 33 times
Been thanked: 36 times

Re: Tivoli TWS and Abended job

Postby Blackthorn » Fri Aug 05, 2016 8:27 pm

Setting error tracking to N will result in the job completing "successfully" for any failure.

It sounds perhaps as though the TS only wants this to happen for a U3000 abend. In this case you need to use the NOERROR parm on the JTOPTS initialisation statement. This will allow you to specify that a particular return code in a particular step of a particular job should be treated as acceptable.
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times

Re: Tivoli TWS and Abended job

Postby samb01 » Sat Aug 06, 2016 2:56 am

Hello, thank's blackthorn for your help. It's really usefull to know it. Have you an example to Update the NOERROR parameters please ?
samb01
 
Posts: 431
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: Tivoli TWS and Abended job

Postby Blackthorn » Mon Aug 08, 2016 2:34 pm

Unfortunately not, I'm not currently working with TWS. But it's well documented in the manuals.
Blackthorn
 
Posts: 130
Joined: Tue Feb 01, 2011 7:12 pm
Has thanked: 1 time
Been thanked: 9 times


Return to Other IBM Tools

 


  • Related topics
    Replies
    Views
    Last post