Home > Software > Data-Warehouse > DataStage
Interview Questions   Tutorials   Discussions   Programs   Discussion   

DataStage - I have a source like file it have Number of records and I want to load without first and last records in target?Datastage?




646
views
asked mar September 20, 2014 06:31 AM  

I have a source like file it have Number of records and I want to load without first and last records in target?Datastage?


           

1 Answers



 
answered By vishnoiprem   0  

Using external filter:

in this we use command sed -n '1d,$d' filename>Filename

(this is unix command we use we get answer)

we use command tail +2 |sed -n '$d

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert