Filtering top and bottom records from sequential file.
Posted: Mon Jul 11, 2005 9:10 pm
I have a file with below construct..
set schema abc
select field1, field2 from table xyz;
field1 field2
------ ------
100 abcd
101 abcd
111 mnop
3 record(s) selected
<EOF>
I have managed to use this file with removing first 3 and few bottom rows and just putting data in file manually.
Is there a way by which i can handle this in datastage itself.
Any help, suggestion would be much appreciated.
Thanks
Atul
set schema abc
select field1, field2 from table xyz;
field1 field2
------ ------
100 abcd
101 abcd
111 mnop
3 record(s) selected
<EOF>
I have managed to use this file with removing first 3 and few bottom rows and just putting data in file manually.
Is there a way by which i can handle this in datastage itself.
Any help, suggestion would be much appreciated.
Thanks
Atul