To identify the months between first month and end month

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
pavithra_12
Participant
Posts: 13
Joined: Thu Mar 17, 2005 1:20 am

To identify the months between first month and end month

Post by pavithra_12 »

Hi,

I have an requirement as to find the months between the first month and end month using a tranformer to load the measure for the corresponding month.

- Pavithra
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

I think you are talking about a range lookup :?:

Search the Forum with the term "range lookup".

Hope this is what you are looking for.
Success consists of getting up just one more time than you fall.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Hi Pavitra,

Is it Number of Months between two dates?

-Kumar
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Should this be a decimal number (3.4 months) or an integer number of completed months (3 months)?

It's easiest done with a routine. I'm sure you can construct the algorithm. Do so (on paper), then try translating into DataStage BASIC.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dssiddu
Participant
Posts: 66
Joined: Mon Nov 07, 2005 10:28 pm
Contact:

Post by dssiddu »

hi

u can use generic date ds transforms.....

:roll:
Post Reply