how to closeing records after 10,000 records come?

Answers were Sorted based on User's Feedback



how to closeing records after 10,000 records come?..

Answer / 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

how to closeing records after 10,000 records come?..

Answer / amulya kumar panda

In transformer stage has system variable and select
@INROWNUM <10000

Is This Answer Correct ?    0 Yes 0 No

how to closeing records after 10,000 records come?..

Answer / guest

while before running the job it ask stop incoming rows and
warnings thete we to mention number of records

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More Data Stage Interview Questions

How to reverse the string using SQL?

0 Answers   CTS,


How can one find bugs in job sequence?

0 Answers  


What is the surrogate key? what is the use of surrogate key? how to Create surrogate key Generator in scd2 in 8.5?

5 Answers   SLK Software,


Demonstrate experience in maintaining quality process standards?

0 Answers   iGate,


I have 2 jobs.I want to ru job B if job A has run 3 times.How can I achieve this through datastage

3 Answers   IBM,






I have a file it contain 2 records like empname,company as Ram, Tcs and Ram, IBM. But i want empname, company1,company2 as Ram, TCS,IBM in the target. How?

6 Answers   Cap Gemini,


how to handle null values using transformer stage?

1 Answers  


what is factless fact table?

3 Answers   IBM,


DataStage Scenario based Interview Questions

1 Answers  


What is the difference between Link collector and Funnel Stages?

1 Answers  


What are the different type of jobs in datastage?

0 Answers  


What are the main features of datastage?

0 Answers  


Categories