Job Scheduling and Job Scheduler by ORSYP

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Solved : Processing date needs to be set before launching the Session
Sanjeev
post February 4 2010, 04:38 PM
Post #1


Senior Member
***

Group: Members
Posts: 80
Joined: 18-September 09
Member No.: 618



Hello ,

I have a requirement where my Uproc U1 whose processing date should be 1st of previous month
EX: If I am launching that Uproc today , the Processing date of that UPROC should be 1st January 2010.
Again the UPROC U1 depends on two other UPROCS U2 (Processing date -1)& U3 (same Processing date ).
So as per our example , the U1 running for Processing date 01/01/2010 should depend on U2 for 12/31/2009 & U3 for 01/01/2010.

I thoguht of incorporating the logic for changing the processing date in the internal script of U1 , but the problem is that the U1 is depending on the U2 (for current date -1 i.e., 02/03/2010) and U1 (for the current date 02/04/2010) which is not as per my requirement.

Is there any way how I can incorporate this logic in U_ANTE_UPROC only for this specific Uproc , i.e., in case of only this Uproc , the above logic for processing date should happen , else no.
Please suggest me if there is any other solution .
Go to the top of the page
 
+Quote Post
men
post February 4 2010, 06:50 PM
Post #2


Hero Member
****

Group: Root Admin
Posts: 2,834
Joined: 20-March 08
From: Europe
Member No.: 2



Hello Sanjeev,

What is your exact need? Why would you need to change the processing date ?

Michel
Go to the top of the page
 
+Quote Post
Sanjeev
post February 5 2010, 07:14 AM
Post #3


Senior Member
***

Group: Members
Posts: 80
Joined: 18-September 09
Member No.: 618



Actually the UPROCS embedded in a session will be invoking BODI (an ETL like Informatica) job which has to run on 1st of every month to process the records (table) of the whole last month. So what I have to do is , I have to set the processing date to last of the previous month so that it can process for the whole previous month .
Go to the top of the page
 
+Quote Post
men
post February 8 2010, 12:23 PM
Post #4


Hero Member
****

Group: Root Admin
Posts: 2,834
Joined: 20-March 08
From: Europe
Member No.: 2



Hi,

If your Uproc is defined with functional period "Day", you should be able to define an offset in the processing date in the Task that is scheduled on the 1st day of the month: Set it to "Previous calendar day" (see the "functional data" tab in the Task).

Test it but this should do the trick smile.gif

Michel
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Guidelines ORSYP Technical Support ORSYP Website Time is now: 6th September 2010 - 12:08 PM
RSS