FTP connection

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

FTP connection

Post by przytula »

Trying to use ftp as input stage
defined connection/port/filename
It is possible to use interactive ftp
I am getting this message when running the stage :
ICPC_FTP..Transform_dates: Internal error: function 'buffer_to_row' failed
ICPC_FTP..Transform_dates: Unable to retrieve column from link
Any idea where to find the reason/explanation of these error codes.
activated debug level but no additional info
Thanks for all help
Best Regards, guy Przytula
Best Regards, Guy Przytula
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

Post by przytula »

The file on remote node is accessible with ds, because if I specify fix length fields no. I can see that the complete record is extracted and truncated
Data is displayed
Thanks for all update
Best Regards, Guy Przytula
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Yes, it is possible to use the FTP stage as an input stage, but I personally would try to avoid using it in that manner. You are (in most cases) better off to use 'normal' FTP to move the data local to your DataStage server and then picking it up with the Sequential stage.

When you say you 'activated debug but no additional info', what does that mean? :? Did you turn on Trace within the Stage? Set the value up high enough to get information about everything going on? There is alot of information that can be gathered into your job log by the trace option, hence the question.

I would guess that your metadata as defined in the FTP stage isn't matching up 100% with your sequential source. The FTP stage isn't going to be as forgiving as the Sequential stage when dealing with troublesome flat files. Things like missing columns, which the sequential stage can handle, can hose up the FTP stage. So, I'd suggest first bringing your source over locally using plain old ftp (which doesn't need any metadata to drive it) and then examining the file, seeing if it has any 'quirks' in the records or data that may be causing you grief.
-craig

"You can never have too many knives" -- Logan Nine Fingers
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

Post by przytula »

Thanks for the update
That is exactly what I did. copied the file locally and loaded this file. no problem occured in any stage.
trace was activated in ftp stage properties
Best Regards, Guy Przytula
Best Regards, Guy Przytula
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

ftp connection

Post by przytula »

This just to indicate that local import is possible but ftp import is still failing
Best Regards, Guy Przytula
Best Regards, Guy Przytula
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

So, Guy... does this mean your problem is solved well enough or are you still expecting something from this thread? :?
-craig

"You can never have too many knives" -- Logan Nine Fingers
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

ftp connection

Post by przytula »

No problem is NOT solved.
I mean : when doing the ftp manually = no problem
when having ds doing the ftp : I get the error
Best Regards, Guy Przytula
Best Regards, Guy Przytula
T42
Participant
Posts: 499
Joined: Thu Nov 11, 2004 6:45 pm

Post by T42 »

Did you attempt to run a very simple 1 column file using the FTP stage with source from the same location?

Have you been able to FTP to it directly from the DataStage server successfully? (i.e. use the right paths, using the same username, and so on forth?)

Have you ever been successful using a different server with the FTP stage?

Are you using a different port for your FTP transfer?

What version is your DataStage, precisely?
przytula
Participant
Posts: 27
Joined: Wed Apr 14, 2004 1:31 am
Location: Brussels Belgium
Contact:

FTP connection

Post by przytula »

Thanks for all update
I never tested this before - first ds job with remote ftp
tried manual ftp : same uid/pw = no problem
defined a simple file with 1 record and 10 char
same operation on this test file = same problem
ICPC_FTP..Transformer_2: Internal error: function 'buffer_to_row' failed
Best Regards, Guy Przytula
Best Regards, Guy Przytula
Post Reply