Hello,
I'd like to run stats after my Load inside the DB2 Enterprise Stage. The problem is that the Database is DB2 DPF (partitionned) but the indexes are global, so if I keep the Stage in Parallel mode and use the option Statistics=stats_all, it aborts with a deadlock from DB2.
I thought to run the stats on the Close Command. But it seems this command is just dismissed, because no matter what I write on it, the job always finishes OK, but the Close Command doesn't run. I even tried to put "toto" inside, and it has the same behaviour.
Can anyone tell me what to do so this command be correctly sent to db2, please?
Thanks.
Close Command on DB2 Enterprise Stage
Moderators: chulett, rschirm, roy
-
- Charter Member
- Posts: 193
- Joined: Tue Sep 05, 2006 8:01 pm
- Location: Australia
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Re: Close Command on DB2 Enterprise Stage
Can you tell me how to use a routine to do a runstats on a DB2 mainframe table. We are in v8 on AIX, and we load a table in DB2 using the zloader stage, but now I need to do a runstats before the next DataStage jobs try and pull data from the table we just laoded.
thanks
thanks