Hi Steve, as far as I ( being a DB2-DBA + perl beginner ) understand runstats it's a db2-utility and not some kind of sql-statement, that may be run through dbd::db2.
As I would want to program runstats with perl I would use dbd::db2 to check which tables might need to get a update of their respective statistics and then generate a e.g. nt-cmd-file or a bash-shell-script to get my utility runstats to do what is necessary and afterwards submit this sript file on the os using e.g. the perl funcion system. Here you sure will have to care for the necessary runtime ( db2cmd.exe for win32 / db2profile for *nix a.s.o) Hth Best regards Manfred Beilfuss Deutsche Verm�gensberatung AG IT-Systemmanagement / DBA Gutleutstra�e 7 60329 Frankfurt Tel.: +49 (69) 2384 - 639 Mailto:[EMAIL PROTECTED] steve hatfield <stevenhatfield@ An: [EMAIL PROTECTED] yahoo.com> Kopie: Thema: DBD-DB2 HELP 25.09.2003 16:02 Hello everyone, I am just wondering if there is a way to Run RUNSTATS4 in a perl script that uses DBI for DB2. RUNSTATS is a function internal for Db2 and DBI does not recognized it? Is there another version of DBD-DB2? Please Help. Thanks, -Steve __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com
