Creating the Batch Header Segment

The batch header segment is a positional segment that contains the Sender ID and Receiver ID. Each file can have only one batch header segment.

Note: For inbound transmissions, you must map the Batch Number field in the batch header. This is necessary because you must use the same value in the Batch Response Header segment.

Use this procedure to create the batch header segment in the NCPDP side of a map.

  1. Right-click the NCPDP file icon and select Create Sub > Positional Segment.

    The system displays the NCPDP Positional Segment Properties Dialog Box.

  2. On the Name tab, type the segment name.
  3. Type a description of the segment and click OK to save your changes.
  4. On the Tag tab, do the following:
    • Type 00 in the Transaction Code box. This is the segment identification code for a batch header.
    • Type 0 (the default value) in the Position box. This is the position of the segment identifier within the segment.
    • Select This is a batch segment.
    Important: You must define the tag for an Input segment.
  5. Click OK to save your changes.