View previous topic :: View next topic
|
Author |
Message |
srini_igsi Currently Banned New User
Joined: 09 Dec 2005 Posts: 30 Location: Pune
|
|
|
|
A client is having two groups (Group A and Group B).
Group A benefit period is 1/1/2006 (start dt) - 12/31/2006 (end dt).
Group B benefit period is 2/1/2006 start dt) - 1/31/2007 (end dt).
The requirement is 'Allow reporting of prior and current benefit periods for a given member during a "transition" period (Jan - March, 90 days from the expiration of the benefit period)'.
The logic to be included in the Control Card of the Unload JCL is ... 'Benefit start date <= current date and (benefit end date + 90 days) >= current date'.
So the logic which I have to include in the UNLOAD JCL is selecting al the records satisfying the said condition. |
|
Back to top |
|
|
DavidatK
Active Member
Joined: 22 Nov 2005 Posts: 700 Location: Troy, Michigan USA
|
|
|
|
Hi Reddy,
I'm not sure exactly what your question is!
The pseudo code you provided will give you all rows where the benifit start date is prior to the current date, and the benifit end date is greater than or equal to 90 days in the past.
Please come back with a clarification of your question.
Dave |
|
Back to top |
|
|
srini_igsi Currently Banned New User
Joined: 09 Dec 2005 Posts: 30 Location: Pune
|
|
|
|
Hi David,
Do you mean that the function Current Date is acceptable inside the control card. This is what I wanted to know.
I just want to convert the pseudocode into logic and then I have to include the same inside the control card. |
|
Back to top |
|
|
|