Communication with Unix THrough Pl/SQl

Hello,
Is it possible to run unix scripts or commands through pl/sql coding,
Thanks
Karthik.

Yes,
http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:952229840241

Similar Messages

  • Service Manager "Error communicating with component" after moving SQL servers

    We just moved our SCCM database to a new SQL server and ever since, I've been getting stumped as to why I'm getting the following error each time I try to query the status of anything under the SQL server:
    Error communicating with component
    Admittedly, I'm a total novice when it comes to SCCM and I was doing this under the loose supervision of my predecessor (this is his last week).  I appreciate anyone offering any advice as to where I should start, and I apologize I'm not knowledgeable
    enough yet to know exactly what info to provide you with initially!
    Thanks!

    Thanks for the quick replies!
    @Peter: Currently using SCCM 2012 R2 running on a 2008 server,  with the database having moved from SQL 2010 to 2012.  We have a single primary site with 5 additional distribution points supporting around 260 users.
    We did only change our SQL server and the guide you posted is the exact one we used.  Everything seemed to look exactly like the guide.  Afterwards, when checking the Configuration Manager Server Manager, under Servers, it had my SCCM server and
    new SQL server both listed.  The components listed under my SQL server were as follows:
    SMS_COMPONENT_MONITOR
    SMS_EXECUTIVE
    SMS_MP_FILE_DISPATCH_MANAGER
    SMS_OUTBOX_MONITOR
    SMS_SITE_SQL_BACKUP_SCCM01
    SMS-SRS_REPORTING_POINT
    However, when we query those components, we get "Error communicating with component" on all of them except SMS_SITE_SQL_BACKUP_SCCM01.  I'm slightly suspicious of our certificates but I'm not well-versed enough with them to troubleshoot effectively
    on my own.

  • Problem while communicating with ECU through NI USB CAN

    Hello sir,
    I want to communicate with ECU through NI USB CAN interface while i tried to communicate with ECU it gives timeout error. here i am using CCP version 1.0, ECU toolkit 2.1.4 and NI CAN 2.7.2 .if you have any problem that communicates with ECU using CCP version 1.0 Please attach it.
    Thanks and Regards,
    Madhan

    So for the fifth time you start a new thread about the same problem!
    If you don't get any response to your threads, it could be because you are not giving a lot information about your problem.You could start with giving the vi you have problem with, so that we can see what you are doing.
    You also need to give any error code and a description on that you have done, in details!
    You also had one response in one of the other threads, it is polite to make an answer when someone is replying to you.
    [email protected] wrote:
    Hello sir,
    I want to communicate with ECU through NI USB CAN interface while i tried to communicate with ECU it gives timeout error. here i am using CCP version 1.0, ECU toolkit 2.1.4 and NI CAN 2.7.2 .if you have any problem that communicates with ECU using CCP version 1.0 Please attach it.
    Thanks and Regards,
    Madhan
    That makes no sense, where have you copied that from ?

  • OLE2 in UNIX through PL/SQL

    Hi all,
    is it possible to install OLE2 in UNIX and then let the PL/SQL Stored Procedures read/write Office file directly through it?
    I know that this package is working with Form/Report Dev. but can it be used outside Form/Report. My company is not using Oracle Form/Report.
    thank you
    Lie

    Hi APC,
    thanks for your reply. the goal is to create a report in excel format (xls) complete with the formatting, i.e: Bold font, line, etc.
    I've proposed to use csv format, but it is not acceptable since it is basically a text file that have no font formatting.
    is there any alternative way to achieve this goal? all procedures are developed in PL/SQL Stored Procedures.
    Oracle version 9i (9.2.0.8) run in HPUX - there is a plan to upgrade to 11g next year. so as long as it can be plugged in to the DB, it can be considered.
    thanks
    Lie

  • Communication with Apache through Java

    hi all,
    can anybody tell me how to control apache with java code.i need to restart it after a it crosses the certain limit of CPU usage and page faults.
    thx.

    Yes,
    http://asktom.oracle.com/pls/apex/f?p=100:11:0::::P11_QUESTION_ID:952229840241

  • Send mails with csv file as an attachment through oracle(SQL SCripts / Stor

    Hello Everybody,
    I have recently come across a requirement in which I am supposed to send mails with csv file as an attachment through oracle(SQL SCripts / Stored Procedure) .
    The contents of the csv file are to be retreived from the Database as well as the content of the mail and to whom it needs to be sent has also to be picked up from the database.
    Can somebody suggest me with a suitable code for the same?
    Would be of great help..!!
    Thanks & Regards,
    - VR
    Edited by: user646716 on Dec 18, 2009 10:44 AM

    read below links
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:255615160805
    http://www.orafaq.com/wiki/Send_mail_from_PL/SQL#Send_mail_with_UTL_TCP_-withattachments
    How to send csv file as an attachment

  • How to find sql statement with Unix process pid

    Hi
    how to find sql statement with Unix process pid
    is there any view to find that.
    please if so let me know
    Thanks in advance

    this is how I am doing this:
    oracle 7352340 7459066 0 07:47:10 - 0:00 oracleJDERED (DESCRIPTION=(LOCAL=YES)(ADDRESS=(PROTOCOL=beq)))
    oracle 7459066 5386396 2 07:47:10 pts/1 0:01 sqlplus
    select sid,serial# from v$session where process='7459066';
    SID SERIAL#
    2178 6067
    select sql_text
    from
    v$sqlarea a,
    v$session b
    where a.hash_value = b.sql_hash_value
    and b.sid = 2178
    ;

  • Issue with oracle.odi.sdk.invocation package to run scenario through PL/SQL

    Hi,
    I am new to call ODI scenario through PL/SQL.
    Actually just to test I tried following code-
    1. create or replace and compile java source named "Run_Scen_DCP"
    as
    import oracle.odi.sdk.invocation.*;
    public class Run_Scen_DCP
    public static void Run_Scen()
    OdiCommandScenario cmd = new OdiCommandScenario();
    Output- Warning: execution completed with warning
    and compile Compiled.
    2. create or replace procedure run_scen as language java name 'Run_Scen_DCP.Run_Scen()';
    Output- procedure run_scen Compiled.
    3. EXECUTE run_scen;
    Output- Error starting at line 1 in command:
    EXECUTE run_scen;
    Error report:
    ORA-29541: class TEST_JAVA.Run_Scen_DCP could not be resolved
    ORA-06512: at "TEST_JAVA.RUN_SCEN", line 1
    ORA-06512: at line 1
    29541. 00000 - "class %s.%s could not be resolved"
    *Cause: An attempt was made to execute a method in a Java class
    that had not been previously and cannot now be compiled
    or resolved successfully.
    *Action: Adjust the call or make the class resolvable.
    I am getting the error in calling the wrapper PL/SQL procedure.
    I have set the classpath for SDK jar files C:\oracle\product\11.1.1\Oracle_ODI_1\oracledi.sdk\lib\*.jar
    Please help me understand what I am doing wrong in this.
    Regards,
    Vipin

    Waiting for the solution....

  • Communicating with DI-Server through JavaScript (NodeJS with Express)

    Hello experts,
    i am looking for a way to communicate with the DI-Server from JavaScript.
    From .NET it's not a problem.. i add the COM Object of the DI-Server and call Interact(request);
    But how can i make calls from JavaScript.
    Can i maybe send direct SOAP requests to the DI-Server? if yes, how can i do that?
    my idea is to make a .NET Webservice (WebAPI or WCF) which handles the communication with the DI-Server
    and from my node.js application i just send DIS requests to the service and handle the responses.
    Is there maybe a better way to do this?

    Hi Jan,
    This seems a reasonable approach, although I would also have a look at the B1if. This framework allows you to create a RESTful interface which you could then use with your Node.js app.
    Have a look here to start with B1if.
    Good luck.
    Best regards,
    Pedro Magueija

  • How to transfer the files from one server to another through pl/sql...?

    I want to transfer all the files from source server with respective directory to designation server with respective directory (designation server - oracle reside server).
    Is it possible to ftp from one server to another server(designation server - oracle reside server) through pl/sql. these two servers are independent & unix server.

    No ... The package mentioned in
    http://www.oracle-base.com/dba/miscellaneous/ftp.pks
    this works for across the server i.e. transfer the files from one server to other (it is basically ftp) ..
    So it is NOT correct that this code transfer the file between two location & with in server..

  • Communication with other applications

    We are currently using software written in HP-Basic, now we want to add
    some functionallity to our programs but would like to use Labview as our
    new developement tool.
    The problem is that we want to communicate with our new programs from
    HP-Basic, how can this be solved?
    We have some ideas:
    *Build the labview program as an windows executable file and communicate
    with it through application arguments (like argc, argv in c/c++). We
    don't know if it is possible to use this in Labview.
    *Build the labview program as an windows executable file and communicate
    with it through a file.
    *Communication over TCP, we don't know if this is possible with
    HP-Basic.
    /Anders Jernberg

    Anders Jernberg wrote:
    >We are currently using software written in HP-Basic, now we want to add
    >some functionallity to our programs but would like to use Labview as our
    >new developement tool.
    >The problem is that we want to communicate with our new programs from>HP-Basic,
    how can this be solved?
    >
    >We have some ideas:
    >*Build the labview program as an windows executable file and communicate
    >with it through application arguments (like argc, argv in c/c++). We
    >don't know if it is possible to use this in Labview.
    There is an example on the NI website that shows how to do this. Try www.ni.com/labview/
    and then 'drivers & downloads' -> example programs. In the 'no hardware required'
    section, you'll find an item called 'command line
    interface for LabVIEW'.
    IIRC: only for windows, not unix, but that's fine for you.
    >*Build the labview program as an windows executable file and communicate
    >with it through a file.
    A fairly obvious solution, and easy to debug: code will work also if you
    are running in the environment. I don't know if the commandline would work
    in that situation.
    >*Communication over TCP, we don't know if this is possible with
    >HP-Basic.
    Don't know. For new applications this is porbably preferred, as it also allows
    web deployment.
    >/Anders Jernberg
    Maarten Sneep

  • Approval Notification through pl/sql

    Hi,
    We have a requirement to send the workflow approval notification through pl/sql.
    Please share which API needs to be used.
    thanks,
    Swathi

    There is no standard API with Oracle's default supplied PL/SQL packages that supports workflow.
    So I read this question as how IPC (Inter Process Communication) processing can be done in Oracle.
    There are a number of methods. You can use Advance Queues - queue a message to be de-queued and consumed by the message queue owner process. You can simply insert into a table and commit - and have a another process reading this table and process the events inserted into the table. You can create a database pipe between processes. You can submit a background job process and instruct it to perform the notification processing for you.
    The most appropriate method depends entirely on the requirements that need to be met, and problem to solve.

  • Oracle career with unix scripting?

    hi
    iam working in a reputed mnc with CMMi level 5 .started as fresher (BE I.T) i have around 1.6 years of experiance in unix scripting/oracle sql production support.
    with learning of sql and shell scripting
    i want to make my career in oracle which should be more dynamic,learning and creative not like in production support which have monotonus life.
    could anyone please guide me about what career path i should choose ?
    DBA , i have heard is montonous job too with same routine backups,no creativity with nightshifts and all, but it is more stable as people said. I have no experiance of it.
    second devolper track in sql/pl sql having its own limitations like less demand, less financial growth etc. and people usually wants to shift in other area like BO
    i don`t have any info about others areas like that i would like to explore
    1)Datawarehousing
    2)Oracle apps
    3)Business objects (BO reporting)
    4)Oracle CRM etc
    5)Others (thats all i know,please add some others if they are creative )
    iam really confsused now which way to chosse. and how to jump in other company on wat basis?
    preparing for OCA right now but uncertain for career.
    Seeking good help from forum experts.

    "with learning of sql and shell scripting"
    Ah, very good move, so you must pick my tool, it is all about managing Oracle DB through Korn shell http://www.smenu.org.
    As of your question, the answer is in your mood and preference.
    Oracle DBA: Definitely more money, less opportunity. the job is dwindling somehow due to Grid automation and budget restriction.
    It is not that you don't need DBA, but manager thinks they can do without and don't (try) replace them. Pressure on DBA is a myth: more work = more money = happy DBA until wife run away.
    Developer : Definitely less money, not necessary more opportunity unless you have java EE. no shift but more pressure: Projects are always in late, usually in the development area, not in the infrastructure.
    One funny thing I noticed during these last 15 years, is that DBA have usually more children than others people (unix sys admin or Dev). Probably related to better earning.
    DBA can be boring or passionate depending on your own knowledge, most of others DBA I know are still in the job, only one is now JAVA EE guy.

  • Sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loop

    sir i have given lot of effort but i am not able to solve my problem either with notifiers or with occurence fn,probably i do not know how to use these synchronisation tools.

    sir i am using datasocket read ,i am communicating with java but my problem is that bcz im using while loop to see if value has changed my labview consumes all the processors time ,sir i want a event like thing so that while loop is not in continuous loopHi Sam,
    I want to pass along a couple of tips that will get you more and better response on this list.
    1) There is an un-written rule that says more "stars" is better than just one star. Giving a one star rating will probably eliminate that responder from individuals that are willing to anser your question.
    2) If someone gives you an answer that meets your needs, reply to that answer and say that it worked.
    3) If someone suggests that you look at an example, DO IT! LV comes with a wonderful set of examples that demonstate almost all of the core functionality of LV. Familiarity with all of the LV examples will get you through about 80% of the Certified LabVIEW Developer exam.
    4) If you have a question first search the examples for something tha
    t may help you. If you can not find an example that is exactly what you want, find one that is close and post a question along the lines of "I want to do something similar to example X, how can I modify it to do Y".
    5) Some of the greatest LabVIEW minds offer there services and advice for free on this exchange. If you treat them good, they can get you through almost every challenge that can be encountered in LV.
    6) If English is not your native language, post your question in the language you favor. There is probably someone around that can help. "We're big, we're bad, we're international!"
    Trying to help,
    Welcome to the forum!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I get an error message when trying to install windows 7 on my macbook pro. The message says "windows has encountered a problem communicating with a device connected to your computer. I don't have anything connected to my computer. How do I fix this?

    I'm trying to install windows 7 on my macbook pro. I went through the process of bootcamp telling it to install windows 7. Once the windows boot manager started an error message came up. The error message says " windows has encountered a problem communicating with a device connected to your computer. I don't have a usb connected to my computer. I  am using windows 7 professional install disc. I  can't figure out what i am doing wrong. The same message keeps coming up over and over. Am I doing something wrong or is it something else?

    Well, shucks, i just spent almost 30 minutes trying to find your model user guide to explain it better, I guess they never got around to making it.....
    I would just borrow another Windows disk and try installing it again and if it does it again then you might take it to an Apple Store and see if one of the "Genius' " can figure it out.
    Make sure your internet is enabled and click on your blank desktop and at the top of your screen is a Help menu option, enter PRAM and it should give you a list of things relating to Pram. It may take a few seconds to list anything as it has to connect to Apples severs first. It should list the things you may have to fill back in when your done.
    "P-ram" stores some common information that is used in the background, your date, time, startup disk, etc, that you don't have to re-fill when you restart, it's a little different for each computer.

Maybe you are looking for