Enterprise Manager Generic (MOSC)

MOSC Banner

Need Assistance with OEM PL/SQL Block

edited Apr 2, 2012 9:19AM in Enterprise Manager Generic (MOSC) 11 commentsAnswered
 Hi Folks
I am trying to add a scheduler job in OEM DBConsole
The PLSQL runs just fine in SQLPLUS, but when I try to incorporate it into an OEM Scheduler job it has a fit
I have no clue why it works in SQLPLUS and not in OEM

Anyone with experience with PLSQL and can assist would be appreciated, otheriwse I have to submit and SR

DECLARE
srec DBMS_STATS.STATREC;
v_distcnt NUMBER;
v_density NUMBER;
v_nullcnt NUMBER;
v_avgclen NUMBER;
numvals DBMS_STATS.NUMARRAY;
charvals DBMS_STATS.CHARARRAY;
datevals DBMS_STATS.DATEARRAY;

BEGIN

DBMS_STATS.get_column_stats (ownname => 'LLPROD',

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center