Using FTP stage without file structure

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
hsahay
Premium Member
Premium Member
Posts: 175
Joined: Wed Mar 21, 2007 9:35 am

Using FTP stage without file structure

Post by hsahay »

Hi guys

Wondering if there is a way to FTP files, using FTP stages, without knowing anything about their internal structure ?
vishal
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Not really, but you could fake it by using just one column per row (if the file has CR/LF) or by using a dummy column with fixed length and accepting an error on the last row.
hsahay
Premium Member
Premium Member
Posts: 175
Joined: Wed Mar 21, 2007 9:35 am

Post by hsahay »

Thanks ArndW.

But one would still need to know the record length for all the different files that may come in via FTP.

I guess i will have to look at a non datastage solution.
vishal
Post Reply