Error while dropping Job

Hi,
While droping a scheduler i'm getting error message like this. What i have do to?
begin
dbms_scheduler.drop_job('123',false);
end;
begin
ERROR at line 1:
ORA-00931: missing identifier
ORA-06512: at "SYS.DBMS_UTILITY", line 132
ORA-06512: at "SYS.DBMS_UTILITY", line 164
ORA-06512: at "SYS.DBMS_UTILITY", line 218
ORA-06512: at "SYS.DBMS_SCHEDULER", line 540
ORA-06512: at line 2
Thanks in Advance

Hi,
job names follow the same rules as for table names. To use a job or table name starting with a number or with special characters you need to use double quotes around the name e.g. dbms_scheduler.drop_job('"123"',false);
If you are trying to drop a dbms_job job you should use dbms_job.
Hope this helps,
Ravi.

Similar Messages

  • Error while dropping a table

    Hi All,
    i got an error while dropping a table which is
    ORA-00600: internal error code, arguments: [kghstack_free1], [kntgmvm: collst], [], [], [], [], [], [], [], [], [], []
    i know learnt that -600 error is related to dba. now how to proceed.
    thanks and regards,
    sri ram.

    00600 errors should be raised as service request with Oracle as it implies some internal bug.
    You can search oracle support first to see if anyone has had the same class of 00600 error, and then if not (and therefore no patch) raise your issue with Oracle.
    http://support.oracle.com

  • Error while dropping tablespace

    Hi all
    I am getting follwogin error while dropping tablespace.is it memory prob?
    ERROR at line 1:
    ORA-04031: unable to allocate 4180 bytes of shared memory ("shared
    pool","unknown object","sga heap(1,0)","state objects")
    Thanks.

    Your Sga seems too small, you should increase it

  • 5 error while checking job status

    Hi,
    We are getting the following error when we are trying to check the status of the process chain through FM 'RSPC_API_CHAIN_GET_STATUS':
    5 error while checking job status.
    The real scenario is we are using an abap screen with a button on it. when the user clicks on the button we call the FM 'BP_EVENT_RAISE' to trigger the process chain. once the chain is triggered we are having an endless loop to monitor the status of the chain with FM 'RSPC_API_CHAIN_GET_STATUS' untill the chain status turns green ie G.
    Now while monitoring the status it randomly throws me the above error. it seems to work sometimes and other times it gives the popup with the said error.
    Can anybody help why we get the error.
    Regards,
    Shashank

    Hi Shanshank,
    Try to Debug the FM.
    Rgds,
    Ravi

  • Error While Drop User

    Dear Experts,
    I got Error While Drop User.
    This is the Error msg.
    SQL> DROP USER FORPROCURE CASCADE;
    DROP USER FORPROCURE CASCADE
    ERROR at line 1:
    ORA-00600: internal error code, arguments: [16201], [], [], [], [], [], [], []

    ORA-600 is Oracle's generic error code for unhandled exceptional behaviour (a bug to you or me). these things tend to be version and OS specific.
    The standard advice is to contact Oracle Support. Frequently the solution is to upgrade to a later patch version.
    But you might be fortunate. If you tell us your database version and OS platform we might be able to help you. Do you have any wrapped PL/SQL?
    Cheers, APC

  • Ora-00604,ora-01422 error while dropping the table

    Hi gurus,
    I am using Oracle 10g R2 on windows 2000 platform,while dropping the table the following error occured.
    ORA-00604 : error occurred at recursive sql level 1.
    ORA-01422: exact fetch returns more than requested number of rows.
    Need urgent help.
    Thanks in advance

    Is there an AFTER EVENT trigger defined on this database? Can you check that?
    Secondly, was this database migrated from earlier version? I remember having seen this problem on 9i (it was 9.2.0.1 or 9.2.0.2; I can't recall exactly).

  • Error while creating job server in BO dataIntegrator in linux

    Hi,
    I have installed BODI in linux(in the directory /opt/app/DataIntegrator), while configuring job server I got the following error.
    Updating the repository <bodi@tdw__Oracle>.  Please wait...
    sh: line 1: 15850 Aborted                 al_engine -Ubodi -Pbodi -Stdw -NORACLE
    -ZMACHINEINFOI/opt/app/DataIntegrator/bin/machine.sql 2>/tmp/al_machine.out.156
    78
    UNABLE to Update the repository <bodi@tdw__Oracle>. Please check the /tmp/al_mac
    hine.out.15678 for more details!
    SNMP is disabled.
    Can anybody help me to debug this.
    Regards,
    Anitha

    Now i can able to login to my weblogic admin console and find that listen address is blank i have given the listen address as localhost now i can able to create the application server connection successfully ...Listen address blank means your server will accept connections on all network addresses i.e. on localhost, on 127.0.0.1 and on IP/Host name of machine
    If you want to access this server from a remote machine as well, then better keep the listen address field as blank OR assign the value of hostname/IP of machine as listen address. In case you set listen address as hostname/IP of machine, server will not listen anymore to localhost or 127.0.0.1
    1)Now iam working in local machine so that i am giving localhost .... In case i doing some bpel work in my local machine and after completing the work if want to move to my server ...do i want to change the connectionand give my server hostname ha?If your BPEL server is a remote server then better create a new connection for that (using listen address and port of that server)
    How to see errors in Admin server log C:\Oracle\Middleware\user_projects\domains\Soa_base_domain\servers\AdminServer\logs ...is it i want to check it here?Yes, you need to check the logs in this directory in file AdminServer.log
    How to check this?Under $Domain_Home/bin (C:\Oracle\Middleware\user_projects\domains\Soa_base_domain\bin), there will be a file setSOADomainEnv.cmd. If you open this file using notepad, you would see a setting like below -
    set DEFAULT_MEM_ARGS=-Xms512m -Xmx768mThis setting defines the heap memory.
    Regards,
    Anuj

  • Partitioned nested table error while dropping one partition

    All,
    I created a partitioned table which is also a nested table as you can see below. I got FK constraint error while attempting to drop a partition, however, I could not find the FK in order to disable it since it's underlying table emp_list_p which is not visiable to applications. How could I drop the partition in this case?
    Thanks,
    Jianhui
    SQL>desc emp_t
    Name Null? Type
    ENO NUMBER
    ENAME VARCHAR2(30)
    SAL NUMBER
    SQL>desc emp_list_t
    emp_list_t TABLE OF EMP_T
    Name Null? Type
    ENO NUMBER
    ENAME VARCHAR2(30)
    SAL NUMBER
    SQL>l
    1 create table dept_p
    2 (dno number,
    3 dname varchar2(30),
    4 emplist emp_list_t )
    5 NESTED TABLE emplist store as emp_list_p
    6 partition by range (dno)
    7 (
    8 partition p1 values less than (2),
    9 partition p2 values less than (3)
    10* )
    SQL>/
    Table created.
    SQL>insert into dept_p (select * from dept);
    2 rows created.
    SQL>select * from dept_p;
    DNO DNAME
    EMPLIST(ENO, ENAME, SAL)
    1 HR
    EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000))
    2 SALES
    EMP_LIST_T(EMP_T(3, 'frank', 800))
    2 rows selected.
    SQL>alter table dept_p drop partition p1;
    alter table dept_p drop partition p1
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    SQL>l
    1 select constraint_name, constraint_type, table_name
    2 from user_constraints
    3 where r_constraint_name=(select constraint_name
    4* from user_constraints where table_name='DEPT_P' and constraint_type in ('P','U'))
    SQL>/
    no rows selected

    SQL> create type emp_t as object(
      2  ENO NUMBER,
      3  ENAME VARCHAR2(30),
      4  SAL NUMBER)
      5  /
    Type created.
    SQL> create type emp_list_t as table of emp_t;
      2  /
    Type created.
    SQL> desc emp_list_t
    emp_list_t TABLE OF EMP_T
    Name                                      Null?    Type
    ENO                                                NUMBER
    ENAME                                              VARCHAR2(30)
    SAL                                                NUMBER
    SQL> create table dept_p
      2  (dno number,
      3  dname varchar2(30),
      4  emplist emp_list_t )
      5  NESTED TABLE emplist store as emp_list_p
      6  partition by range (dno)
      7   (
      8   partition p1 values less than (2),
      9   partition p2 values less than (3)
    10   )
    11  /
    Table created.
    SQL> insert into dept_p values(1, 'HR',
      2  EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000)));
    1 row created.
    SQL>
    SQL> insert into dept_p values(2, 'SALES',EMP_LIST_T(EMP_T(3, 'frank', 800)));
    1 row created.
    SQL> select * from dept_p;
           DNO DNAME
    EMPLIST(ENO, ENAME, SAL)
             1 HR
    EMP_LIST_T(EMP_T(1, 'scott', 1000), EMP_T(2, 'brain', 2000))
             2 SALES
    EMP_LIST_T(EMP_T(3, 'frank', 800))
    SQL> alter table dept_p drop partition p1;
    alter table dept_p drop partition p1
    ERROR at line 1:
    ORA-02266: unique/primary keys in table referenced by enabled foreign keys
    SQL> select constraint_name,table_name,constraint_type from user_constraints
      2  where table_name = 'DEPT_P';
    CONSTRAINT_NAME                TABLE_NAME                     C
    SYS_C008224                    DEPT_P                         U
    SQL> select index_name from user_constraints
      2  where table_name = 'DEPT_P';
    INDEX_NAME
    SYS_C008224
    SQL> select index_name,column_name from user_ind_columns
      2  where index_name = 'SYS_C008224';
    INDEX_NAME                     COLUMN_NAME
    SYS_C008224                    EMPLIST
    SQL>
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.4.0 - Production
    With the Partitioning, OLAP and Data Mining options
    If you look closely, there is a unique index on dept_p.  Oracle does not advertise it.
    One of the options is that you may have to delete the rows in the partition first,
    then drop the partition.

  • Error while executing Job

    Hi All,
    I am facing an error while trying to run a job for IDOC data posting in to SAP ECC 6.0.
      XML source in data flow <Query> could not process the XML data .Notify Customer Support
    Anyone has got this scenario. Please suggest any inputs.
    Thanks
    Phaneendranadh K

    Hi,
    If  CI & DB are on different host this error normally occures.SAP return codes 236 means no connection to gateway, can you check it?
    Also check whether TCP/IP RFC connection SAPXPG_DBDEST_*  is working fine or not.If it is not working fine then please check whether you have mentioned below details
    Program              sapxpg
    Target Host          DB Host name
    Gateway Host    DB host/gateway host
    Gateway service sapgw##
    Also refer SAP Note  108777 - CCMS: Message 'SAPXPG failed for BRTOOLS' & Note 446172 - SXPG_COMMAND_EXECUTE (program_start_error) in DB13
    Hope this helps.
    Thanks,
    Sushil

  • Error while dropping a job

    SQL> SELECT JOB FROM DBA_JOBS;
    JOB
    1
    SQL> EXEC DBMS_JOB.REMOVE(1);
    BEGIN DBMS_JOB.REMOVE(1); END;
    ERROR at line 1:
    ORA-23421: job number 1 is not a job in the job queue
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
    ORA-06512: at "SYS.DBMS_IJOB", line 529
    ORA-06512: at "SYS.DBMS_JOB", line 171
    ORA-06512: at line 1
    The job wasn't created successfully in the first place, but it wouldn't let me drop it either !! What may be the problem ?
    Thanks

    SQL> SELECT SCHEMA_USER,JOB FROM DBA_JOBS;
    SCHEMA_USER JOB
    SYSMAN 1
    Not sure, what this is. Looks like it is not my job. However, I still have errors executing my procedure...
    Or let me get back to square one.
    What I am trying to do is to execute this :
    The file name is group1_dbms_script.sql (I am trying to just export the group1_tab1 and group1_tab2 tables which are present in the CLIENT schema,,,that's all i needed... but using this dbms_datapump API)
    declare
    l_dp_handle NUMBER;
    begin
    l_dp_handle := DBMS_DATAPUMP.open(
    operation => 'EXPORT',
    job_mode => 'TABLE',
    remote_link => NULL,
    job_name => 'group1',
    version => 'LATEST'
    DBMS_DATAPUMP.add_file(
    handle => l_dp_handle,
    filename => 'group1.dmp',
    directory => 'EXPORT_DIR'
    DBMS_DATAPUMP.add_file(
    handle => l_dp_handle,
    filename => 'group1.log',
    directory => 'EXPORT_DIR',
    filetype => DBMS_DATAPUMP.KU$_FILE_TYPE_LOG_FILE
    DBMS_DATAPUMP.metadata_filter(
    handle => l_dp_handle,
    name => 'SCHEMA_EXPR',
    value => 'IN (''CLIENT'')');
    DBMS_DATAPUMP.metadata_filter(
    handle => l_dp_handle,
    name => 'NAME_EXPR',
    value => 'IN (''GROUP1_TAB1'',
    ''GROUP1_TAB2'')');
    DBMS_DATAPUMP.start_job(l_dp_handle);
    DBMS_DATAPUMP.detach(l_dp_handle);
    END;
    When i do (in sqlplus)
    @group1_dbms_script.sql
    I am getting
    ERROR at line 1:
    ORA-31634: job already exists
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 79
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 911
    ORA-06512: at "SYS.DBMS_DATAPUMP", line 4354
    ORA-06512: at line 4
    Please help. I haven't used this API before, hence not sure if something is wrong with what I wrote, of if some admin sql like catexp needs to be run....

  • Error while dropping/creating new queue table

    Hi,
    I am trying to modify an existing AQ setup. In the process, I had to remove a queue and redirect all its subscriptions to another queue.
    I get an oracle "sequence does not exist" while trying to drop the queue table. The sequence of operations that I am carrying out is:
    disable propagation schedule
    unschedule propagation
    stop queue
    drop queue
    drop queue table
    The error occurs when the drop statement is executed.
    I tried restoring the existing configuration, but got the same error message while trying to add a subscription.
    Could you help me with this problem? What am I missing here?
    Thanks,
    Anupama

    In what version of Oracle?
    I see a couple of problems assuming you are working with a currently supported version:
    1. Never grant CONNECT to anyone: Ever. Grant CREATE SESSION.
    2. GRANT CREATE TABLE to AQ;
    Go to Morgan's Library at www.psoug.org and look at AQ Demo 1. You should have no problem cutting and pasting your way to where you are trying to go.

  • GETWA_NOT_ASSIGNED error while scheduling job through F9

    Hi All,
    i am getting <b>GETWA_NOT_ASSIGNED</B> dump while scheduling a job through F9 and giving local printer as LP01.
    any pointers regarding this ?
    thanks
    kunal kishan

    Hi Ankesh,
    can you please elaborate on this.???
    Basiclly when i am trying to schedule a job by pressing F9 and setting it to immediate. when i chek in SM36, the job gets cancelled. The dump says "GETWA_NOT_ASSIGNED" error. The source code where the error is soming is a refresh statement.

  • Error while dropping user

    Hi,
    While i m trying to drop a user it shows the following error:
    ora -04021:timeout occurred while waiting to lock object sys.dbms_lock;
    The user is not dropped.How to avoid this error???
    Thanx..

    hello,
    issue
    sqlplus / as sysdba.
    select SID,username,BLOCKING_SESSION,EVENT,LOGON_TIME from v$session where username='YOUR_USERNAME_In_CAPITAL';
    please after this.
    get the session blocking the username and call the user who is blocking you.if this is non production machine kill this session.
    kind regards
    Mohamed

  • Giving Error while running job.

    Hi all,
    I am getting error when i am trying to run the job for ID 94,95,96
    BEGIN
    dbms_job.run (95);
    END;
    ORA-12011: execution of 1 jobs failed
    ORA-06512: at "SYS.DBMS_IJOB", line 651
    ORA-06512: at "SYS.DBMS_JOB", line 284
    ORA-06512: at line 2
    Can any one help me on this.
    Data Base version : 11.2.0.1.0
    Thanks in Advance.
    Saroop.

    Problem may be the way you submitted the job. Check if WHAT clause has the schema identifire while submitting the job, as below :
    DBMS_JOB.SUBMIT( ..
    what => 'BEGIN SCHEMA_NAME.JOB_PROC; END;', ......

  • Internal error while posting job in erecruitment

    Hi all,
    I am facing a internal error occured problem in erecruitment.
    I went to erercruitment>employee>recruiter>maintenance>create requistion-->posting
    under that after giving datas i am trying to save the file.
    then its showing these error.
    Please help me to resolve this issue.
    Thanks and Regards
    Vijay

    Hi,
    I think you are following the below path:
    Personal Pages > Requisition Maintenance > Requisition > Job Posting .
    under job postings we have 1.Basic data
    2.Basic data
    3.status
    4.Data overview.
    5.Publications.
    under the Requisition---->Status(one of the tab, before to Job postings)
    Check with the status should be in 'relased' state.
    If it is Relesed it wont give you an error.
    I faced this problem in the earlier while developing my object.
    Let me know if you are facing any problem.
    Thanks,
    Anil.G

Maybe you are looking for