I am in a windows enviroinment. Im not sure what rm -rf means...
It means "del * /s"...but don't do that...on windows (unlike unix) the
default diagnostic path is shared with the dbm config file, and some
other important directories etc. I'd suggesting changing your diagnostic
paths to point to a different directory. If you want to remove all the
files from the directory, back them up first in case something goes
wrong...I think the only thing you'll need is the config file(db2sys*)
but I'm not 100% sure what's created by default in that path.
> I am in a windows enviroinment. Im not sure what rm -rf means...
jadionne@gmail.com - 27 Jun 2005 17:43 GMT
Ok so back up the Dir and delete the 0 and 000 files
do you remember where the diagnostic path is defined, in the db cfg or
dbm cfg?
Pierre Saint-Jacques - 27 Jun 2005 19:39 GMT
In the dbm cfg, look for DIAGPATH
HTH, Pierre

Signature
Pierre Saint-Jacques
SES Consultants Inc.
514-737-4515
> Ok so back up the Dir and delete the 0 and 000 files
> do you remember where the diagnostic path is defined, in the db cfg or
> dbm cfg?
Serge Rielau - 27 Jun 2005 18:20 GMT
> It means "del * /s"...but don't do that...on windows (unlike unix) the
> default diagnostic path is shared with the dbm config file, and some
> other important directories etc.
Now that is just nasty...

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
jadionne@gmail.com - 27 Jun 2005 18:29 GMT
But you told me to do it....
Serge Rielau - 27 Jun 2005 21:00 GMT
> But you told me to do it....
Who believes what's on the internet....?
Sorry. Wasn't aware of this Windows special.

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
jadionne@gmail.com - 27 Jun 2005 22:01 GMT
But you work for the IBM TORONTO LAB!!! Its your job to know.
Serge Rielau - 27 Jun 2005 22:33 GMT
> But you work for the IBM TORONTO LAB!!! Its your job to know.
I'll start the pilgrimage to Canossa right away, just need to get some
rags from Loosers first.
Cheers
Serge

Signature
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Jan M. Nelken - 27 Jun 2005 23:16 GMT
> I'll start the pilgrimage to Canossa right away, just need to get some
> rags from Loosers first.
“Nach Canossa gehen wir nicht”
Jan M. Nelken (quoting Bismarck)
jadionne@gmail.com - 28 Jun 2005 12:12 GMT
Back to the actual topic at hand, just to be clear i can delete the .0
and .000 files from this directory manualy with out causing issues?
Also if I change my diag path in the future if i run the db2 support
command the command will know where to get its info correct?
Jan M. Nelken - 28 Jun 2005 14:27 GMT
> Back to the actual topic at hand, just to be clear i can delete the .0
> and .000 files from this directory manualy with out causing issues?
> Also if I change my diag path in the future if i run the db2 support
> command the command will know where to get its info correct?
I thought Canossa was actual topic at hand. Back to the previous topic:
1. Yes - removing all *.trp, *.0* files won't cause any problems - assuming you
are not going to report this problem to IBM.
2. You change the diagnostic path by updating database manager configuration -
so db2support can find out where your diagnostic files are...
3. You may consider scheduled task executed daily/weekly (depending on growth
rate of db2diag.log) which renames db2diag.log to db2diag.yyyymmdd (Year Moth Day)
Jan M. Nelken
move