OPS/MVS Confusion on Multi-Line Messages
search cancel

OPS/MVS Confusion on Multi-Line Messages

book

Article ID: 263675

calendar_today

Updated On:

Products

OPS/MVS Event Management & Automation

Issue/Introduction

Is there a field I can examine in the OPSLOG to ascertain whether a message is multi-line or not or are all messages that extend onto more than one line considered multi-line in OPS?   

 

Environment

Release : 14.0

Resolution

There are some variables that indicate if a message is an MLWTO or a single-line WTO. You can inspect these variables in your rules:


MSG.MULTILN
A value indicating whether the current message is a part of a multiline message (MLWTO).
Data Type
Character, read-only
Values
0 Not part of a multiline message.
1 Part of a multiline message.

MSG.SINGLELN
A value indicating whether the current message is a single-line message.
Data Type
Character, read-only
Values
0 Not a single-line message.
1 A single-line message.

You can use a rule without the MLWTO keyword to intercept MLTWO messages. In this case, the rule will trigger for each line of the message as if it was a single-line message.