at source level i have 40 columns,i want only 20 cols at
target what r the various ways to get it

Answers were Sorted based on User's Feedback



at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / jaimy chacko

Use Modify Stage and Drop the columns that are not needed . Or Use a Transformer and take the links tat are only needed(make sure that RCP is not marked )

Is This Answer Correct ?    15 Yes 0 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / kalyanreddy

Hi,

1. based in reuirement if you need 20 columns, you have to
select 20 columns in database query.

2. if source is file, use transformer stage and populate
require 20 columns only

3. if source is database or file you can use copy stage
insted of transformer and modify.

Is This Answer Correct ?    7 Yes 1 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / ram

In the transform stage u select wich coloums u want those
coloums only drage from input link to output link.

Is This Answer Correct ?    5 Yes 1 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / balaji

Using transformation stage
How t o use:
Double click transformation stage

Select 20 columns

Drag and drop there target links.

Click on Ok

Is This Answer Correct ?    1 Yes 0 No

at source level i have 40 columns,i want only 20 cols at target what r the various ways to get it..

Answer / madhu tallapaneni

Use COPY , MODIFY, Transformer
Coming to performance point of use Modify or Copy stage instead of transformer stage while dealing with huge volume of data.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Data Stage Interview Questions

I have scenario like this seq file --> transformer --> sort stage --> dataset In this job which prtitioning technique you are using and why???

3 Answers   CTS, IBM,


Please Tell me..,I need some Complex Jobs in datastage as per in interview?how to tell and how to explain?please send as well as posiible please

1 Answers   Systime,


How to add zero "0" before record in a field?

4 Answers  


source which format u will get either fixed or delimiter length format? what is the symbol of delimiter?

2 Answers   Wipro,


how to call routines in stages?

3 Answers   ME,






INPUT file 'A' contains: 1 2 3 4 5 6 7 8 9 10 input file 'B' contains: 6 7 8 9 10 11 12 13 14 15 Output file 'X' contains: 1 2 3 4 5 Output file 'Y' contains: 6 7 8 9 10 Output file 'Z' contains: 11 12 13 14 15 How can we implement this in a single ds job?

11 Answers   CTS,


Whats difference betweeen operational data stage (ods) and data warehouse?

0 Answers  


How one source columns or rows to be loaded in to two different tables?

0 Answers  


Where do the datastage jobs get stored?

0 Answers  


What are the functionalities of link collector?

0 Answers  


How to display errors in datastage?

1 Answers   TCS,


how to create document in datastage?

1 Answers   Cap Gemini,


Categories