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 closeing records after 10,000 records come?

Answer Posted / subbuchamala

-->If the Source is File:
"Read First Rows"=10000 --> Only read the first specified number of rows from each file.
"Filter"= sed -n '1,10000 P' or head -10000: we can use UNIX commands to filter the data.

-->If source is DB:
Oracle: where rownum<=10000
DB2: sample 10000 row only
Teradata: fetch first 10000 rows only

-->In Transformer:
We can use @INROWNUM<=10000 system variable
We can use Stage variables and count the values and in the contraints part use Stage_Var<=10000

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain engine tier in information server?

1135


What is the difference between validated and compiled in the datastage?

1293


Is the value of staging variable stored temporarily or permanently?

999


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

5123


What are the types of jobs we have in datastage?

1075


Can you explain kafka connector?

1312


i have a job with 3 possibiliies finish with ststus ok abbort warning how do you handle these 3 in job sequence? explain the situation where you have appiled scd in your project? chandu

2722


What is a ds designer?

1070


How to read multiple files using a single datastage job if files have the same metadata?

1252


What is job control?

1114


Explain connectivity between datastage with datasources?

976


Explain how a source file is populated?

1366


What is the difference between datastage and datastage tx?

1066


What is the difference between the local container and shared container?

1103


What are datastage sequences?

1118