To spilt the year to Months
Posted: Fri Nov 30, 2007 6:41 am
Hi All,
Could any body help me how to takecare To spilt the year to Months in Datastage
--------------------------------------------------
Year Rate
---------------------------------------------------
Input : 012007 2
052007 3
012008 5
Output shoudbe:
Output: 012007 2
022007 2
032007 2
042007 2
052007 3
062007 3
072007 3
082007 3
092007 3
102007 3
112007 3
122007 3
012008 5
022008 5
please suggest me the way to achieve..Please provide me either rotinue or stored procedure or any possible way to handle in DataStage itself.
Thanks in Advance
srini
Could any body help me how to takecare To spilt the year to Months in Datastage
--------------------------------------------------
Year Rate
---------------------------------------------------
Input : 012007 2
052007 3
012008 5
Output shoudbe:
Output: 012007 2
022007 2
032007 2
042007 2
052007 3
062007 3
072007 3
082007 3
092007 3
102007 3
112007 3
122007 3
012008 5
022008 5
please suggest me the way to achieve..Please provide me either rotinue or stored procedure or any possible way to handle in DataStage itself.
Thanks in Advance
srini