constraints disabled while loding the data to DB2 database

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
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

constraints disabled while loding the data to DB2 database

Post by vinodn »

Hi,

Let us know how to disabled the constrints while loading the data to DB2 databse table,
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

You'd need to have permission to do so and then issue the DDL in the OPEN tab of the stage. I assume. And then attempt to enable them again afterwards.
-craig

"You can never have too many knives" -- Logan Nine Fingers
vinodn
Charter Member
Charter Member
Posts: 93
Joined: Tue Dec 13, 2005 11:00 am

constraints disabled while loding the data to DB2 database

Post by vinodn »

Thanks chulett for your's response,

we had the permissions to disables the constraints,but we are using the DB2 load stage to load the data,

Let me know how to disabled the constraints, which property needs to be set in DB2 load stage
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Don't do DB2, so no clue. Must be an OPEN or BEFORE SQL area, if not perhaps you'd need to do it as separate steps / routines and leverage a sequence job. [shrug]
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply