Automic Workload Automation

  • 1.  Multi-line messages

    Posted Jan 31, 2018 10:13 AM

    While working on my AE tracing workflow, I noticed that the messages indicating a change in the trace settings (e.g., U04005862 & U00011814) include an embedded newline character when they appear in message boxes and logs.

    Information: U04005862 Settings for Server 'UC4_DEV' have been changed.
    * Modifications are valid until the next restart. *
    2018-01-31 16:29:53 - U00011814 Settings successfully changed.
    * Modifications are valid until the next restart. *

    Looking in the uc.msl file, I see that this newline is represented by a backslash (\) character.

    04005862EISettings for Server '&01' have been changed. \* Modifications are valid until the next restart. *

    There are quite a few messages that contain a backslash.

    $ awk -F '' '$9 == "E"' uc.msl | grep '\\' | wc -l
    346

    Are such messages treated as single lines by PREP_PROCESS_REPORT? If not, is there a way around this? When multi-line messages appear in logs, if they are treated as multiple lines, this can really complicate parsing.