Skip to main content
Question

How to convert export file to Oracle file

  • May 18, 2018
  • 2 replies
  • 24 views

perry
Forum|alt.badge.img+2

Hello FME expert,

I try to read a file (ZRM.csv) into Oracle db but my result looks like output.xls

I don't manage to get rid of the seperations |~| and [||] and [ with my reader because I have only 1 Delimiter Character in the CSV reader.

Is there a better way to extract and read only the items that I want?

Many thanks for your reply

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

nielsgerrits
VIP
Forum|alt.badge.img+64

I think the ~ represents a null?

 

And the [||] at the end of the line looks like an unused array?

Read the file as text

 

Remove the [||] at the end with a StringReplacer

 

Remove the ~ with a StringReplacer

 

Text to columns with the AttributeSplitter, drop empty parts (drop columns that used to contain a ~)

 

Create columns you need with the AttributeCreator

texttocolumns2018.fmw


perry
Forum|alt.badge.img+2
  • Author
  • May 18, 2018

Wow, it finally works, I never thought about your solution using TXT. Thanks for your detailed explination Niels!!!