Removing Header and Trailer record without using UNIX
Posted: Sun Jan 27, 2013 11:26 pm
Hello,
I want to remove header and trailer record from sequential file. As the datastage server is windows server, I am not considering Unix commands for this. I am able to import the matadata of the file, but when I am tryng to view the data through sequential file stage with the same metadata, it is giving import error at record 0. If I am able to read the data then I can remove header and trailer records through constraints.
There are total 13 columns in detail record, 4 columns in header record and only one column in trailer record. The file has pipe delimiter. The error it is giving is 'consumed more than 100000 bytes looking for record delimiter; aborting'.
Can any one help me
I want to remove header and trailer record from sequential file. As the datastage server is windows server, I am not considering Unix commands for this. I am able to import the matadata of the file, but when I am tryng to view the data through sequential file stage with the same metadata, it is giving import error at record 0. If I am able to read the data then I can remove header and trailer records through constraints.
There are total 13 columns in detail record, 4 columns in header record and only one column in trailer record. The file has pipe delimiter. The error it is giving is 'consumed more than 100000 bytes looking for record delimiter; aborting'.
Can any one help me