How to read Seq file in parallel job to wirte different tabl
Posted: Tue Dec 22, 2009 7:40 am
Hi,
I am trying to read the seq file ( txt ). from the parellel job.
I have to write to oracle table.
Txt file - 1 line is header which i have to write in table 1
and from 2nd lines are the data which I have to write in the table 2
and 3th line is tail which suppose to go to table 3.
eg. of the seq text file.
CUST|20091222
1362605|16957|34|4|0|16177|Ninth |37229|Nashville
COUT|10|20091222
I am using Sequential_File to read the file. from there I am trying to write it to 3 other tables.
Do not know how to read header part ( 1st line )and middle part ( other lines ) and tail part to write it in the tables
I am using win xp , orcale 9i
Pls assits.
Thanks
I am trying to read the seq file ( txt ). from the parellel job.
I have to write to oracle table.
Txt file - 1 line is header which i have to write in table 1
and from 2nd lines are the data which I have to write in the table 2
and 3th line is tail which suppose to go to table 3.
eg. of the seq text file.
CUST|20091222
1362605|16957|34|4|0|16177|Ninth |37229|Nashville
COUT|10|20091222
I am using Sequential_File to read the file. from there I am trying to write it to 3 other tables.
Do not know how to read header part ( 1st line )and middle part ( other lines ) and tail part to write it in the tables
I am using win xp , orcale 9i
Pls assits.
Thanks