Redirect data on a warning
Posted: Tue Dec 13, 2005 7:31 am
I recieve several source files as input. Problem is I don't know which ones are UTF8 encoded. What I want to do is the following:
Folder---Transformer---ODBC
NLS set toUTF8 in the folder stage.
The filename from the folder stage is written to the odbc.
When I run the job, any source file that does not conform to UTF8 generates a warning (ds_uvgetnext() : record 'Customers.txt' contains characters which are not defined in the file's NLS map).
I want to write only those files out where the warning is generated. I have looked at link variables in the constraint, but the 'Input' link variables are greyed out.
Any help on this would be greatly appreciated. :D
Folder---Transformer---ODBC
NLS set toUTF8 in the folder stage.
The filename from the folder stage is written to the odbc.
When I run the job, any source file that does not conform to UTF8 generates a warning (ds_uvgetnext() : record 'Customers.txt' contains characters which are not defined in the file's NLS map).
I want to write only those files out where the warning is generated. I have looked at link variables in the constraint, but the 'Input' link variables are greyed out.
Any help on this would be greatly appreciated. :D