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

hi.... am facing typical problem in every interview " I need some critical scenarios faced in real time" plz help me guys

2857


What are the functionalities of link collector?

1083


How do you generate sequence number in datastage?

1088


What is quality stage?

985


How to create a file using vi editor? 2)how to delete a file in vi editor? 3)How to connect the server datastage to unix? what r the command lines we r using? 4)30 jobs r runnig in unix i want to find out my job. how to do this? give me command?

2611


What are the stages in datastage?

1081


What is the difference between account and directory options ?

1177


EXPLAIN SCD

1389


What is the difference between hashfile and sequential file?

1252


Explain the datastage parallel extender (px) or enterprise edition (ee)?

1221


Describe the main features of datastage?

1072


What is the difference between Datastage 7.5 and 7.0?

1092


What are stage variables and constants?

1145


What is merge stage?

1301


Can you explain players in datastage?

1186