Page 1 of 1

Look up for different files

Posted: Tue Jul 28, 2015 4:04 am
by ani_chutti@yahoo.co.in
Dear All,

I have 5 seq files which has country and some other data. Every file will come at different timings and there is no std time for each. I have a reference table for country code.

Goal is: Load the data into target table and load the country code using lookup. There is no choice for multiple job design. All these has to be designed in one single job

Posted: Tue Jul 28, 2015 6:02 am
by rkashyap
What is the problem that you are facing?

Re: Look up for different files

Posted: Tue Jul 28, 2015 6:10 am
by ray.wurlod
ani_chutti@yahoo.co.in wrote:There is no choice for multiple job design. All these has to be designed in one single job
Why?

Resist stupid requirements! Or is it an interview question?

Re: Look up for different files

Posted: Wed Jul 29, 2015 11:09 pm
by ani_chutti@yahoo.co.in
Yup. This is the interview question. Question is to come up with single job seq for 5 seq files which are loading in different timelines

Posted: Thu Jul 30, 2015 1:29 am
by ray.wurlod
A single job sequence is not the same thing as a single job.

But you can nevertheless examine the possibility of having that sequence, after determining which file is next to be processed, invoking a generic job to process it then moving the file to a "done" location.

Rinse and repeat or sleep.