Defining the message

Use the Definition of Message pane to modify existing or define new messages. Modify a message layout by editing, deleting, or adding new segments to the message definition.

New segments can be added at any location in the message, but not before the Header (H) or after the Tail (L). Segments added before the "H" or after the "L" receive an error when using the HPRIM Test tool. This is located at File > Test, or by clicking Testing Tool.

To modify and define a message:

  1. Click the message name in the Defined Messages pane. The selected message’s segments display in the Definition of the Selected Message pane.
  2. Designate where to place the new segments by clicking the Add/Paste New Segments arrow and making a selection.
    For example, to add a segment after or before a particular segment on the list, first click the segment where the insertion is located. Then, click After Selected Segment(s) or Before Selected Segment(s).
  3. Click the Add tool that is located below the Definition list.
    Use this dialog box to select new segments. Click List and double-click the segment to add.
  4. If necessary, then use the editing tools by clicking the appropriate tool that is located below the Definition of the Selected Message pane.
    To modify existing segments:
    • For a single segment, click the segment to highlight it.
    • For a group of segments, click the first segment in the group and then shift-click the last segment. This selects the entire group.
  5. Specify if the message’s segments are optional or repeating.
    • Optional specifies the segment’s inclusion is optional.
    • Repeats specifies the segment is repeating.