Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


Connect to myibi
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Identifying Filename in Synonym

Read-Only Read-Only Topic
Go
Search
Notify
Tools
Identifying Filename in Synonym
 Login/Join
 
Member
posted
I have a process that loops thru multiple csv files and I need to capture the filename as part of the input transformation, so the source data is appended with additional column called 'File_name' and populated with the name of the file. How this can be achieved in the Data Migrator flow?


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML, XML
 
Posts: 19 | Registered: March 19, 2012Report This Post
Guru
posted Hide Post
Are you asking how to get the file name or how to loop?

You can add a field to the input synonym with FIELD=FILE_NAME, ALIAS=INSTANCE and that will be automatically populated with the name of the input file.

You can process multiple files using the Iterator (if all the files are ready to process) or the File Listener (if you want to process files as they arrive in a specified application directory). Both approaches are documented in the DataMigrator User's Guide.


N/A
 
Posts: 397 | Location: New York City | Registered: May 03, 2007Report This Post
Member
posted Hide Post
Thank you! This is exactly what i was looking for.


WebFOCUS 7.7, iWay Data Migrator, Windows
Excel, PDF, HTML, XML
 
Posts: 19 | Registered: March 19, 2012Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    Identifying Filename in Synonym

Copyright © 1996-2020 Information Builders