You are not logged in.
Announcement
Unanswered posts
|
may be it's obvious, but I'm trying to read a flat file (tfileinputfullrow) and send the content to an MQ queue with tMomoutput.
My problem:
the "build-in" schema of tfileinputfullrow is not updatable (read-only) with one column named "line"
when tMomoutput is expecting a column named "message"...(of course the job do not run with "unresolved" argument....)
any "simple" solution?
Thanks in advance
Hello
Here are two solutions:
1) When you link tFileInputFullRow to tMomOutput, it will prompt that 'Do you want to get the schema of the target schema', click on 'Yes' to change the shema on tFileInputFullRow. (see screenshot1)
2) Add a tMap component between tFileInputFullRow and tMomOutput, then change the column name as 'message.(see screenshot 2,3)
Best regards
shong
Offline
Thanks Shong,
Direct link works fine, I don't know why I didn't succeed at first attempt...
I was really reluctant to the Tmap solution...
Have a nice day!