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

Name the different sorting methods in datastage.

991


How to reverse the string using unix?

3432


how to implement scd2 in datastage 7.5 with lookup stage

5552


What are the steps needed to create a simple basic datastage job?

1163


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

2408


How many areas for files does datastage have?

1085


tell me 5 situations when we r using oracle db stages like orecle connector, oracle enterprise

3077


Define Data Stage?

1043


project Steps,hits, Project level HArd things,Solved methods?

2065


What is the difference between operational data stage (ods) and data warehouse?

1178


what is the custome stage in datastage? how can we impliment that one? plz tell me

2317


What are stage variables?

1140


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

2101


What is "fatal error/rdbms code 3996" error?

1195


What are transforms and what is the differenece between routines and transforms?

1003