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

Define orabulk and bcp stages?

1113


How do y read Sequential file from job control?

15920


What are the types of hashed files in data stage

1098


Is the value of staging variable stored temporarily or permanently?

984


Can anyone tell me a difficult situation who have handled while creating Datastage jobs?

3241


In a batch if a job fails in between and you want to restart the batch from that particular job and not from the scratch then what will you do?

1024


Can you define merge?

1102


Can you explain tagbatch restructure operator?

1158


Differentiate between operational datastage (ods) and data warehouse?

1155


im new to this tool im now at project plz tell me step by step process how to design plz help me i wnt to go with exp for job plz give me d proper design and explination

2157


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

1250


What are the functionalities of link partitioner?

1004


What is a ds designer?

1058


Differentiate between Symmetric Multiprocessing and Massive Parallel Processing?

1193


Hi,can any one please mention list of dimension and fact tables for Sales and Distribution System for a Pharmacutical company.

2277