Remote Status in Activity Window does not display correctly instead remains empty for OS/400 Jobs
search cancel

Remote Status in Activity Window does not display correctly instead remains empty for OS/400 Jobs

book

Article ID: 88108

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine

Issue/Introduction

Error Message :
N/A

Remote Status value in the Activity Window for OS/400 Jobs does not display correctly, instead it remains empty.

The Remote Status column in the Activities Window shows the status of a task within the target system, if available. It remains empty if no remote status is available.

For OS/400 jobs an available remote status can be “message wait” (MSGW).

<Please see attached file for image>

0EMb0000001UhwP.png

Even if a jobs is in a message wait status on OS/400, the remote status within the Activity Window or Process Monitoring Perspective doesn’t show it correctly.

The documentation (Agent - Interaction Between the Automation Engine and OS/400) advises:
 
Remote Status Capturing and Tracking
If you have OS/400 version IBM i 6.1 or above, you may use the following SQL statement examples to check, if any OS/400 jobs have the status MSGW (= waiting for messages):
List all jobs in MSGW status:
select count(*) from EH where EH_RemoteStatus = 2006018 AND EH_Client = &$CLIENT#
 
Due to a bug, jobs in a MSGW status show EH_RemoteStatus = 1:

<Please see attached file for image>

0EMb0000001UhwU.png
 
However, it should show EH_RemoteStatus = 2006018:

<Please see attached file for image>

0EMb0000001UhwZ.png

Investigation

This behavior can be reproduced by running any OS/400 Job that willl bo into an MSGW status. Once the job reaches MSGW status on the OS/400 check the Job, look up the job in the Process Monitoring Perspective / Activity Window or check the EH_RemoteStatus within the EH database table.

 
 
 

Environment

OS: IBM AS/400

Cause

Cause type:
Defect
Root Cause: The EH_RemoteStatus value for OS/400 jobs in a MSGW status aren't set correctly.

Resolution

Update to a fix version listed below or a newer version if available.

Fix Status: Released

Fix Version(s):
Component(s): Agent AS400

Automation Engine 12.0.0 - Available
Automation Engine 11.2.1 - Available
Automation Engine 10.0.7 - Available

Additional Information

Workaround :
N/A

Attachments

1558692498394000088108_sktwi1f5rjvs16lq8.png get_app
1558692496552000088108_sktwi1f5rjvs16lq7.png get_app
1558692493736000088108_sktwi1f5rjvs16lq6.png get_app