Thanks all. I was using the wrong book. (I was using MVS Planning: Operations)

Tony Thigpen

John McKown wrote on 01/03/2018 09:39 AM:
On Wed, Jan 3, 2018 at 8:28 AM, Tony Thigpen <[email protected]> wrote:

I know this seems a simple question, but I can't seem to find an answer in
the doc.

When utilizing the MPFLST00 member, what is the maximum length for the
message id? And, what characters can it contain?

https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.1.0/com.ibm.zos.v2r1.ieae200/conparm.htm

====

Statements/parameters for MPFLSTxx
msgidIdentifies a message or group of messages to be processed. The
msgid consists
of:

    - A complete message identifier of one to ten characters. This is known
    as a *specific* message identifier.
    - A message prefix, which is a portion of the message identifier,
    followed by an asterisk(*). This is known as a *generic* message
    identifier.
    - A single quotation mark (') is *not* a valid character in a message
    identifier.

A message identifier begins with the first non-blank character of the
message text and continues until the next blank

====​




I have some application programs that put out messages where the first
word on the console can be 12 to 16 characters long.


​Use the allowed maximum of 10 characters, but make the last of those be an
asterisk. This makes the msgid be a "generic" which will match _all_ msgids
which match the leading characters. You must then have the code which runs
when the match occur compare the actual, entire, msgid.​




I also have a case where the (so called) message id from the application
program contains what might be considered non-normal characters (+-$%$) and
in some cases, even a space in the middle.


​A space unconditionally terminates the msgid. So something like "ABB CDDF"
has a msgid of "ABB".​





--
Tony Thigpen

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN





----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to