Hi,
If you run the procedure from an SQL job in the Automation Engine like this (Form tab of the SQL job):
begin
DBMS_OUTPUT.ENABLE(1000000);
uc4admin.uc_reorg;
end;
you end up with the same error as Krum_Ganev has reported, so obviously you need to supply some parameter. If you add the table name like this:
begin
DBMS_OUTPUT.ENABLE(1000000);
uc4admin.uc_reorg('MQ1RWP');
end;
the SQL procedure runs fine.
Now, according to Support, UC_REORG is only supposed/designed to reorganize the MQ tables and is triggered when you set MQ_CHECK_TIME to any other value than '0'.
Is it possible to reorganize other tables than MQ* with the UC_REORG procedure? will it work ?
/Keld.