Hi,
I want to read the value from oracle thro' Datastage routine i.e. I have oracle table in which there is only one row for each object type. As per my design I want to read the value thro' a routine and then pass it to sequencer job as an return value.
Regards,
Routine to read the value from oracle
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 3337
- Joined: Mon Jan 17, 2005 4:49 am
- Location: United Kingdom
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It can be done in a number of ways.
This approach naturally extends to storing a finite set of specific returned values.
- BCI functions mimic the ODBC API (search for BCI) but you need a licensed ODBC driver.
The routine can run a job that fetches the data from Oracle into, say, a text file then reads the value from there.
This approach naturally extends to storing a finite set of specific returned values.
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.