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

Document ID : KB000088108
Last Modified Date : 14/04/2018
Show Technical Document Details
Error Message :

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).

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:
However, it should show EH_RemoteStatus = 2006018:


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.

OS: IBM AS/400
Cause type:
Root Cause: The EH_RemoteStatus value for OS/400 jobs in a MSGW status aren't set correctly.
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 :