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

What are the functionalities of link partitioner and link collector?

1010


Define project in datastage?

1101


Differentiate between datastage and informatica?

1186


A signal has a wavelength of 1 micro min in air.how far can the front of the wave travel during 1000periods?

2508


Describe link sort?

1018


root tree will find which is server job and which is parallel job?

1970


Can you explain repository tables in datastage?

1411


What are stage variables and constants?

1150


what should be ensure to run the sequence job so that if its get aborted in 10th job before 9job should get succeeded?

1392


How to perform incremental load in datastage?

1204


What is merge stage?

1318


what is 'reconsideration error' and how can i respond to this error and how to debug this

2633


How can we improve the performance in datastage?

1105


what are the devoleper roles in real time? plz tell i am new to datastage....

2164


How will you move hashed file from one location to another location?

2154