VRL output with "|" delimiter

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf VRL output with "|" delimiter

  • Creator
    Topic
  • #52324
    Tim Pashon
    Participant

      This may be an easy one.  I’m creating a variable length file and want to use a pipe character, “|”, as a delimiter.  I’ve created the file and have tested and have the comma delimeter without problems.  How do I get my |?

      Also, is there any way to output the field names as a header line?

    Viewing 2 reply threads
    • Author
      Replies
      • #73813
        Levy Lazarre
        Participant

          Tim,

          To change the delimiter, open your VRL file in the GUI editor (Vrl Configurator).

          Then on the IDE menu bar, select OPTIONS —> Global Properties. This will present you with a dialogue allowing you to change the field separator from the default (comma) to a pipe. You usually should do this before defining your fields.

        • #73814
          Tim Pashon
          Participant

            I knew it had to be something pretty simple that I just wasn’t finding.

            Thank you!

          • #73815
            Levy Lazarre
            Participant

              The VRL is just a template.

              In order to output the field names as a header line, you could hard copy the field names to the first iteration in your Xlate, for example

              COPY =LASTNAME  —-> vrl field for last name

              COPY =FIRSTNAME


              >vrl field for first name

              Then you can start the regular iteration to output the data values.

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