Hi all,
I'm my source stage(ODBC).In view data i'm getting data source is empty.In my source stage i'm using tab user defined SQL query.
Pls help me how to resolve.
Thanks in advance
Getting Error: data source is empty
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 92
- Joined: Mon May 07, 2007 4:26 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It's not an error. "Is empty" means that your query returns 0 rows. Try the same query using any other client (not DataStage) - you will get the same result.
If that's not what you require, you will need to review the constraints in your SELECT statement (or stored procedure).
If that's not what you require, you will need to review the constraints in your SELECT statement (or stored procedure).
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.
-
- Participant
- Posts: 92
- Joined: Mon May 07, 2007 4:26 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Verify that the SQL being sent from DataStage is exactly the same as what you executed through QTODBC. You may need to involve your DBA to monitor the connection to establish what query is actually being received by the database server.
Also, please report whether you received any warnings or errors (not counting the "data source is empty" message) when you run the job.
Also, please report whether you received any warnings or errors (not counting the "data source is empty" message) when you run the job.
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.
-
- Premium Member
- Posts: 783
- Joined: Mon Jan 16, 2006 10:17 pm
- Location: Sydney, Australia
-
- Participant
- Posts: 92
- Joined: Mon May 07, 2007 4:26 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: