HOW TO JOIN THE 2 FLAT FILES WITHOUT USING JOINER AND
LOOKUP?
Answers were Sorted based on User's Feedback
Answer / jz
If Two Flat files having same coll then go for Union t/r to
join.
| Is This Answer Correct ? | 27 Yes | 10 No |
Answer / amedela chandra sekhar
If two flat files are having same structure then we can join
by using Union transformation.
Chandu
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / ajay konidena
No we can't join two flat file with out using joiner ,look
up
| Is This Answer Correct ? | 9 Yes | 3 No |
Answer / sarthak
With the help of command task...
cd dir_path
cat 1st_filename 2nd_filename >> 3rd_filename
Then,
create 1 flatfile and connect it to target.
In session property,
give the filename: 3rd_filename and its path
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / rahul patil
All the above approaches are not correct because question was to join two flat files... if we use indirect file or unix command or joiner trns, we could only union two files but not join.
If we have file1 --- 100 records and
file2 --- 100 records then through above approaches we would have only 200 records.
But a join without join condition would return cartesian product and in our case count should be 10000.
Rahul Patil
DWHKID
| Is This Answer Correct ? | 4 Yes | 2 No |
Answer / tulasi pavani.k
If two flat files are of same structure we can join by
creating one list file and by writing the the names of those
two flat files in one text file.
source file directory:c:/order.txt
source file type:indirect
| Is This Answer Correct ? | 4 Yes | 3 No |
Answer / murali udayagiri
Use join UNIX command in pre-session command for joining
both the files and write to a file. Use single SQ trans in
mapping to read that joined flat file data.
Thanks,
Murali Udayagiri
| Is This Answer Correct ? | 0 Yes | 2 No |
Answer / avru.bal
we can join the 2 flat files by using filerepsitory..save
both files in one directory gve the path name c:\.txt and
provide default type=oracle then apply,
in session properties provide
source file directory:c:/txt
source file type:indirect
provide target connection..so that we can join the both
files without using joiner n lookup
| Is This Answer Correct ? | 2 Yes | 8 No |
Answer / sri
SORRY GUYS,BY MISTAKE I POST THE WRONG ANSWER.MAY BE I THINK
INDIRECT METHOD IS CORRECT ONE TO ACHIEVE THIS.
| Is This Answer Correct ? | 6 Yes | 16 No |
Answer / senthil
USE SOURCE QUALIFIER WHILE MAPPING CREATED ...
| Is This Answer Correct ? | 1 Yes | 20 No |
How to update source definition?
tell me the rules and responsblites in our project(my project is development)
what is the dashbords?
whether Sequence generater T/r uses Caches? then what type of Cache it is
What are roles and groups and benefits of using them?
hi,there is a scenario like. there are three columns empid,salmonth, sal contains the values 101,jan,1000 101 feb 1000 like twelve rows are there then my required out put is like contains 13 columns empid jan feb marc.......dec and the velues are 101 1000 1000 1000 like this . thank you
any body can say about all versions of informatica ?how many versions ?
one source to target loading insert new rows and update existing rows?
Why do you use Mapping Parameter and mapping variable?
what is lookup ?
I need the output file in the below format using Informatica. __0946684800__ 6 1 3 1 5 1 6 1 10 1 6 10 Pos State Time Split AgentID Reason Spaces Code in Code Spare state ______ ___ _____ ______ __________ ______ 1234 14 0 4321 3103 abcd 4321 15 5 123452 3150 Can someone help please?? We need the data in space-delimited, fixed ASCII format .
hi all when i am creating repository contents i am getting this error and not able to create contents please let me know wht may be the problem ORA-01031: insufficient privileges Database driver error... Function Name : executeDirect SQL Stmt : CREATE VIEW REP_DATABASE_DEFS AS SELECT DISTINCT DBDNAM DATABASE_NAME, SRCNAM DEF_SOURCE, SUBJ_NAME SUBJECT_AREA, NULL VERSION_ID, OPB_DBD.VERSION_NUMBER DATABASE_VERSION_NUMBER FROM OPB_DBD, OPB_SUBJECT, OPB_SRC WHERE OPB_DBD.SUBJ_ID = OPB_SUBJECT.SUBJ_ID AND OPB_SRC.DBDID = OPB_DBD.DBDID AND OPB_SRC.VERSION_NUMBER = OPB_DBD.VERSION_NUMBER AND OPB_SRC.IS_VISIBLE = 1 Oracle Fatal Error Database driver error... Function Name : ExecuteDirect Oracle Fatal Error Error occurred while creating the repository An error has occurred while creating contents. Dropping repository tables... Create Contents operation on repository [reposerv] ended at 01/02/2009 13:02:48. Elapsed time is 0:00:09.