Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: Word-wrap at 'Add Ending line to file'

  1. #1
    Join Date
    Jul 2007
    Posts
    18

    Default Word-wrap at 'Add Ending line to file'

    I need a loop for writing a text file. After each step of the loop, i want to add a '~'.
    Solving this problem over the option 'Addi Ending line to file' works fine, but the next loop-set begins in the same row as the '~'. I need a extra word-wrap.

    Or any other ways to solve the problem?

  2. #2
    Join Date
    May 2006
    Posts
    4,882

    Default

    No idea what you mean... can you give an example of what a file should look like afterwards.

    Regards,
    Sven

  3. #3
    Join Date
    Jul 2007
    Posts
    18

    Default

    This is what i still have

    <Line1 of Loop 1>
    <Line2 of Loop 1>
    <Line3 of Loop 1>
    ~<Line1 of Loop 2>
    <Line2 of Loop 2>
    <Line3 of Loop 2>
    <Linen of Loop 2>

    And this is what i want


    <Line1 of Loop 1>
    <Line2 of Loop 1>
    <Line3 of Loop 1>
    ~
    <Line1 of Loop 2>
    <Line2 of Loop 2>
    <Line3 of Loop 2>
    <Linen of Loop 2>

    After the '~' i need a word-wrap ...

  4. #4
    Join Date
    Jul 2007
    Posts
    18

    Default

    Problem solved by adding a 'Blocking Step' after Text Output. Then genarting a dummy-String (Value = '~') and Write to File (TextOutput).

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.