Thanks for the response! I appreciate it.
The first three positions of the text file always hold data type followed by data of that type. The total length of each line is 100 with carriage return. Each column has fixed length also.
The file looks like this:
V 1019060 PNP
B 383430473 E
SC1140PTOHCO 2DTT707904 CCONTINENTAL AIRLINES
SC270 X20030822010332Y
N01383430473 EXXXXXXXXX PACKARD ELECTRONIC SYSTRUSS
N02POST OFFICE BOX 431 WARREN, OH. 44486
N03WARREN
N01CXYZ AUTOMOTIVE (SOC. UNIPES)
N02LARGO 1 DE DEZEMBRO 6300 GUARDA RTUGAL
N03GUARDA
V 1023930 PNP
B 383430473 E
.
.
.
V type data goes to table V, B goes to tableB, SC1 and SC2 goes to table SC, and N01, N02, N03 go to tableN.
We have SQL Server 2000. The input file is from an FTP server. Destination tables have different structures. We are planning to use DTS package with Active X script to parse the data. Since I am new to DTS, I am not quite sure whether it is going to work. Hope you would shed more light on this.