With out using Funnel Stage, how to populate the data from
different sources to single target




Answers were Sorted based on User's Feedback



With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / vijay

Hi Kiran ,

We can populate the sources metadata to target without
using funnel stage using "Seqential File" Stage.

let me explain

In Sequential file we have a property called "File" so first
u give the file name and load the data.

Next time in the same sequential file right side we have a
property "File" just click on that so it will ask another
file name just give other file name ...do not load the data
, in the same you can give how many files u have.

Finally u ran the job Automatically the data will be appended.

Thks

Is This Answer Correct ?    14 Yes 4 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / natasha

use a merge stage.

Is This Answer Correct ?    12 Yes 5 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / sagar

better use join stage kiran,bcause join stage accepts
toretrive the records from different stages,and also join
accepts many inputs and one output link.so dis stage can
satisfies ur condition.and also ihave to say merge,lookup
accepts rejects u need one target so join will satisfies....


ur's
sagar

Is This Answer Correct ?    8 Yes 2 No




With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / gourav

using merge, join or lookup stage.

Is This Answer Correct ?    8 Yes 4 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / venugopal

Hi Kiran,

We can populate the sources metadata to target without
using funnel stage using "Seqential File" Stage.

let me explain

In the source file path uu can mention process date and
file name with *.txt extension
For Ex:
#SRC_DATA_DIR#/JD/incoming/intermediate/*#PROC_DT#_SHIPMENT*
.txt

Above path PROC_DT is process date and SHIPMENT is file
name

Now the data can be retrieved from multiple files and
populated into a single file.

Hopes this will help you Kiran.

Any Doubts cal on 09767117168

Is This Answer Correct ?    4 Yes 2 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / subhash

1. Parameterise the File name and pass the diff file names
at run time, in the target we can put write mode 'append'

2. We can add multiple 'File' properties in the seq file
stage and give them diff file names and run it.

3. If all files are in same directory, then
File: DirectoryName/*#Date#.txt
and run the job.

Is This Answer Correct ?    3 Yes 1 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / kiran

hai sagar,gourav and natasha..,Ur answer is correct but my
quetion is wrong .
my reqment is, i am having multiple sources(flatfies)
and sources metadata same and poulated to target without
using funnel stage

Is This Answer Correct ?    2 Yes 1 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / sag

so kiran,iam not hving idea viewers plz respond kiran's
requirement


sag

Is This Answer Correct ?    2 Yes 1 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / bharath

Hi kiran,

in one same job you create as follows,

seq1------>tseq1

seq2------>tseq2

step1:load first source into tseq1 as file name tgt.txt

step2:load second source into tseq2 as file name
tgt.txt(ensure file name first file name only)

step3:Give file upload mode=Append


run for one time you will get...

Is This Answer Correct ?    2 Yes 2 No

With out using Funnel Stage, how to populate the data from different sources to single target..

Answer / sesadri

In sequential Stage keep file method as File Pattern, and provide the file name as File_Name_*.csv and file should have similar naming convention.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer



More Data Stage Interview Questions

1.new record it will insert but changes of natural key is not present in taget i want to update (here key is composite natural key )can any one help this to explan how to do

0 Answers   IBM,


what is the use of surogate key in datastage

3 Answers  


1)How will u implement SCD2 by using surrogate key. 2)What are the disadvantages with surrogate key. 3)How will you handle nulls in your project for the varchar, integer data types. 4)Can I use two fact tables in star schema. 5)3 jobs are running on the 2 nodes after I added one more node so can I compile those jobs to run on three nodes.

0 Answers  


Explain the situation where you have applied SCD in your project?

0 Answers  


if we using two sources having same meta data and how to check the data in two sources is same or not? and if the data is not same i want to abort the job ?how we can do this?

0 Answers   Wipro,






Hi I have scenario like this s/r table T/r table ename,sal empno,ename,sal vijay,2000 1 , vijay, 2000 kumar,3000 2 ,kumar , 3000 ravi ,4000 3 ,ravi , 4000 How can i get target table like that without using Transformer stage?

8 Answers   Semantic Space,


I have 2 Files like fileA fileB Output1 Output2 Output3 1 6 1 6 11 2 7 2 7 12 3 8 3 8 13 4 9 4 9 14 5 10 5 10 15 6 11 7 12 8 13 9 14 10 15 please let know

6 Answers  


WHAT IS FORCE COMPILE?

3 Answers   HCL, Polaris, FIS,


HOW CAN U DO ERROR HANDLING IN DATA STAGE?

8 Answers   ME,


source has 2 fields like COMPANY LOCATION IBM HYD TCS BAN IBM CHE HCL HYD TCS CHE IBM BAN HCL BAN HCL CHE LIKE THIS....... AND I WILL GET THE OUTPUT LIKE THIS.... Company loc count TCS HYD 3 BAN CHE IBM HYD 3 BAN CHE HCL HYD 3 BAN CHE PLZ SEND ME ANSWER FOR THIS QUESTION..........

3 Answers   Patni,


can any 1 put a difference between datastage 7.5 and 8.0 all concepts plz r mail 2 me anu4u09@gmail.com

4 Answers   IBM,


How many input links can you give to a Transformer stage?

6 Answers  






Categories