Viewing lock

I want to use CATBLOCK.SQL in PL/SQL to display locking information.
now, I'm in C:\oraclexe\app\oracle\product\10.2.0\server\BIN
but CATBLOCK.SQL and UTLLOCKT.SQL are in
C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN
I use "HO cd" to change dirctory, it doesn't work.
and when I ran the following command, I got these message. How should i do? Thanks a lot.
SQL> @C:\oraclexe\app\oracle\product\10.2.0\server\RDBMS\ADMIN\UTLLOCKT.SQL
drop table lock_holders
ERROR at line 1:
ORA-00942: table or view does not exist
Table created.
drop table dba_locks_temp
ERROR at line 1:
ORA-00942: table or view does not exist
create table dba_locks_temp as select * from dba_locks
ERROR at line 1:
ORA-01775: looping chain of synonyms
from dba_locks_temp w, dba_locks_temp h
ERROR at line 9:
ORA-00942: table or view does not exist
Commit complete.
drop table dba_locks_temp
ERROR at line 1:
ORA-00942: table or view does not exist
0 rows created.
Commit complete.
no rows selected
Table dropped.
Message was edited by:
user602633

You can use @@.
From SQL*Plus documentation:
Examples
Suppose that you have the following script named PRINTRPT:
SELECT DEPARTMENT_ID, CITY FROM EMP_DETAILS_VIEW WHERE SALARY>12000;@EMPRPT.SQL@@ WKRPT.SQL
When you START PRINTRPT and it reaches the @ command, it looks for the script named EMPRPT in the current working directory and runs it. When PRINTRPT reaches the @@ command, it looks for the script named WKRPT in the same path as PRINTRPT and runs it.
Suppose that the same script PRINTRPT was located on a web server and you ran it with START HTTP://machine_name.domain:port/PRINTRPT. When it reaches the @ command, it looks for the script named EMPRPT in the current working directory and runs it. When PRINTRPT reaches the @@ command, it looks for the script named WKRPT in the same url as PRINTRPT, HTTP://machine_name.domain:port/WKRPT.SQL and runs it.
Also, I am pretty sure those table drop errors are normal.
Can you select from DBA_WAITERS?

Similar Messages

  • Unable to view locked data in Data Forms

    Hi,
    Does anyone know why we are not able to view locked data (it just shows empty orange cells) in Data Entry Forms? We added a column to the Data Form with the prior quarter information. This is just for information purposes and not for entering data, so the users see in one single form what they entered in the prior quarter. Unfortunately the cells do not show any data when the prior quarter is locked.
    Any idea?
    Thanks a lot!

    Unlock Data and run updated Business Rules and lock again...

  • Employee not able to view locked personal data in ESS

    Gurus,
    Cna anyone suggest, if the employee enter some details in the personal data related infotypes, the details get locked in backend. we are fine with this, but these locked details are not visible to the Employee thrugh ESS.
    is it possible to arrange for such view in Standard implementation, we are in 604 enviornment.
    thnks nd regards
    vedashre

    Hi
    This issue is not clear
    Generally ESS users do not have SAP GUI access - even if they did - one of their sessions would still be open for maintainence
    The majority of locks issues that occur is if ESS user has opened a session to maintain their Personal details and HR
    admin is trying to get into the record in ECC or HR administrator is editing the PERNR in the back-end and ESS user tries to access the record - in the case only the user to first create the lock will have access
    Best wishes
    Stuart

  • TLB view locking Deployment view

    Hi Experts,
    User is in the TLB view with a location product but for the same combination he can not go to the change mode using deployment view.
    Planning area gets locked for that product location combination.
    Can anybody explain why this is happening and how to fix this?
    Thanks in Advance,
    Chandan

    Dear Chandan,
    Note 1000893 will avoid to have one tlb session locking the whole planning version and will allow the other users to work on locationproducts.                                                         
    Please implement it and test.
    Regards,
    Tibor

  • Remote view lock ups

    I've recently started using the check-in/check-out option in DW (cs4) and started experiencing a very frustrating issue. If I am connected to the remote server, DW wants to hang every few seconds. It doesn't matter what view I am in or if a file is open or not. Just being connected to the remote server  causes this behavior.
    By "hang" I mean DW will not do anything. Example, if a document is open, I can't even click on the document to give it focus. I can't highlight code, I can't click FILE. It stays this way for about 5 seconds and then within a minute later, it will do it again. I have to make sure to disconnect from the server before attempting to actually do work.
    I've been connecting to this server for several months and nothing other than utilizing the check-in/check-out functionaliy has changed. Has anyone else experienced this issue? Does anyone have suggestions to fix it?
    Scott

    OK, this went from bad to worse. DW crashed earlier and then would not restart. When I attempt to launch it (on a PC btw) it almost immediately goes completely white and shows as "not responding". I have uninstalled and re-installed dreamweaver twice and tried deleting the application data configuration folder.
    I also thought it might be an issue with my site definitions being bad, so I moved the site root folders and when I tried to start DW complained that the folders were missing. I thought "great, finally getting somewhere"! It allowed me to edit the site definitions and I deleted the 3 sites I had defined. When I closed out of the site manager, it went right back to a white "not responding" screen.

  • Quicktime 7 Error Stops Video Recording ( 7,900 VIEWS ) Locked???

    https://discussions.apple.com/thread/1704655?start=0&tstart=0
    I am having a terrible time with Quicktime 7 and it's automatic stopping of a recording during recording.
    Apple locked the posts that are years old .. but still the problem persists.
    I am trying to transfer a simple VHS in high quality .. and can't find a way.
    Anyone have a solution?

    I found a app called Vidi for Formac Firewire DV converters. It may work with others .. but it solved my issue of the recording stoppinng due to poor VHS quality or breaks in the video.

  • What will happen when I lock a view?

    When I lock a view using lock table* statement, what will happen?*
    Is the view get locked?
    Or all the base tables are locked from which view is created?
    Or no lock is applied?
    :D

    OrionNet wrote:
    Sohil,
    Exact what lock statement you are using.
    If following statement used, then you will able to query (select) both the table and view.
    ??? Oracle table lock never keeps other users from querying a table, and a query never acquires a table lock. So I am not sure what were you trying to say. Anyway, locking a view locks all base tables:
    SQL> create or replace
      2  view emp_dept_vw
      3  as
      4  select ename,dname
      5  from emp e,dept d
      6  where d.deptno = e.deptno;
    View created.
    SQL> select object_name
      2  from user_objects
      3  where object_id in(select id1 from v$lock where sid=(select sid from v$mystat where rownum=1))
      4  /
    no rows selected
    SQL> lock table emp_dept_vw in share update mode;
    Table(s) Locked.
    SQL> select object_name
      2  from user_objects
      3  where object_id in(select id1 from v$lock where sid=(select sid from v$mystat where rownum=1))
      4  /
    OBJECT_NAME
    DEPT
    EMP
    SQL> SY.

  • How to find out  Locks on the database objects

    how to find out Locks on the database objects

    The following notes should be helpful:
    Note: 200590.1 - bde_session_locks.sql - Locks for given Session ID
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=200590.1
    Note: 1039273.6 - SCRIPT: VIEWING LOCKS ON OBJECTS HELD BY SPECIFIC USER
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=1039273.6
    You can also search Metalink, there are many notes/scripts published there which would be also helpful.

  • Creating a view on KONA & KONH -  Failed with 'Field name DATAB not unique'

    Hi all,
        I am creating a view on KONA (Rebate Agreement) & KONH (Conditions Header) tables. The link is KONA-KNUMA = KONH-KNUMA_AG.
       The field 'DATAB' exists in both tables and I have included those two fields under 'View Fields' . When I tried to activate the View, it fails with 'Field name DATAB not unique'.
       The following is the complete error message:
    Message no. MC060
    Diagnosis
    When you define aggregates (views, lock objects or matchcode objects), you can assign the aggregate fields your own names (the system assigns names to the basic fields automatically). These names must be unique.
    System response
    The system has established that the names assigned to the aggregate fields in an aggregate definition are not unique and issues an error message.
    Procedure
    Assign unique names to the aggregate fields in question.
       Why I am not able to create the view after including a field that EXISTS in two tables, PLEASE ?
    Thanks,
    Venkat.

    Hi,
    you can include both fields (but what for??); most likely KNUMH will also complain after fixing DATAB (just a guess...).
    You can include both fields if you name them differently (different aliases):
    In the view fields tab, enter two different names in the column "view field".
    this will work.
    hope this helps...
    Olivier.
    Message was edited by:
            Olivier Cora

  • How to go for print preview option for locked/blocked items in PO.

    Dear all,
    Can we view PO even all the line items or some items in that PO are locked or blocked, by clicking Print preview button. If not by that button, is there any other way to view locked/blocked items in Print Preview format.
    Can anybody suggest me on this ?
    Thanks
    Hemanth

    Hi,
    Its not possible to see the line item in the print preview if it is blocked...
    You can only display in the PO only...why do you need Print preview of blocked items??
    Added on :
    You can check these locked details in the EKKO and EKPO table in the SE16 tcode for the respective PO and can also download the details if req. from the same table..
    Hope it helps..
    Regards
    Priyanka.P

  • How to lock guides in Extension Builder 3?

    I added 4 guides in the active document:
    js code:
    var leftLine=activeDocument.guides.add (Direction.HORIZONTAL,10);
    var topLine= activeDocument.guides.add (Direction.VERTICAL,10);
    var rightLine = activeDocument.guides.add (Direction.HORIZONTAL,(activeDocument.width - 10));
    var bottomLine = activeDocument.guides.add (Direction.VERTICAL,(activeDocument.height - 10));
    How can i lock them like in the Photoshop Menue "View -> Lock Guides"?

    Hi ,
    As Olaf Helper mentioned above ,Indicator is right option to  show Signs .
    how to implement indicator you can use my post as
    indicator in SSRS.
    Or
    You can use Font family setting for this. use
    Checkbox in SSRS
    Step 1: Right Click on Cell -> F4 -> Font -> Font Family -> set Wingdings
    Step 2  : use expression as
    =IIF(Fields!Value.Value, Chr(0254), "o")
    Thanks
    Please Mark This As Answer or vote for Helpful Post if this helps you to solve your question/problem. http://techequation.com

  • Unlocking view while activeSync process is running

    May I know if there is any fix for the following problem in Identity manager 8.1.
    I have a problem with view locking in activeSync. If a user is logged in to IdM user interface (and thus lock a user view), and that activeSync receives an update for the same user, activeSync will fail and skip that change number. This causes certain changes are not processed by activeSync.
    Does anyone know how can I unlock a user view by using xpress/java code? In that way I can make sure activeSync process always unlock a user before any process, and thus resolve the issue.
    Thanks!

    I run into this same situation all the time. I haven't implemented a fix for it yet, just thought out some ideas on how to solve it. So far this is what I've thought of.
    I'd be hesitant to unlock a user view when the user is logged in however since it is possible that the user is making changes to his own data while activeSync is trying to do so at the same time. The whole purpose of the lock is to prevent the user from trying to make changes that never get saved because someone has come in and undone.
    My (as of yet unimplemented) solution is going to be to check for the existence of a lock. If one exists set up a deferred task to reprovision the user a few minutes into the future. This way the user's changes can be assimilated and the active sync event just gets deferred until the lock is released.
    Having said that, there are a number of "unlockView" and "unlockObject" methods available. Have a look at the javadoc in the REF kit. (See the index, it makes it easier to find.) It looks like there is an "isLocked" method on the WSUser object as well as well as a "getLockInfo" on the parent class.
    In the activesync workflow, you should be able to use a "getObject" workflow service to get the user object. From there you can determine if the user is locked or not.
    Again, I haven't implemented this yet so I'm not 100% certain it's even possible.

  • Report for locked person

    Hi
    Can anyone told me that Is there any standard report in the system for viewing lock personnel no.
    Waseem

    Hi,
    If you go to the particular payroll area's control record there is a provision there where you can see all the locked personnel numbers of that payroll area.
    In PA03, GOTO --> Locked Personnel numbers (Shift+F7).
    Regards,
    Shreyasi.

  • Open crystal viewer / XML file

    i create with my application a xml and xsd file, which the datafile for the report. when i open with my application the crystal viewer everything is working correct.
    but when i close the viewer and i want to reopen the XML file with my application i get an open error for the XML file.
    When i restart the application it works again.
    Who has an idea why the crystal viewer locks my xml file.
    thanks for info
    K.

    Hi Klaus,
    The crystal reports viewer keeps a reference to the the XSD file. Try to create a XML file which has the schema within itself and test the same with the crystal reports.
    Regards,
    Hitesh Mangtani

  • Unlock user view

    I have a problem with view locking in activeSync. If a user is logged in to IdM user site (and thus lock a user view), and that activeSync receives an update for the same user, activeSync will fail and skip that change number. This causes certain changes are not processed by activeSync.
    Does anyone know how can I unlock a user view by using xpress/java code? In that way I can make sure activeSync process always unlock a user before any process, and thus resolve the issue.
    Thanks!

    I am also facing the similar problem where AS events are getting missed because the user is locked.
    Few questions
    1) I have checked that there is a unlockobject XPRESS call available to unlock the object. How efficient is it? If I assign "unlock user" capability to the admin will that admin have rights to unlock the object.
    <Action id='0' application='com.waveset.session.WorkflowServices'>
    <Argument name='op' value='unlockObject'/>
    <Argument name='type' value='User'/>
    <Argument name='name'>
    <ref>userId</ref>
    </Argument>
    <Argument name='authorized' value='true'/>
    <Argument name='subject'>
    <ref>WF_CASE_OWNER</ref>
    </Argument>
    </Action>
    2) What is the implication if I reduce the unlocktimeout in the repository configuration to 1 min or 30 sec?

Maybe you are looking for

  • Schedule program in background & send output list as group email

    Hello all, I have a requirement where I have to schedule a job in background. If there happen to be an output, this output needs to be sent to the email id's stored in a Z Table. Please let me know how to proceed. Regards, Salil

  • Restore database failed on Oracle 10g 10.2.0.1 linux 32 bit

    Hi, I am working on test database for testing database disaster recovery. 1) i made full database backup by RMAN and ui also have archive log 2) i noted DBID and all folders of database 3)Turn on the Controlfile auto backup 4) then i drop database 5)

  • Had anybody tried to boot camp Windows 10 on Mac mini (late 2012)?

    I know the support site clearly did not list windows 10. I wonder if any front runner or hobbyist had ever tried it. I am new to mac and need to use the mac to practice X code. I don't have the experience to experiment this boot camp (on windows 10)

  • Get '500 Internal Server Error' during SIP INVITE - cause 44

    /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in

  • Oracle 10g listener service_register

    Hi all, some days ago I migrate a production instance to my local workstation by using rman full backup/restore to restore some tables.... After finish my restores I delete the instance on my workstation and from now on I have a listener behave that