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:
InvestigationThis 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.