Page 1 of 1

FTP using parallel job

Posted: Thu Jan 04, 2007 12:22 am
by ds_team
My parallel job is having a transformer stage and what ever comming from this transformer stage is directly FTP'd to a remote vista server.The file FTP'd is having newline charters at the end of the record. I am FTP'ng the file with content "AB" and when i open the FTP'd file in vista I am seeing Newline charaters at the end. How can I remove this newline characters. I am using FTP enterprise edition stage in my parallel job.

Posted: Thu Jan 04, 2007 12:24 am
by ray.wurlod
Welcome aboard. :D

Using binary mode rather than ASCII mode FTP should prevent the line terminators, unless your job design is generating them.

My FTP mode is binary. Still i am getting newline characters

Posted: Thu Jan 04, 2007 12:42 am
by ds_team
I am using FTP enterprise stage. Even after changing the mode to binary i am getting the Newline charaters at the end of my record. I have only one record in my FTP'd file, ie string AB. After AB i am getting NLNLNL.
My job is parallel job i am having FTP stage after transformer stage.
ray.wurlod wrote:Welcome aboard. :D

Using binary mode rather than ASCII mode FTP should prevent the line terminators, unless your job design is generating them. ...

Posted: Thu Jan 04, 2007 1:43 am
by bchau
Have you set the line terminator in the FTP stage to "none"?

It should be under Inputs|Property Tab, the 4th item down.

Posted: Thu Jan 04, 2007 2:54 am
by ds_team
did try this option too. But it is inserting NLNLNL at the end.
bchau wrote:Have you set the line terminator in the FTP stage to "none"?

It should be under Inputs|Property Tab, the 4th item down.

Posted: Thu Jan 04, 2007 4:20 pm
by kumar_s
Check the record delimiter defined in the source. It might be a case, where these newline character might be carried from the source. Check it by writing into a intermediate Sequential file stage. Check with od -db command.