Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

scanario

Hi,

 

How to implement below logic.

 

tExcelInput---->tOralceOutput1(table_1)
                           |
                           | (onComponentsOk_1)
                           |
                     tOracleInput ------>tOralceOutput2(table_2)

 

table_1

columns: emono, date_col

               1, 20-07-2017

                2, 20-07-2017

 

table_2:  existing data before load table_1 records from excel file.

emono, date_col,

1, 18-07-2017

 2, 18-07-2017

 

 

Scenario:

1) In between tOralceOutput1 and tOralceOutput2, Need to check below logic.

 

if table_1.date_col <> table_2.date_col

   wait for process to call ( tOracleInput ------>tOralceOutput2(table_2) 

   check every 15min continues(infinity loop)

else

   if table_1.date_col ==  table_2.date_col

       continues to next step ( tOracleInput ------>tOralceOutput2(table_2) 

end if

 

Thanks

Shree

 

Labels (2)
14 Replies
Anonymous
Not applicable
Author

If you are using Open Studio (the free version) you won't have TAC. In order to schedule, you will need to use a scheduling tool to run your job. There are loads you can choose from (many open source). If you are using Linux you can use the crontab.

 

I am not sure what your question 3 really means to be honest. But I will say that when comparing dates you have to consider that dates go down to milliseconds. You have to take this into account when comparing dates. The same day will not necessarily match because days are not the smallest unit of time in a date.

Anonymous
Not applicable
Author

Hi,

 

Thanks for inputs.

 

I have few question can you please point out.

1) Can you mention any two open source scheduler

2) whether i need to create separate jobs for load tOralceOutput1 and tOralceOutput2. if yes, how to schedule the jobs before comparing dates and after comparing? orders to run?

3) how to set dependencies between two jobs if required?

 

How to implement below logic.

tExcelInput---->tOralceOutput1(table_1)
|
| (onComponentsOk_1)
|
tOracleInput ------>tOralceOutput2(table_2)

table_1
columns: emono, date_col
1, 20-07-2017
2, 20-07-2017

table_2: existing data before load table_1 records from excel file.
emono, date_col,
1, 18-07-2017
2, 18-07-2017

Scenario:
1) In between tOralceOutput1 and tOralceOutput2, Need to check below logic.

if table_1.date_col <> table_2.date_col
wait for process to call ( tOracleInput ------>tOralceOutput2(table_2)
check every 15min continues(infinity loop)
else
if table_1.date_col == table_2.date_col
continues to next step ( tOracleInput ------>tOralceOutput2(table_2)
end if

 

Please let me know if you need more informations. 

 

Thanks

Shree

Anonymous
Not applicable
Author

Hi,

 

May i know any update on query. Can you please reply my query once you get free time or available time.

 

Thanks

Shree

Anonymous
Not applicable
Author

Hi Shree,

 

I am not sure what you are asking now. Unfortunately I don't really have the time to take on the logic of a complete job. You need to try and extrapolate from what people have said and experiment with it. That is the best way to learn. Another thing you need to think about is reducing the scale of your question and not asking another question on the same thread once the first question is answered. First of all that will help the community, since your smaller questions will likely be answered quicker AND other people may have those questions. 

 

I'm not meaning to be mean, I just think that everyone will benefit from working this way. I also think that breaking a problem down into smaller problems helps you to get your head around the bigger problem and understand what you are doing better

 

Regards

 

Richard

Anonymous
Not applicable
Author

Thanks Richard.

 

I will try to debug and update on community if any positive result.

 

Regards

Shree