Hi to all,
Can anybody tell how to get the records from SQL server table through routines?
if possible, pls send the routine.
then can anybody tell any good documentation for Basic codes (to write a routine) to read and improve my datastage knowledge to write a routine.
Pls help.
Thanks.
Venkat.
How to get the records from SQL server Table through routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 106
- Joined: Thu Jun 08, 2006 8:51 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Welcome aboard. :D
You need to access SQL Server through the ODBC driver. Problem is, the one you have is not licensed for your use in code, only for use from the ODBC and Dynamic RDBMS stages. You will find that it works for 30 days, then fails with a message telling you to buy a licence from Data Direct.
Given that caveat, you write a routine using BCI functions. Effectively you would be programming using the ODBC API, but in DataStage BASIC. There is a manual downloadable for free from IBM should you wish to pursure this further.
But, and it's a big but, why do you want to write code to do what DataStage can already do?![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
You need to access SQL Server through the ODBC driver. Problem is, the one you have is not licensed for your use in code, only for use from the ODBC and Dynamic RDBMS stages. You will find that it works for 30 days, then fails with a message telling you to buy a licence from Data Direct.
Given that caveat, you write a routine using BCI functions. Effectively you would be programming using the ODBC API, but in DataStage BASIC. There is a manual downloadable for free from IBM should you wish to pursure this further.
But, and it's a big but, why do you want to write code to do what DataStage can already do?
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.