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

how to add a new records into source?

1982


What are sequencers?

1094


how to export or import the jobs in .ISX file

1182


how to use self join using datastage ? can u tell me using stage how can we implemnet the self join

5104


Is possible to create skid in dim,fact tables?

2627


Difference between data warehousing and olap?

1074


What is a datastage job?

1005


Where do the datastage jobs get stored?

1191


What is the purpose of pivot stage?

1155


What are system variables and sequencers in datastage

1101


In work load management there are three options of Low priority, Medium priority and High Priority Jobs which can be used for resource management. why this feature is developed when there is already jobs prescheduled by scheduler or autosys. what will be the use of workload management then?

1493


how to connect source to db?generally what r stages u used? how to find the data is having delimiter format?

2356


How a source file is populated?

1049


What is oci?

1287


What is the difference between passive stage and active stage?

1508