Oracle oci stage options

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mrvsr
Premium Member
Premium Member
Posts: 40
Joined: Fri Aug 03, 2007 8:33 am

Oracle oci stage options

Post by mrvsr »

I am using Oracle OCI stage input.
Under Input > Sql tab > userdefined ,generated ddl,usedefined ddl tabs got disabled . Please let me know how to enable this option. Which settings have to look into ?
Thanks
MRVSR
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Be more specific with regards to the tabs, exactly what do you mean by they 'got disabled'? You'll never be able to do anything other than look at the DML or DDL on any 'Generated' tab. Any 'user defined' tab will be disabled (as in 'grayed out' or unselectable) if the corresponding Update / Create table / Drop table actions are set to some sort of generated option.

If that's what you are seeing, that's all perfectly normal behaviour.
-craig

"You can never have too many knives" -- Logan Nine Fingers
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Oracle oci stage options

Post by sachin1 »

i think these tabs are always disabled.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

They are enabled if your Update Action specifies user-defined SQL.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Post by sachin1 »

hello ray please can you please elaborate on it, in my case i have selected OCI stage --> Input tab-->General tab-->(Update existing rows only), but in SQL tab it still shows both of the tabs as disabled.

i have checked for selection like User defined SQL also.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

"Update existing rows only" is NOT "user-defined SQL". Examine the list of possibilities a little more closely.

However, the DDL tabs are only enabled when you check the "create table" check box on the General tab. I misread your original post.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
sachin1
Participant
Posts: 325
Joined: Wed May 30, 2007 7:42 am
Location: india

Re: Oracle oci stage options

Post by sachin1 »

thank you ray !!
Post Reply