IBM i messages from a message queue or QHST will have these JSON fields:
JSON Field Names Field Descriptions
msg_id The 7-character message ID.
severity The 2-character severity code (00-99).
job_name The name of the job that generated the message.
username The user profile that job_name is running under.
pgm_name
The name of the program that issued the message. Note that for messages from the history log (QHST), the program name will not be set.
msg_type
The message type from the message queue. The possible values are:
– Completion
– Diagnostic
– Informational
– Inquiry
– Sender's Copy
08 – Request
10 – Request with prompting
14 – Notify
15 – Escape
NA – Not available
msg_text The text of the message.
queue The name of the message queue.