With out using Funnel Stage, how to populate the data from
different sources to single target
Answers were Sorted based on User's Feedback
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 | 5 No |
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 |
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 |
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 |
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 |
Answer / sag
so kiran,iam not hving idea viewers plz respond kiran's
requirement
sag
Is This Answer Correct ? | 2 Yes | 1 No |
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 ? | 1 Yes | 0 No |
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 |
when we will use connected Lookup & Unconnected Lookup
How to find value from a column in a dataset?
Explain the situation where you have applied SCD in your project?
Wat is pre-load in Hashed file
What is the diff between sort performed at sort stage and the stream sort performed at the input of few stages in DS Enterprise edition?
Which is the best institute in Hyderabad to learn OBIEE and DataStage?Please tell me faculty name also
If there is a file that contains 1000 records, I need the ouput to contain these 1000 records with the header as file name concatenated with the current timestamp and trailer as the count of records
what is the diff between sequential file and fileset stages?
cust id,cust quty like 1,101;1,102;1,103 i want output like cust id,cust quty 1 101,102,103 in oracle please write a query in oracle
what is the difference between INROWNUM AND OUTROWNUM IN DATASTAGE SERVER EDITION?
What is ds designer?
Hi Every one, I have a scenario plz suggest me 1)On daily we r getting some huge files data so all files metadata is same we have to load in to target table how we can load? 2) One column having 10 records at run time we have to send 5th and 6th record to target at run time how we can send? Hi plz help me for above scenarios and If any one is having JobSequence kindly send me one example and the scenario to my mail ID(nrvdwh@gmail.com)