Execute Oracle 'before' and 'after' DDL statements

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
NigeGriff
Premium Member
Premium Member
Posts: 46
Joined: Mon Nov 24, 2003 5:46 am

Execute Oracle 'before' and 'after' DDL statements

Post by NigeGriff »

Is their an equivalent feature to the server oracle stage 'before and 'after' SQL options in an oracle stage in enterprise.

if not what is the next best alternative.
Thanks
Nigel
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Have you tried looking into the OPEN and CLOSE statements?
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
Sreenivasulu
Premium Member
Premium Member
Posts: 892
Joined: Thu Oct 16, 2003 5:18 am

Post by Sreenivasulu »

'Open' and 'Close' command in PX are the equivalent of 'before sql' and 'after sql' in server. They open a new transaction though..

Regards
Sreeni
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

This is harder to do in Oracle Enterprise stage than in the dynamic relational or API stage. You only get Open and Close options if you choose the bulk load/Write method. You don't get them if you try an upsert. As far as I know there is no way to access before/after SQL functionality if you are performing enterprise stage upserts (insert, update or delete). This might be different if you use the new Oracle Enterprise Stage that was released in June.
Post Reply