Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to exclude first and last lines while reading data into a sequential file(having some 1000 records).I guess probably by using unix filter option but not sure which to use

Answer Posted / msbharathi

In sequential file stage use the filter in the options

In filter use sed '1d;$d'

You can use sed '<start>,<end>d' to delete particular rows and use sed -n '<start>,<end>p' to keep particular rows

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Difference between in process and inter process?

1240


Why do you need stage variables?

1181


What are the types of containers and how to create them?

980


What are the components of ascential data stage?

1189


What are the partitioning techniques available in link partitioner?

2279


Differentiate between Join, Merge and Lookup stage?

1094


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

1039


What are the functionalities of link partitioner?

1022


How do you register plug-ins?

963


what is the custome stage in datastage? how can we impliment that one? plz tell me

2367


What is the difference between orabulk and bcp stages?

1027


How to Remove Duplicate using SQL?

1371


Is the value of staging variable stored temporarily or permanently?

999


how can we create rank using datastage?what is the meaning of rank?

8795


how to abort the job its matain duplicates?

2574