Saving all results from requests coming from a script?

Hi everbody,
Is there a possibity to save in a file all the results coming from a script?
My script provide me 14 results from select query and I want to save this results...
Thank's for helping me

beyou wrote:
yes now I'm trying with SPOOL but doesn't work... :-(Try subtracting 42, that usually fixes the It doesn't work error.
SQL> declare l_dummy number;
  2  begin
  3    select chr(ascii(count(null)) + 51) into l_dummy from dual
  4    where 0 = 1;
  5  exception when others then
  6    raise_application_error(-20666, 'It doesn''t work!');
  7  end;
  8  /
declare l_dummy number;
ERROR at line 1:
ORA-20666: It doesn't work!
ORA-06512: at line 6
SQL> edi
Wrote file afiedt.buf
  1  declare l_dummy number;
  2  begin
  3    select chr(ascii(count(null)) + 51 - 42) into l_dummy from dual
  4    where 0 = 1;
  5  exception when others then
  6    raise_application_error(-20666, 'It doesn''t work!');
  7* end;
SQL> /
PL/SQL procedure successfully completed.

Similar Messages

  • Request coming from the new window............... ?

    Hi All,
    Anybody please tell me how to check the request is coming from the new window.
    like if I copy the following url
    http://forum.java.sun.com/post!default.jspa?forumID=33
    and open it in a new window then I have to check that this url is coming from the new window not from the link.
    please reply soon.
    Thanks

    You would have to make the link use javascript to use a Form with a method of POST to add a parameter to the request and submit the form.
    You would have to use POST to hide the fact that you are using a parameter, otherwise the user could just copy the address with the parameter into a new window.
    So this would work in two ways:
    1) You could have a request.getParameter. If it is NULL then the user copy and pasted the link. If it is non-null then the link was clicked on.
    2) This will also force the clicked link to go to your servlet's doPost method and direct navigation to go to the servlet's doGet method.

  • Where is all this OLD mail coming from?

    just opened my Apple mail program on my new MacBook Pro and it is loading OLD OLD OLD OLD mail that had been deleted EONS ago. whats worse is that it's mostly junk mail whats even worse is that i cannot stop it from coming in.  My iCloud is NOT synced to my mail programs and my gmail account is empty.  so where or where is all this mail coming from and how can i make it stop?

    Hello showipinterface,
    224.0.0.2 is the all routers multicast address, which is used for the HSRP hello packets.
    Here is a link that has info for HSRP.
    http://www.cisco.com/c/en/us/support/docs/ip/hot-standby-router-protocol-hsrp/9281-3.html
    Hope this helps.

  • IPad making notification sound even though I disabled them all, where is it coming from?

    Okay so since updating to iOS7, there is something triggering random notifications on my iPad. It's making a two note notification sound. There's no banner or badge or anything that is associated with it. I went into notification center and have literally turned off every single sound notification (but leaving the sound switch on). The iPad still makes the notification sound.
    I was thinking it was coming from the OS itself, but I went and browsed the sounds under Settings->Sounds and couldn't find the one that I'm hearing (although I suppose that doesn't rule anything out).
    Any ideas on where it could be coming from?

    I have an iPhone 5 and an iPad Mini, but I only had the problem on the iPad Mini.  My problem was a little different than yours, but this fix may work for you.
    This is what I posted in another thread:
    I HAVE FIGURED OUT THE FIX FOR THIS! ... (Well it worked for me on my iPad Mini.)
    I saw a post from an apple rep telling a iOS 6 user to turn the side switch on to un-mute the sounds. A no-brainier yes, but it made me wonder if the side switch may have been temporarily "confused" after updating to iOS 7 because it added the new settings screen that swipes up from the bottom of the screen. I was using my side-switch to lock the screen rotation and it was in the "off" (down) position (red visible) and none of my notifications were sounding. So I flipped it up and down a couple times which didn't solve the problem. So logically, I proceeded to what inevitably solved the problem...
    Go to Settings > General / "Use Side Switch To" and select the opposite of what you are currently using. I had mine on Lock Rotation, so I selected Mute. Then flip your switch up and down slowly a couple of times to see that the confirmation on the screen is correct.  You may have to go back to settings again and select the other choice if you originally had Mute selected, I don't know because I originally had Lock Rotation in use.
    Hopefully, this will fix your notification sounds (and the lock sound when you press the power button).  After using this fix, you can set the use of the side switch to your preference and still have all of your notification sounds!

  • Unable to create a PDF from Word or from Clipboard coming from Word

    Until a few days ago, I had no problem creating a PDF file from a Word document, or from a Word-generated clipboard item. Now this does not work anymore. I have entirely re-installed Adobe Acrobat 9 Pro (successfully), but I still cannot create the PDF coming from the above sources. I now also (sometimes) have the same issue when a clipboard item comes from Excel. No problem with any other source data, i.e. PowerPoint, Web pages, etc.
    Here is the error:
    And this is the next screen:
    Answering "Yes" goes through a lengthy process (successfully), but still does not create my PDF. Both my Word and Excel programs are Microsoft 2007 Professional.
    Any suggestions?

    No updates recently - except possibly whatever Microsoft updates automatically (security, etc.).
    What is quite strange is this specific isolated instance:
    If I am in a Word document, then highlight and select (Ctrl C) a range of text, then go to Acrobat 9 Pro and try to create a PDF from that clipboard text, I get the above error. However, if I select text from another program, such as a web page, then Acrobat does not complain when I try to create a PDF from the clipboard, and everything proceeds as expected.
    So that makes one think that the issue is with Word; however, I sometimes (and "sometimes" is the operative word) get the error when taking text from Excel. But sometimes not.
    Is it Microsoft? But that is strange, as all this worked a few days ago - specifically on Friday 9/3. I use this feature daily,
    And, as I mentioned before, trying to create a PDF from an entire Word file also does not work (create from File).

  • No WF event triggered from PR coming from MRP

    Hi every one,  I have some Purchase Requisitions coming from MRP process, those PR doesnu2019t trigger any Workflow event to start a Workflow to approve them up  (client requirement). The regular PR (manually) does trigger the traditional event.
    My question is..what can I do to make the system generate the regular  PR event u201CBUS2105-RELEASESTEPCREATEDu201D as a triggering event for those purchase requisitions coming from the MRP?
    The SAP installation is:
    SAP ERP Central Component 5.0
    SAP_BASIS and SAP_ABA =  R:640  L:0017 SP: SAPKB64017
    Any recommendation?
    Edited by: Jaime Felipe on Feb 5, 2009 10:29 PM

    Hi Jaime,
    You need to do the configuration in SPRO.
    SPRO>>Material Management>>Purchasing>>Purchase Requisition>>Release Procedure>>Procedure with Classification.
    Under this section you will find
    1. Edit Characteristics
    2. Edit Classes
    3. Setup Procedure with classification
    4. Check Release Strategies
    You will find the documentation for each step, the documentation provided is very good and self explanatory. Do the config for each above mentioned steps in the given sequence and our event REELASESTEPCREATED gets triggered.
    Please revert back if you face any problem.
    Regards,
    Gautham Paspala

  • Not getting all results in Array Populated from Query

    When running this it is only giving me the last value of my query in the array. Any thoughts on why this is happening? I appreciate any assistance. Thank you
    <cfset result = arrayNew(1) />
               <cfset ArrayMedSchools = structNew() />
            <cfloop query="GetMedSchool" >
                 <cfoutput>
                  <cfset ArrayMedSchools.name = Institution />
                  <cfset ArrayMedSchools.id = InstitutionID />
                  <cfset arrayAppend(result,ArrayMedSChools) />
                 </cfoutput>
            </cfloop>
            <cfset ArrayMedSchools = structNew()/>
            <cfdump var="#GetMedSchool#" label="Original Query">
            <cfdump var="#result#" label="resulting array">

    So your query has X rows.  Does your array have the values for the last row in your query, duplicated X times?  Or does it just have one element, with the values from the last row in the query?
    One thing you might want to try is resetting the structure within your query loop:
    <cfset result = arrayNew(1)>
    <cfset ArrayMedSchools = structNew()>
    <cfloop query="GetMedSchool">
        <cfset ArrayMedSchools = structNew()>
        <cfset ArrayMedSchools.name = GetMedSchool.Institution>
        <cfset ArrayMedSchools.id = GetMedSchool.InstitutionID>
        <cfset arrayAppend(result, ArrayMedSchools)>
    </cfloop>
    <cfdump var="#GetMedSchool#" label="Original Query">
    <cfdump var="#result#" label="resulting array">
    Also note that you don't need to use <cfoutput> within your loop there.

  • Not all selection screen value coming from selection screen only first val

    hi i am doing
    SELECTION-SCREEN BEGIN OF BLOCK gl_ac3 WITH FRAME TITLE text-019.
    SELECT-OPTIONS: gl_acdp1 FOR gv_gldep1.
    SELECTION-SCREEN END OF BLOCK gl_ac3.
    then i am using seelct as below
    SELECT      robukrs
                    rzzhkont
        FROM  zzamd1t INTO TABLE it_amdt
           WHERE ryear = p_gjahr
           AND   robukrs IN so_bukrs
           AND   rzzhkont IN gl_acdp1.
    but the value selected by select statement from internal table is for only first value of gl_acdp1 ie for first account c1 but user is entereng three acts c1 c2 and c3 so fro all data should be selected but for only one it is being selected
    pls sugest

    Hi,
        Is gv_gldep1 & rzzhkontare of same data type.
    Do as below
    SELECTION-SCREEN BEGIN OF BLOCK gl_ac3 WITH FRAME TITLE text-019.
    SELECT-OPTIONS: gl_acdp1 FOR gv_gldep1.
    SELECTION-SCREEN END OF BLOCK gl_ac3.
    INITILIZATION.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C1'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C2'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    MOVE 'I'      TO  gl_acdp1-sign,
               'EQ'  TO  gl_acdp1-option,
               'C3'   TO  gl_acdp1-low,
       APPEND gl_acdp1.
    START-OF-SELECTION.
    SELECT robukrs
                 rzzhkont
                               FROM zzamd1t INTO TABLE it_amdt
                               WHERE ryear = p_gjahr
                               AND robukrs IN so_bukrs
                               AND rzzhkont IN gl_acdp1.
    Make sure that ur table zzamd1t has values for C1, C2 and C3.
    Tell us how is ur output with this code.
    Regards,
    Bala Krishna
    Edited by: Bala Krishna on Aug 11, 2008 9:11 PM

  • How to remove SOAP tag from request going from OSB flow

    Hi,
    I need to send message to external party...I am using OSB for that. ...But the external party said they dont want any soap tag in the message as they need only required information .
    *<?xml version=”1.0” encoding=”UTF-8” ?>
    <soapenv:Envelope xmlns:soapenv=http://schemas.xmlsoap.org/soap/envelope /”>
    <soapenv:Header/>
    <soap-env:Body xmlns:soap-env=”http://schemas.xmlsoap.org/soap/envelope /”>
    <TransactionAcknowledgement xmlns="">
    <TransactionId>HELLO EXTERNAL</TransactionId>
    <UserId>MC</UserId>
    <SendingPartyType>SE</SendingPartyType>
    </TransactionAcknowledgement>
    </soap-env>
    </soap-Envelope>*
    but they need only following message.
    * <TransactionAcknowledgement xmlns="">
    <TransactionId>HELLO EXTERNAL</TransactionId>
    <UserId>MC</UserId>
    <SendingPartyType>SE</SendingPartyType>
    </TransactionAcknowledgement>*
    Following are the log message printing in my log.
    Following message we have to send
    <TransactionAcknowledgement><TransactionId>HELLO EXTERNAL</TransactionId><UserId>MC</UserId><SendingPartyType>SE</SendingPartyType></TransactionAcknowledgement>>
    Then we are applying inlinedXML() on above message and getting following message
    After function fn-bea:inlinedXML
    EMCMSSL Body ::::::
    <Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <TransactionAcknowledgement xmlns="">
    <TransactionId>HELLO EXTERNAL</TransactionId>
    <UserId>MC</UserId>
    <SendingPartyType>SE</SendingPartyType>
    </TransactionAcknowledgement>
    </Body>
    Finally we are printing the outbound variable
    Outbound variable:
    <con:endpoint name="BusinessService$EMCNotification$BusinessService$external$PushDataBS" xmlns:con="http://www.bea.com/wli/sb/context">
    <con:service>
    <con:operation>advisory123</con:operation>
    </con:service>
    <con:transport>
    <con:uri>https://XXXX.sg:50001/XISOAPAdapter/MessageServlet</con:uri>
    <con:mode>request-response</con:mode>
    <con:qualityOfService>exactly-once</con:qualityOfService>
    <con:request xsi:type="http:HttpRequestMetaData" xmlns:http="http://www.bea.com/wli/sb/transports/http" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <tran:headers xsi:type="http:HttpRequestHeaders" xmlns:tran="http://www.bea.com/wli/sb/transports">
    <tran:user-header name="JMSType" value="Transaction Acknowledgement"/>
    <http:Content-Type>text/xml</http:Content-Type>
    <http:SOAPAction>""</http:SOAPAction>
    </tran:headers>
    </con:request>
    </con:transport>
    <con:security>
    <con:doOutboundWss>false</con:doOutboundWss>
    </con:security>
    </con:endpoint>>
    But I am not getting how the client is receiving soap header.
    please suggest for the same.

    Hi All.
    For removing the namespace from header I found following function but not sure how tom implement it for my requirement.
    Pleae help if possible.
    I need a XQuery function to remove name space from my xml message.
    my message is
    <Body xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/" xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <TransactionAcknowledgement xmlns="">
    <TransactionId>HELLO MSSL</TransactionId>
    <UserId>MC</UserId>
    <SendingPartyType>SE</SendingPartyType>
    </TransactionAcknowledgement>
    </Body>
    I need
    <Body xmlns="http://schemas.xmlsoap.org/soap/envelope/">
    <TransactionAcknowledgement xmlns="">
    <TransactionId>HELLO MSSL</TransactionId>
    <UserId>MC</UserId>
    <SendingPartyType>SE</SendingPartyType>
    </TransactionAcknowledgement>
    </Body>
    Function I found is
    declare namespace xf = "http://tempuri.org/vijfhuizen/com/myMessage/";
    declare function xf:strip-namespace($e as element())
    as element()
    element { xs:QName(local-name($e)) }
    for $child in $e/(@*,node())
    return
    if ($child instance of element())
    then xf:strip-namespace($child)
    else $child
    declare variable $e as element() external;
    xf:strip-namespace($e)
    I have created the function but not suire how to execute it.

  • Extra spacing - can't figure out where it is coming from.

    Hello,
    I am trying to close the gap between the sentence "We can cover your overdrafts in two different ways" and the actual two points.  I can not figure out where all that space is coming from:
    http://www.tellgcu.com/melanie.shefchik
    Thanks,
    Melanie

    The space is there as a result of the default margin/padding on the .mainbody paragraph tag.
    You can either set the margin and padding to zero on the css:
    .mainbody {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 10px;
    padding: 0 0 10px 0;
    margin: 0
    However if you have that class applied somewhere else on the page you may want to set some inline css to specifically deal with the issue:
    <p class="mainbody" style="margin: 0; padding: 0 0 10px 0;">Dear Melanie,<br /><br />
    An overdraft occurs when you do not have enough money in your account to cover a transaction, but we pay it
    anyway. We can cover your overdrafts in two different ways:</p>

  • Suggestions for library management in Aperture, coming from iPhoto

    A little background....
    I have been an iPhoto user for a number of years, using a Sony W1. Recently, I have upgraded to a new Canon Powershot G7, and with this almost DSLR-like camera, am finding that I am taking WAY more pictures, and getting better pictures too! The faster shutter speeds, and the excellent continuous modes on the G7 (and a 2 gig memory card) are meaning that even shooting my 13 month oldd son, I have way more images to look through.
    My current workflow was simply import into iPhoto, basic edits w/ iPhoto, and use PSE 4 for more significant edits. I am trying the 30-day demo of Aperture, and so far, even though the UI is immense and somewhat intimdating, I am beginnng to learn the basics with various web resources, and Apple's Quicktime tutorials, and I like the robustness of the program as well.
    My question(s) are as follows. I did the iPhoto import into Aperture, but now am not "thrilled" with my existing library structure in APerture, from this massive import.. Having the separate iPhoto Library folder in Aperture, and all the albums/rolls, just doesn't seem very well manageable. I ended up cancelling/deleting Previews, because of how long it was taking (10gig iPhoto import) I feel I just use "Projects" more, and then selectively set Previews for projects, and export to iPhoto or elsewhere. I guess I am asking for some advise from someone coming from iPhoto albums, who has not necessary used lots of metadata within iPhoto, rather just static albums. I pretty sure I want to use Aperture Library managed mode (not referenced) and am willing to export out of Aperture to iPhoto for the wife to use.
    I am willing to redo the import selectively if I had some suggestions from you Aperture experts . Currently, I have been organizing pictures of my kid(s) by month (at least in his 1st year), and creating separate albums (in iPhoto) for special occasions. Maybe with the organization powers of Aperture, there is a better way..
    Open to any and all suggestions...thanks for listening.
    Mac Pro Mac OS X (10.4.8)
    Mac Pro/Mac mini Mac OS X (10.4.8)
    Mac Pro/Mac mini Mac OS X (10.4.8)
    Mac Pro Mac OS X (10.4.8)
    Mac Pro/Mac mini Mac OS X (10.4.8)

    i am goin to point both of you in the same direction as i just did for another poster.
    http://homepage.mac.com/bagelturf/aparticles/aparticles.html
    he has FANTASTIC articles on use and setup of aperture ... rather than re-explain everything he has, your best bet at this point (imho) is to read over what he has ... digest that ... and then come back here for more details ...
    another solution the aperture pro training book by Luna and Long is basically an intensive course in a book ...
    http://www.amazon.com/Apple-Pro-Training-Aperture-1-5/dp/0321496620
    here is the o'reilly you speak of ...
    http://digitalmedia.oreilly.com/aperture/

  • Ever since I updated my iPhone 4S and my iPad 2 to IOS 6 all my iMessages are coming to both my iPhone and my IPad. How do I stop the iMessages I send and receive on my phone from receiving on my iPad as well? I have tried going into my settings and makin

    Ever since I updated my iPhone 4S and my iPad 2 to IOS 6 all my iMessages are coming to both my iPhone and my IPad. How do I stop the iMessages I send and receive on my phone from receiving on my iPad as well? I have tried going into my settings and making sure I'm only set up to receive iMessages to my cell number and not my email....but that didn't fix the problem.

    Here the way to do it, for both, or for only one Go into your settings, Messages and turn on iMessage. It will then send messages that are iMessages to both your iPad and iPhone. You can also turn off this feature on the iPad if you do not want to receive messages on the iPad.

  • TS1425 My iPod Classic was working fine all day.  Came home and uploaded to voice memos via iTunes, now there is no sound coming from my iPod.  I've used both headphones and a docking station.  The songs don't even begin, they just skip to the next one. 

    My iPod Classic was working fine all day.  Came home and uploaded 2 files via iTunes, now there is no sound coming from my iPod.  I've tried both headphones and a docking station......nothing.  The songs don't even engage, they skip to the next one.  I've tried rebooting the iPod and still nothing.  Any ideas?
    Kim

    Hi, and welcome to Apple Discussions.
    Have you tried resetting the PMU?
    I'm not optimistic that this will help any more than the procedures you've already tried, but it won't hurt to try.
    Do you still have your OS 9 installation? If so, try booting into OS 9 and see if the problems with the audio are happening there, too. If so, you can bet it's a hardware problem.
    How big is your hard drive and how much space remains available on it? If you don't have your OS 9 installation in order to check out whether it's a hardware problem and you have enough available hard drive space, you may want to try an Archive and Install of the OS in order to make sure it isn't an OS X system-wide problem. If that doesn't do it, you could back up your hard drive and restore your software.
    All of this may just be spinning your wheels, but it's all stuff you can try before shelling out a lot of money for repairs.

  • HT4972 i did an update on my ipod touch and after it had switched itself off it came back on again with just the itunes icon in the middle of the screen and an arrow pointing at the itunes icon and coming from a usb lead, it will not do anything at all no

    can anyone help me please, my ipod had an update so i clicked install it did all the usual stuff but when it came back on ther was the itunes icon and an arrow pointing to it coming from a usb lead the ipod is frozen it wont do a thing iv tried turning it off an on aqn resetting it but its still the same can anyone tell me what to do? at the min iv got it plugged into my laptop via a usb

    The screen is telling you to connect the iPod to your computer and restore via iTunes.
    iTunes: Backing up, updating, and restoring iOS software

  • My daughter is getting all of my in coming text from other iPhones.

    My daughter is getting all of my in coming text from other iPhones?

    Check "Settings > Messages > Send and Receive" on her iPhone and remove the ID which is being used to identify your iPhone.

Maybe you are looking for