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)

Answer Posted / ankit gosain

Hi All,

Ans1: In the source sequential file, you can specify the
read method from specific file to file pattern, so that it
can take the file on daily basis.
like:-you are getting the files ALSSM_12122012.dat,
ALSSM_13122012.dat, ALSSM_14122012.dat and so on which is
just appended by the date with file name. for this, you can
specify a file pattern like <path>/ALSSM_*.dat

Ans2: SeqFile--->Transformer--->Tgt
create two parameters of integer type in your job (say Val1
& Val2) &
In transformer stage, define a constraint:
@INROWNUM=Val1 OR @INROWNUM=Val2 (Where @INROWNUM is a
System Variable). Now you can assign the value of Val1 &
Val2 at the run time.

For more queries, mail me on ankitgosain@gmail.com

Cheers,
Ankit :)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the importance of surrogate key in data warehousing?

713


What are stage variables and constants?

702


What is a ds designer?

641


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.

3503


What are iconv and oconv?

775






Differentiate between datastage and informatica?

727


What is the difference between odbc and drs stage?

639


Define meta stage?

784


Define data aggregation?

668


why do u need the IOS upgradation in a FC switch

1875


What is difference between symmetric multiprocessing and massive parallel processing?

653


Difference between ‘validated ok’ and ‘compiled’ in data stage?

673


1)what is the size of Fact table and dimension table? 2)how to find the size of Fact table and dimension table? 3)how to implement the surrogate key in transform stage? 4)write the configuration file path? 5)how many types of datasets explain? 6)diff b/w developed projects and migration projects? 7)how to delete the header and footer file of the sequencer file? 8)how can u call the parameters in DS in unix environment? 9) how much data ur getting daily ? 10)

2319


What is the sortmerge collector?

664


CHANGE CAPTURE

894