Regarding a script tracking system

hi all,
I have created one generalized system for script tracking on particulare user.
Suppose we have a one application user(DB) scripts -- to create user, DDL and DML etc.
and i future any patch script can also be there. and i want to keep track of all the scripts
which are run are not run etc
For that i have developed one java/ Pl-sql program which will get all the file which are exists in
one particular given folder.
Now i want to run all the scripts which are exists in that particlare folder and also
keep try of all the scripts which are already runned on that particular user by making one track_table.
my pl/sql code is as follows.
SET SERVEROUTPUT ON;
DECLARE
     FILE_PATH_V      VARCHAR2(1000);
     VERSION_NO_V     VARCHAR2(50);
BEGIN
     FILE_PATH_V := '&FILE_PATH';
     FOR I IN (select COLUMN_VALUE from TABLE ( cast (GETFILES_FUN( FILE_PATH_V ) as List) ))
     LOOP
          if instr(UPPER(i.column_value),'.SQL') >0 THEN
               dBMS_OUTPUT.PUT_LINE(I.COLUMN_VALUE);
               -- EXEUCTE SCRIPT
          END IF;
     END LOOP;          
END;
/As i searched on net & forum i am not able to get the method to run the *.sql file in pl-sql block.
Any body have any other idea how i can achieve that?
Note:: I have not permission to change the sql files ......
Regards
Singh

This task could easily be done from the OS. But it is "almost" impossible in PL/SQL.
In unix you could do something like (crude pseudocode):
For file in all_files_in_folder_with_ending_sql do
     sqlplus user/password@database @file
     save $file in tracking file
end for
[pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Document for configuring Early watch alerts And issue tracking system

    Hello Experts,
    Iam on SAP Solution Manager 4.0 and need step wise step procedure document for configuring Early watch alerts and Issue tracking system in solman 4.0 . I hv checked Help site and other standard config docs by SAP but getting confused and things are not working ,so help shall be appreciated.
    My Email id is [email protected] .
    Requested to revert at earliest as iam in urgent need of it .Points guaranteed.
    Thanks and Regards,
    Somya

    Hi Somya,
    setting up EWA is explained in Application help of SAP Solution Manager.
    It would be helpful to know, what you have already done and what is causing problems for you.
    Prerequisite to process EWA is to configure all steps described in the Basic Settings of SAP Solution Manager Configuration guide (tx SPRO).
    The configuration of Issue Tracking is also described in the IMG (Basically, it's required to activate a BC Set).
    Path in IMG: Basic Settings -> Standard Configuration of Basic Settings -> Solution Manager -> Basic BC-Sets for Configuration -> Activate Issue Tracking BC Set
    Access the configuration guide:
    - run transaction SPRO
    - choose SAP Reference IMG
    - expand tree SAP Solution Manager -> Configuration -> Basic Settings
    - follow the steps under
    "Wizard-based Initial Configuration of Basic Settings", if your SolMan system has not been yet configured or
    "Standard Configuration of Basic Settings", if you have done already some configuration.
    Best regards,
    Ruediger Stoecker

  • General Inquiry Regarding Error Handling with System Exec.vi

    I have a sub vi that uses the System Exec.vi to send SMS messages when triggered. I am confused as to how the error handling works and why all of the errors seem to go to the "standard error" vs the "Error out". The reason I am interested is because I am trying to interrupt the error out of another script to execute a command if error=true.
    I have intentionally created an error to test this, however it does not seem that the signal is ever being sent to the error out, only to the standard error.
    Any help/explanation as to how this works would be greatly appreciated.

    The Facebook discussion board is just a pilot and that functionality is not available yet (as to my knowledge). You will have to use the actual forum thread to add attachments. You can click the arrow just to the right of thread topic in the Facebook thread and that will take you to the ni.com/forums thread. Or you can navigate here:
    http://forums.ni.com/t5/LabVIEW/General-Inquiry-Regarding-Error-Handling-with-System-Exec-vi/m-p/246...
    Having a look at your VI would help to clarify the error handling issue.
    Daniel K | NI Applications Engineer | Certified LabVIEW Developer

  • How to install elance Tracker System on archlinux?

    Hi guys, anobody here knows how to install elance Tracking system on archlinux,
    Elance only provide rpm and deb packages,
    I tried to use rmp2targz and deb2targz, but don't work, I also checked this video:
    http://www.youtube.com/watch?v=XirJietlTfI
    and it worked, bit I get an error saying that I need to install adobe air, but I already have installed
    can anybody please tell how to install this package??
    the package can be found at:
    https://www.elance.com/php/tracker/main/trackerDownload  (must be logged in on elance),
    I uploaded the packages to mediafire if you want to check them out:
    deb package
    http://www.mediafire.com/?ad9x1h19m8kvomi
    rpm
    http://www.mediafire.com/?gshoa6cu4odcrt3
    I did a PKGBUILD:
    pkgname=elance-tracker-system
    pkgver=current
    pkgrel=2
    pkgdesc="Elance tracking system"
    arch=('i686')
    url="https://elance.com/"
    license=('unknown')
    depends=('libidn')
    makedepends=('rpmextract')
    options=('emptydirs')
    source=("TrackerSetup.rpm")
    md5sums=('356798ce170a942e0fbb3ed5e6243e65')
    build() {
    cd "$pkgdir"
    rpmextract.sh ../TrackerSetup.rpm
    and it works, but when I try to run Tracker, it says:
    This application requires a version of Adobe AIR which cannot be found.
    Please download the latest version of the runtime from
    http://www.adobe.com/go/getair,
    or contact the application author for an updated version.
    Notice that I already have installed adobe-air and adobe-air-sdk
    kind regards.
    thanks
    Last edited by pahko (2012-05-23 04:20:28)

    adamrehard wrote:Could you please post both your PKGBUILD and the error message concerning Adobe Air?
    Sure, thanks, I update the post, but here you have:
    PKGBUILD
    pkgname=elance-tracker-system
    pkgver=current
    pkgrel=2
    pkgdesc="Elance tracking system"
    arch=('i686')
    url="https://elance.com/"
    license=('unknown')
    depends=('libidn')
    makedepends=('rpmextract')
    options=('emptydirs')
    source=("TrackerSetup.rpm")
    md5sums=('356798ce170a942e0fbb3ed5e6243e65')
    build() {
    cd "$pkgdir"
    rpmextract.sh ../TrackerSetup.rpm
    the error:
    This application requires a version of Adobe AIR which cannot be found.
    Please download the latest version of the runtime from
    http://www.adobe.com/go/getair,
    or contact the application author for an updated version.
    Notice that I already have installed adobe-air and adobe-air-sdk
    Last edited by pahko (2012-05-23 04:20:14)

  • Project Contract Delivery Tracking System : Action Button : Action List LOV

    I have a requirement to add a new entry in the "Action List" LOV, when clicked on the "Action" button on the Delivery Tracking System. I searched and found there is a set-up which says
    http://docs.oracle.com/cd/A60725_05/html/comnls/us/pa/pathhlp.htm
    Control Actions is available Setup > Activity Management Gateway > Control Actions . But this link doesn't mention which responsibility.
    Can anyone share if we can do this change .
    Thanks
    Sreedhar

    Hi Sreedhar,
    There is a Standard Menu "OKE-Contract Organizer Actions" holding the actions possible in the Organizer. I think the Actions are controlled by Projects Role Types associated. But I have not tried adding new actions to the list. I suggest please check the code for form 'OKEKDORG.fmb' to check the LOV Rule.
    Regards,
    Kiran

  • TRACK SYSTEM IDLE TIME

    Hii Guys,
    I am working on a client server architecture based project named "ATTENDANCE TRACKING SYSTEM".
    For this, I need a java program that can run in background(without any interface) and track system idle time on client machine.
    The idle time is the time elapsed since last key was pressed or since last time mouse was moved(whichever is later).
    So that, i can use the output of that program to track the idle time of the client machine.
    I searched a lot, but everywhere i found to use JNI. But i dont know anything yet about JNI.
    Please help me out...

    Prince_2188 wrote:
    Thanxx 4 ur reply Mr. Jschell
    But the problem here is that i will have to do it in JAVA, as i have been asked by Wipro Technologies to do it in JAVA.Probably not a good idea to name names.
    The requirement is stupid.
    And given that the requirement is not negotiable you might want to review the contract/requirements before going further. Because using JNI is not using java. So what makes you think that that doesn't break the contract?
    >
    On Internet, i found that doing this task purely in JAVA is not possible and i will have to do it using JNI and C++.
    But i dont know how to use JNI and moreover i could not find coding for the same on Internet.
    Secondly, i m not aware of the functions in Windows API that can help me out in this regard....
    Go to a windows site and ask about what API one would use to monitor idle time. Do NOT mention java. Just ask about the windows API.

  • Is there a tracking system for bugs?

    Dear All,
    Can anyone please recommends a tracking system for bugs to be used for oracle 11i applications. Where can I acquire that software?
    Thank you,
    Faris Baker

    Hi Pandian,
    Thank you very much for your reply. What is OAM please ? What does OAM stands for? Sorry I am new to Oracle 11i.
    I am looking for something that I store all bugs/queries and tier status whether they are fixed/completed or not and by whom ...etc.
    Regards,
    Faris

  • Session Out Error in Status and Tracking System (BPS) Execution

    Hi,
    I am getting the Session timed out error in Status and Tracking System (Open Planning). The reason I found is:
    In STS (Configuratioin) the web link that I have added is valid for one time. Meaning that ever time I visit Web Interface Builder (Execution), it is generating a different web link. Therefore, it is only valid for a single time.
    Is there any way, that I can make the web string that is generated every time I visit Web Interface Builder (Execution) for a particular report, so that I can use that web link in the configuration of STS (Open Planning). In this case the web link every time that generated is dynamic.
    But, this is not the case with Open Report. I prepared a query and attached the web link of the query into (Open Report). The number of times even if I open the report, there is no issue as the web link is static.
    Any inputs on this will be appreciated.
    Regards,
    Ravi

    Hi,
    This has been solved.
    In STS Configuration the web link (URL) that is to be inserted is not the web link that has dynamically generated. However, it is the web link (URL) on the Web Interface Builder (WIB) - Property - URL BSP Application.
    If you use this URL in the STS (Open Report), this will ask the User for User ID and Password to reach that Web Planning Layout and a dynamic code will then be generated. Every time, user visits it generates new dynamic URL.
    Anyway, Thanks in advance.
    Regards,
    Ravi

  • Status and Tracking System Documentation

    Hello Experts,
    I have decided to implement Status and Tracking System.
    Besides the SAP Help i don't have any other documentation.
    Could you send me all the documentation possible to [email protected]
    I will award points.
    Best regards,
    João Arvanas.

    Joao,
    There was a document / presentation on status and tracking by Gerd Schoeffl from the RIG that got officialized into the following how do guild
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c04de690-0201-0010-919d-c64ad7e5af8a
    Check SDN and OSS on STS or "Status and Tracking"
    Hope this helps,
    Mary

  • Status and Tracking System and JAVA AS

    Hello!
    Is it possible to run STS (Status and Tracking System) and BW-BPS without JAVA AS?
    Regards
    Alex

    Will it work not in 3.5 but in NW2004s?
    I'll try to clear situation: we are upgrading SEM 3.1B to NW2004s BI
    It worked in 3.1 but now get errors:
    Diagnosis
    The system was not configured for SAP logon tickets:
    At least one of the two parameters login/create_sso2_ticket and login/accept_sso2_ticket currently has the value 0.
    System Response
    It is not possible to use SAP logon tickets.
    Therefore, there is also no single sign-on support when using SAPGUI HTML Control and calling local ICF services (see SAP note 612670).
    It looks like integration between JAVA and ABAP.
    That's why I want to know - should I try to solve this problem without JAVA ot it's impossible?
    I saw similar problem in another message (Status and Tracking System and JAVA AS), but it's still not answered
    Best Regards
    Alexey

  • Sap (Status and Tracking System) manual.

    Hello I already researched to find a user manual of Sap (Status and Tracking System), where everything´s explained step by step, and how to use the STS to, but I didn´t find any, does anyone can help me? Thanks
    Best regards,
    MJ

    Hi,
    You can find the STS user manual learning guide in the following mentioned link:
    http://help.sap.com/saphelp_sem60ep1/helpdata/en/05/242537cedf2056e10000009b38f936/frameset.htm
    This link would help you in understanding STS wrt BPS.
    Hope this helps.
    Pls award points.
    Regards,
    Poonam

  • BPS Status and Tracking System

    Hi,
    I am trying to configure the status and tracking system in BW BPS. Can somebody please let me know if there is any documentation on STS?
    Regards,
    Daya

    HI
    Check these links
    http://help.sap.com/saphelp_nw04/helpdata/en/b6/92bc7479fb11d5b3df0050dadfb23f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/969340a966b80ee10000000a155106/frameset.htm
    Documents in STS
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/969340a966b80ee10000000a155106/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/26/fe7b4070ebd462e10000000a155106/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/how%20to%20use%20sap%20gui%20planning%20folders%20with%20the%20status%20and%20tracking%20system.doc
    Regards
    N Ganesh

  • Status tracking system

    Hello
    We have a Status tracking system. I want to find out what are the tables which are being used for this STS in the backend..can somone suggest me how should i proceed.

    Dear graeme brannen  ,
    STS Definition
    The BW-BPS Status and Tracking System helps you to monitor the progress of the different planning tasks within your company. The system keeps a record of the iterations which run through a specific planning task in practice (requirement notification bottom-up, resource assignment top-down) and brings together the planning objects created in the planning environment with the employees who use these objects to process the actual planning tasks.
    You could get more information ON STS here
    [STS Basic|http://help.sap.com/saphelp_nw04s/helpdata/en/b6/92bc7479fb11d5b3df0050dadfb23f/frameset.htm]
    Also please go through this for further clarification
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=statustrackingsystem&cat=sdn_all
    Hope it helps you,Revert me back if you have any queries
    Assign points if helpful
    Regards
    Bala

  • Status & Tracking system History

    Hello Everybody,
    I have a special situation here. I need to show my clients my Status and Tracking system history. Let me give u a mudane example,
    A cost  center account undergoes twice budget changes both the times with the 'accepted' status. I should show the client in a report when and what amount has this account undergone during the two budget changes like this
    Account   Changed on     Changed amount   Approved by              Requested by
    23423       14.05.2007          100000€           Thomas Escher          Wolf schere
    23423       13.06.2007          120000€          Thomas Escher          Wolf schere
    My question,
    Do status & tracking system hzas table where i can get this information. !?
    If not do you have any other approach on mind for this issue!?
    Any idea is highly appreciated,
    Regards & many thanks indeed,
    Karthik

    STS data is contained in tables starting 'UPS'.
    However, the STS history is not going to show which accounts changed, by whom, I think. It can show the status change history by user for a planned unit. (Click the  'Present status' link in the STS. )
    If you want to see which user changed particular values you would have to set the BPS model to record the user id and date/time; it could generate very large amounts of data.

  • Vehicle tracking system

    How can I read the mobile internal information like System ID through my MIDlet. I'm working on a project of vehicle tracking system. Every tower (GSM) has a unique System ID which the mobile update as soon as it enters a new cell. Now the problem is how can I read the System ID. Thanks in advance.

    Hi vyasanirudh,
    I'm going to work in a project called Vehicle Tracking system. Our company have no idea of how to implement this in Java platform. Pls give me the details for it and the technologies that should be used for the application in java and more information if u feel that will help me
    Thanks & Regards
    Mani

Maybe you are looking for