How to make OS calls from PL/SQL?

Hi
I am using Oracle 7.3.4. on Solaris platform. I want to call a unix shell script from a Database Procedure. ( Calling an OS command from PL/SQL code) ( Like the HOST() function available in the Client Side Forms Tool). Anybody can help me?

Why?
If you want to do this sort of thing, you would have to write a Java stored procedure that called out to the operating system. This has a number of security implications-- the OS calls will run as the Oracle OS user, so you could do fun things like deleting or corrupting data files. Frequently, there are more secure/ less complex approaches.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC

Similar Messages

  • How to make a call from a Web page

    How can I make a call from a number on a Web page ?
    If I select the number, I can only copy it ... then I cannot cut and paste into the phone dialing section ???
    I thought that by selecting the number on the Web page and holding it this would trigger the dialing ... like I used to do with my 9900 Bold BB.

    Are you holding the number or just pressing it quickly? Holding anything will produce a menu whose options would include cut & paste but just pressing the number should activate an action, in this case dialing the number.
    Try just pressing the number with a normal press and not holding it and post back with your results.  
    - If my response has helped you, please click "Options" beside my post and mark it as solved. Clicking the "thumbs up" icon near the bottom of my response would also be appreciated.

  • How to make SOAP call from jsp

    how can i make a SOAP call from JSP.
    I'm new to this.
    This is my requirement
    After the user logs in i need to make a soap call to a given url.
    i need to fill two values in the xml. i have the value with me.

    Although you could do it, why would you put this kind of logic into a presentation file like JSP? It depends on the API you want to use:
    Try this one:
    https://jax-ws.dev.java.net/
    MeTitus

  • How to make/receive call from a laptop connected to a smartphone through bluetooth?

    Dear Lenovo Forum,
    I have a smartphone (Samsung SCH-I759) which I would like to connect to ThinkPad Edge E440 running on Windows 7 Professional so I could make/receive phone call on the laptop.
    Having been browsing around, I saw several methods on doing it are fairly simple. Turn on the bluetooth connection on both devices, pair them, and set the service on the bluetooth connected device menu.
    When I follow these instructions, I did manage to pair the devices but the option of using the bluetooth connected smartphone as a phone does not appear. Instead, I have less available services on the menu. Below is the screen shot:
    Link to image
    For those who have been successfully pair and use their laptops as phone, would you care to share the how-to?
    Thank you,
    Nala Jati
    Moderator note: large image(s) converted to link(s):  About Posting Pictures In The Forums

    Although you could do it, why would you put this kind of logic into a presentation file like JSP? It depends on the API you want to use:
    Try this one:
    https://jax-ws.dev.java.net/
    MeTitus

  • How to make a call from calendar using a number in my calendar?

    One of the few frustrating things about the iphone is how I cannot seem to find a way to dial a conference call number that is in my calendar nor dial the passcodes required for most business conference calls. In my case, I am synchronizing with Outlook Exchange. Unlike a number that appears in email being automatically "clickable," the lengthy and hard to remember 1-888 numbers and the pass codes show up as just text. Is there a workaround or an app to help with dialing into conference bridges? Otherwise, even with the power of an iPhone 4, I am still writing pass codes and numbers on napkins in the car. Thanks for any tips!!

    I also do a lot of conference calls and was so frustrated by this that I wrote an app to solve this exact issue. It queries the calendar and does pattern matching against the text in the calendar item, including the location field, and presents them so you can dial them directly.  Apparently this is not an uncommon complaint.  It has been selling pretty well. Check it out at: http://itapless.com/products

  • Can I make phone call from I pad like I phone, Can I make phone call from I pad like I phone

    HOw can make a call from iPad like a Iphone

    No, the iPad is a tabulate and not a phone.
    You can use 3rd part apps like Viber to call.
    https://itunes.apple.com/sg/app/viber-free-phone-calls-text/id382617920?mt=8

  • How can I make a call from iPad

    How can I make a call from IPad

    Oh, you have to get the iPhone app.
    Seriously, though .... you are aware that it's not a telephone, right? Any calls you make will be using VOIP and any of the apps and/or services (Skype, Google Talk, etc., etc.) which support that. Some of those are US-only, all have various restrictions and cost structures.

  • How to make a call  to service from site studio templates?

    Hi,
    May be this is very basic but I am not able to figure out how to make a call to a service from site studio templates (hcsp). I have seen one example of service call in the dynamic list fragment. It makes a call to SS_GET_SEARCH_RESULTS service using executeService() method. But it doesn't take any parameters and also not very how returned results are captured.
    I want to execute WCM_PLACEHOLDER service. It takes 2 main parameters dataFileDocName and templateDocName. The returned result is typically a html response.
    The service typically is executed using http request and the url would be something like this
    http://hd-pratapm/ucm/idcplg?IdcService=WCM_PLACEHOLDER&dataFileDocName=VIRTUSAINC&templateDocName=DETAILS_REGION_TEMPLATE
    I think SS_GET_SEARCH_RESULTS service works in the similar fashion. I want to execute WCM_PLACEHOLDER service too using executeService() method. How to work with this? How can we pass parameters and capture returned results?
    Regards,
    Pratap

    Hey Pratap,
    If you are on a standard Site Studio template (page or subtemplate) you should be able to call the wcmPlaceholder idoc function directly. In fact calling the idoc function provides a lot more functionality then the service call (they locked down a few things in the service call since it is designed to be called from an external application).
    The idoc call would look something like: <!--$wcmPlaceholder("Sales", "placeholderDefinitionDocName=placedef_salescontact")--> (taken from page 208 in this doc: http://download.oracle.com/docs/cd/E10316_01/SiteStudio/10gr4/Pdf/Site_Studio_10gR4_Designer_Guide.pdf)
    As a general note when you are in idoc script and want to execute a service you call <$executeService()$> as you saw in the dynamic list. The parameters that the service runs on are in the data binder of the current request. To set parameters for an execute service you simply set idoc variables on the page before it. Example:
    <!--$QueryText="dDocType <matches> `Document`" -->
    <!--$executeService("GET_SEARCH_RESULTS")-->
    As for the response when you execute an idoc function, like wcmPlaceholder, that returns a String the response is immediately output to the page in the location you called the function. This would be similar in concept to a jsp scriptlet that outputs a string <%=myResponseString%>
    Hope that helps,
    Andy Weaver - Senior Software Consultant
    Fishbowl Solutions < http://www.fishbowlsolutions.com?WT.mc_id=L_Oracle_Consulting_amw_OTN_ECM >
    Edited by: Andy Weaver on Jul 7, 2010 7:59 AM
    Added response detail.

  • How Can I make redirect caller from agent to any branch IVR?

    I have IPCC Enterprise Edition (ICM 5.0, IVR 3.1)
    How can I make redirect caller from agent to chosen branch IVR, and send with call any variable to IVR (e.g. account number).
    Regards
    Krzysztof

    I would suggest that post-routing should not be used. The way to go is to use translation routing applications. Although post-routing is easy to set up, almost all deployments require translation routing. I can't think of anything good to say about post routing, other than it's trivial to configure.
    You want the main route point to be on the CM_PIM.RC for a number of reasons. You can check to see which of your IVRs are on line, and/or to do load balancing. If calls don't need to go to the IVR if agents are ready, you can have an LAA Select node immediately, and then translation route. Even if you just have one IVR, translation routing will enable you to do RONA more easily.
    You need to bite the bullet and learn translation routing. If you do it that way, peripheral variables attached to the call remain unaffected whether the call is under the control of the CM_PIM.RC or the IVR_PIM.RC. This is exactly what you want.
    There is no need, in my opinion, to go to an external database. In your IVR, decisions made by the caller (e.g. which "skill" they want) set peripheral variables. When the call comes out of this script you check the peripheral variable, and depending on the value do a queue to the appropriate skill group and run external script (BasicQ.aef).
    Separate the intelligence gathering IVR script from the Queuing script. Allow ICM to make the routing decisions.

  • HT5176 How can I make a call from my new iPad(3rd generation) with wifi+4G

    How can we make a call from iPad 3rd generation with wifi+4G?

    You cant "Call" anyone. Its not a phone. You can facetime other IOS users. Setup facetime with your apple id in ipad settings/facetime. You can also download apps like skype in the app store.

  • Make a call from the app

    Hi guys,
    I am trying to make a call from the app. There is a button labeled as phone number. When user clicks on that button, it should call to the phone number.
    How do I do ?
    Can suggest me simple code ? I don't know whether this is possible or not.
    Thanks in advance.

    Hi Raiden -
    Have you tried this?:
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"tel://8005551212"]];
    - Ray

  • How to make bootable iso from download

    how to make bootable iso from download

    This one - https://www.microsoft.com/en-us/download/details.aspx?id=5587
    1st:  This is NOT a .ISO file!!
    2nd.  It is a .MSI file which is a Microsoft Installer file.
    3rd:  Read the instructions:
    Install Instructions:
    Click the Download button to start the download.
    Do one of the following:
    To start the installation immediately, click Run.
    To save the download to your computer for installation at a later time, click
    Save.
    To cancel the installation, click Cancel.
    When installation completes a file called readme.txt will open to provide instructions for burning a home computer restore CD. The file is also located
    next to the ISO image file for later reference.
    4th: If you are unable to read and follow instructions, there is nothing anyone in these forums can do to assist you.  You must be capable of reading and following instructions! 
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ”
    OK, well sorry to disagree with you but:-
    1. Using windows 7, the download does not provide a save but only a run option.
    2. In the MS predownload instructions you copied it refers to the readme text next to "the ISO image"
    3. This is a copy of the read me file attached:-
    "This ReadMe document is one of the Windows Home Server Home Computer Restore CD files. Unless you changed the installation location during setup, the Home Computer Restore CD files and license terms are located in one of the following folders:
    * On Windows Vista: %HOMEPATH%\Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    * On Windows XP: %HOMEPATH%\My Documents\Windows Home Server Home Computer Restore CD (Dual Boot)
    To use the Home Computer Restore CD software, you must write the ISO image file (restorecd_dual.iso) to a blank CD. A CD/DVD burner is required to write
    the ISO image file to the CD. Usually a CD/DVD burner includes the software that you need to write ISO image files. Follow the instructions with your burner software, and then select the option to write an ISO image, not the option to write
    individual files. Note that you cannot write the ISO image by using Windows Explorer to copy the file to the CD-ROM drive.
    Burning the ISO image creates a bootable CD. To restore your home computer, boot the computer from the CD and follow the instructions.
    Microsoft may update the Windows Home Server Home Computer Restore CD software. You can download the latest version from the Microsoft Web site at http://go.microsoft.com/fwlink/?LinkID=109282.
    If you want to review the license terms for the Windows Home Server Home Computer Restore CD, the file EULA_DUAL.TXT can be found in the same folder"
    As you will see it refers to the downloaded .iso file. Nowhere is there a reference to a msi.  As there was only a run function on the downloaded file, it could not be saved. How is an ordinary Windows user meant to interpret the instructs
    if the download function does not work? What you do is try and follow the instructions and produce a load of frigging coffee mats, as it seems did many of the posters on this thread. Are we all illiterate?
    If Microsoft could think in the way of a user it would help a lot of people.
    So Rick Dee, please inform me how I misread the instructions?

  • How to make data flow from one application to other in BPEL.

    Hi All,
    I am designing work-flow of my application through BPEL(JDeveloper), I am making different BPEL projects for different functions, like sales manager got the order from sales person and sales manager either approve it or reject it, if he approve it it goes to Production manager and he ships the goods, now I want to keep sales person, sales manger,production manager in seperate BPEL files and want to get the output of sales person to sales manager and sales manager to production manager please help me in dong this.
    I was trying to make partner link in Sales manager of sales person and getting the input from there. I dont know this is right even or not, if it is right I dont know how to make data flow from one application to other.
    Experience people please guide.
    Sales Person -----> Sales Manager ----> Production Manager
    Thanks
    Yatan

    Yes you can do this.
    If you each integration point to be in different process, you have to create three BPEL process.
    1. Create a Async BPEL process 'A' which will be initiated when sales person creates the order.
    2. From BPEL process 'A' call a ASync BPEL process 'B' which has the approval flow. Depending on the input from process 'A' the sales manager will review the order in workflow and approve or reject and send the result back to process 'A'.
    3. Based on the result from workflow, invoke the Sync BPEL process 'C', where you can implement the shipping logic.
    -Ramana.

  • How to make Conference Call in Xperia Z1

    How to make conference call in Xperia Z1. First of all I am not sure whether that facility is available in Z1. 

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I suggest that you take a look at the following link for further instructions about how to place conference calls:
    http://userguide.sonymobile.com/referrer.php?region=gb&product=xperia-z1#Conference-calls.html
    Note that this function needs to be enabled at your subscription from your operator in order to make it work.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • How to make CSD call in NOKIA E71

    Hello,
    I bought two Nokia E71 mobiles with BSNL 3G connection. My service provider(BSNL) providing 3G service. E71 is connected to PC there i dialed to another phone which is conneted to other PC. when i dialed from hyperterminal in winxp by using ATD commnad with out semicolon. I am getting connection error messge on my phone. NO CARRIER on hyper terminal.
    I don't know what the problem is i tried with all commands no use. Is there any setting required for NOKIA E71. How to make data call (CSD call) by using Nokia E71.
    You help is very much appreciated..
    -Vijender

    Hi
    this may or may not be of help.
    I was having a similar problem with a 6230i.
    When trying to make a data call  the No Carrier signal would come back.
    After some research I changed +cbst form 0,0,1 to 7,0,1
    at+cbst=7
    This apparently gives the receiving modem more time to connect. It sends the no carrier signal 30 seconds later after appearing to connect, I still dont get the connect 9600 response.

Maybe you are looking for

  • How can I insert in the table detail of a master/detail form??

    Hello, I have created a master/detail form from the assistant, and with the code generated by APEX I do not manage to insert a row in the table detail, I press the button 'Add Row' and refill information, when I press the button ' to apply changes '

  • How to get cd from optical player. No tool on desktop that I can use. Imac do not shut down.

    A cd is tucked into the player and there is no thing on desktop to get it out. Its running all the time but das not show a thing. No label is as usuly on desktop and computer das not shutting down.

  • Item category TAS when invoice no open billing qty occur

    Hi Experts, I was trying to create a credit for an order with item cat TAS but i get an error messgae no open billing quantity. Is there a need for customization? Please help me. Thanks!

  • About query rewriting

    Hi, I just started using materialized view and found in trouble. In my case the query rewriting works only if the tables joined in the query are exactly the same of those joined in the MV. Is this normal? Using EXPLAIN_MVIEW I found that when rewriti

  • Restore Essbase Application between servers

    Hi all, i have come up with a new thing here as we have 2 different essbase servers in two machines. i have copied the app folder from machine1 which has got essbase server instance 1, and pasted to the machine2 which has got essbase server instance