Server job fails with ORA-04068

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
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Do you know what changed in either DataStage or Oracle between the time it worked and the time it stopped working?

Also, can you execute the insert logic from a SQL tool (e.g Toad or the like) to see if the error is also present there?
Seyed
Participant
Posts: 74
Joined: Wed Apr 14, 2010 7:25 am
Location: Oklahoma City

Post by Seyed »

Thank you for your input. Using Toad and SQL, we tried inserting data from Data Factory to Data Warehouse , the insert failed with "ORA-02069: global_names parameter must be set to TRUE for this opertion". We tried the same insert from our Data Warehouse, the insert succeeeded. It turns out that the 'GLOBAL_NAMES' setting is set to 'FALSE' in our production data factory DB while it is set to 'TRUE' on our dev data factory. We are having the DBA to set the global_names setting to 'TRUE' on our production data factory. We will then try the insert you suggested from Toad. If it successful, we delete the data and try the DataStage server job again.

Thank you for your help,

Seyed
Seyed
Participant
Posts: 74
Joined: Wed Apr 14, 2010 7:25 am
Location: Oklahoma City

Post by Seyed »

For reasons unknown, the global_names parameter was set to 'FALSE' and it should have been set to 'TRUE'. The DBA changed the setting to 'TRUE', I tested the same INSERT in Toad, the insert ran successfully. We truncated the data in the destination table. The DS jobs have been restarted, we would know in a couple of hours if the setting change, fixed this issue.

Thanks again,
Seyed
Participant
Posts: 74
Joined: Wed Apr 14, 2010 7:25 am
Location: Oklahoma City

Post by Seyed »

Changing global_names setting from 'FALSE' to 'TRUE' resolved this issue and our DataStage server job ran successfully.
Post Reply