How to define the Oracle tablespace to create my table

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
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

How to define the Oracle tablespace to create my table

Post by jseclen »

Hi Forum, :)

I'm working with DS EE 7.5.2 on AIX, my jobs need to create the target table, but i dont found any property in the help and the stage to set the Tablespace Name.

The DBA create an special tablespace for my jobs, and i want to redirected to this tablespace to create this, and dont use the default ...

Thanks

:D
Saludos,

Miguel Seclén
Lima - Peru
shamshad
Premium Member
Premium Member
Posts: 147
Joined: Wed Aug 25, 2004 1:39 pm
Location: Detroit,MI

Post by shamshad »

If I were you, I would run the DDL to create the TABLE outside DataStage and then use the Data Stage to refer to the created table. That way we can have greater flexibility on the DDL itself.
jseclen
Participant
Posts: 133
Joined: Wed Mar 05, 2003 4:19 pm
Location: Lima - Peru. Sudamerica
Contact:

Post by jseclen »

Thanks for your answer, but there is a problem, the table has 187 columns and defined in a DDL using the Create Statement is heavy, is there any property to define this only????

Thanks
Saludos,

Miguel Seclén
Lima - Peru
shamshad
Premium Member
Premium Member
Posts: 147
Joined: Wed Aug 25, 2004 1:39 pm
Location: Detroit,MI

Post by shamshad »

This is what I used to do.

(1) I run my job that CREATES a TABLE in default TABLESPACE (which I
know is not correct and have to be changed.

(2) Once the Job runs successfully, go to any Query Tool (TOAD etc)
that you are using and get the DDL. Describe Table. Cut and Paste
The DDL along with Proper Table SPace Assignment.

(3) If you are running on UNIX, see if you can create a SHELL script
that will login to ORACLE SERVER and CREATE an EMPTY Table

(4) If yes, call this shell script from Sequencer after which call the job
that uses this table.
Post Reply