This is a short preview of a Knowledge Base article. The full article is available to logged-in Continuous Community members.
Summary
Explains the Messages function for IBM i jobs, which detects a defined message returned by a job and then takes an action such as sending a reply or raising an OpCon event. A worked example handles a job that stops waiting for a reply because a save file already contains data. The article covers defining the message on the OpCon job, setting up the message queue to monitor on the LSAM side, starting Message Management, and reviewing the message log to confirm what reply was sent.
Applies to
OpCon IBM i jobs ยท IBM i LSAM Message Management
Topics covered
- Defining a message ID, text match, action and reply on the OpCon job
- Adding a message queue to monitor in the LSAM
- Starting and checking Message Management
- Reading the Message Management log
Keywords
IBM i job messages, MSGW, message ID, CPA4067, message queue, MSGQ, Message Management, Reply action, save file, SAVF, LSAM message monitoring, job waiting for reply
