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 find no.of records in sequntial file itself?

Answer Posted / varma

Option1: You can use wc –l <<filename>> | awk '{print $1}'
in “Execute command” stage to get the row count.

Option2:-Read the sequential file and after the stage
finishes successfully, you can get the link count using
DSGetLinkInfo(DSJ.ME,
DSJ.ME, “Yourlinkname”,DSJ.LINKROWCOUNT)

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define meta stage?

1143


What steps should be taken to improve Datastage jobs?

1003


Name the different sorting methods in datastage.

990


How to reverse the string using unix?

3431


Define data aggregation?

1046


Can you explain how could anyone drop the index before loading the data in target in datastage?

1440


How many areas for files does datastage have?

1083


Difference between ‘validated ok’ and ‘compiled’ in data stage?

1193


What is the different type of jobs in datastage?

901


Differentiate between datastage and datastage tx?

1003


Difference between sequential file and data set?

1134


What are the processing stages?

1040


What are the partitioning techniques available in link partitioner?

2226


What is difference between join, merge and lookup stage?

1040


Which commands are used to import and export the datastage jobs?

1359