sir
why it is giving error
db2advis -d database_name -t 10 -i input_file -o output file
select distinct s.san_date,d.san_no,d.sl_no,r.item_code,i.descript ion,d.acc_qty,d.landed_cost,d.sale_price from stores_acceptance_note s,stores_acceptance_note_det d,stores_receipt_det r,item_master i where s.bd_code='HY11' and s.bd_code=i.bd_code and d.bd_code=s.bd_code and i.bd_code=d.bd_code and value(d.landed_cost,0)=0 and i.code=r.item_code and s.san_no=d.san_no order by s.san_date,d.san_no
Database is reporting the following error:
error. The db2advis tool needs the explain tables and
the advise tables to exist. Please create them
using the EXPLAIN.DDL script in the misc subdirectory
of the sqllib directory.