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 Merge?

1374


How can we improve the performance in datastage?

1146


whom do you report?

1984


Define data aggregation?

1148


What are the different layers in the information server architecture?

1175


What is a merge?

1240


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

8856


Enlist various types of routines in datastage.

1328


Differentiate between data file and descriptor file?

1107


disign the complex job in u r project?(they are aksing only complex job design and then data flow...)

2520


How and where you used hash file?

1223


What are stage variables, derivations and constants?

1282


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

2675


What are the different options associated with dsjob command?

1484


How many Key we can define in remove duplicate stage?

1442