z-centric jobs and dynamic jobs return error 126 on AIX

Technote (troubleshooting)


This document applies only to the following language version(s):

English

Problem(Abstract)

Only on AIX machine when there are a lot of jobs that running in the same time, some jobs go in error with return code 126

Symptom

You can see in the output of the jobs the message:

0403-015 Cannot access a required executable file. It is in use.

and the job status is ABEND


Cause

The root cause is some bug in AIX system, the AIX support in working to found a solution. Basically what happen is the file create by JobManager like in this example:


/var/tws/twzxxa2/TWS/stdlist/JM/2012.11.06/G7YC-D1IET38-XXA2-CA6EB3DF82943495-237-CA6EB3DFFEAB5916/script.sh

has not been closed by AIX operating system even if the JobManager successfully call the close() function. This behaviour is affect AIX 6.1, but not AIX 5.3.

Environment

AIX

Resolving the problem

As local workaround customer need to modify the taskLauncher.sh script as attach in this documents. The new script basically copy the script.sh file in an other file and exec it.


The new taskLauncher.sh is attached here

taskLauncher.sh
taskLauncher.shtaskLauncher.sh


Cross reference information
Segment Product Component Platform Version Edition
Systems and Asset Management Tivoli Workload Scheduler Not Applicable AIX 8.5.1, 8.6

Rate this page:

(0 users)Average rating

Document information


More support for:

Tivoli Workload Scheduler

Software version:

8.5.1, 8.6

Operating system(s):

AIX

Reference #:

1632691

Modified date:

2014-03-05

Translate my page

Machine Translation

Content navigation