Oracle Connector Stage Parameter Issue

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
jagadam
Premium Member
Premium Member
Posts: 107
Joined: Wed Jul 01, 2009 4:55 pm
Location: Phili

Oracle Connector Stage Parameter Issue

Post by jagadam »

Hi,

We have 2 parameters defined for schema and table under project level. I am using oracle connector stage but unable to pass two parameters like #schema#.#Table# for Table name option in properties. It's accepting only one parameter.

Could anyone let me know how to pass 2 parameters in oracle connector stage. Is it possible to pass?

Thanks
kumar444
Premium Member
Premium Member
Posts: 62
Joined: Wed Jan 12, 2011 10:01 am

Post by kumar444 »

Just type in manually as #schema#.#table_name#
Do not use drop down list of use job parameter in the connector stage for this kind of issues.
-------------------------------------------
Kumar
kumar444
Premium Member
Premium Member
Posts: 62
Joined: Wed Jan 12, 2011 10:01 am

Post by kumar444 »

Or elae you can type the same in the note pad, copy and paste in the connector's table name option.
-------------------------------------------
Kumar
jagadam
Premium Member
Premium Member
Posts: 107
Joined: Wed Jul 01, 2009 4:55 pm
Location: Phili

Post by jagadam »

Thanks so much. It worked.
NJ
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It appears that ALL Connector stage types with database connectivity exhibit this behaviour. I am seeing the same in the ODBC Connector stage in version 8.5. Methinks an enhancement request is in order.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar444
Premium Member
Premium Member
Posts: 62
Joined: Wed Jan 12, 2011 10:01 am

Post by kumar444 »

Select * from table_name@dblink;

The above statement is invalid in the connector stage. It should be as below

select * from table_name @dblink;

We should allow a space between table_name and @dblink in the Oracle connector.
Either ways is valid in Oracle EE stage.
-------------------------------------------
Kumar
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

None of which addresses the question of using more than one parameter reference in the SQL statement.
:roll:
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply