HRL help

  • Creator
    Topic
  • #49404
    Jeannette Wistrom
    Participant

      I am trying to set up an HRL using two vrl formats.  My file is as follows:

      01,,,,,,,,,,,n

      02,,,,,,,,,,,,n

      02,,,,,,,,,,,,,n

      01,,,,,,,,,,,,n

      02,,,,,,,,,,,,n

      I have defined the two vrl formats and added the global terminator as n.  I then set up the HRL.  I am getting the first record (01) and it shows the format for the second record (02), but no data in the second record.  When I try to do a repeat on the second record (02) then all I get is an empty record.  What am I doing wrong……..

    Viewing 2 reply threads
    • Author
      Replies
      • #61817
        Robert Kersemakers
        Participant

          Hi Jeannette,

          Let me give it a shot! If the vrl is defined correctly, then it should be the HRL that needs tweaking.

          You have two vrl formats: say 01.vrl en 02.vrl, each with fields named f1, f2 etc. I assume you want each HRL message to consist of one 01 record and several 02 records. Your HRL should then look like this:

          Segment 1

          Name: first

          File Name: 01.vrl

          Repeat Options: No Repeat

          Segment 2

          Name: second

          File Name: 02.vrl

          Repeat Options: Repeat While

             Field: second.f1

             Value: 02

          Hope this helps!

          Zuyderland Medisch Centrum; Heerlen/Sittard; The Netherlands

        • #61818
          Jeannette Wistrom
          Participant

            Thanks for the information.  I will try it again today and see if that works…again thanks.

          • #61819
            Jeannette Wistrom
            Participant

              The problem was a user error.  I somehow had a capital on one file name and not in my hrl…..Thanks for all the help.

          Viewing 2 reply threads
          • The forum ‘Cloverleaf’ is closed to new topics and replies.