Installer for the simultaneous program defined with the parameters - Script SQL

I wrote a very simple sql script and I want to save it as a simultaneous Oracle program. I have included a parameter field in the sql script to allow the entry of a value to determine the number of days prior to the script. The script runs correctly in SQL * Plus, but when I try to record it as a competitor Oracle program I get the following errors below:
This works in SQL* PLUS

SELECT emp_id, amount
FROM tblSalaries
WHERE hire_date > SYSDATE-&Days;

Enter value for Days: 7
old    3: hire_date > SYSDATE-&Days
new  3: hire_date > SYSDATE-7

And it provides my results....
Although when I save this as a simultaneous program and set the configuration setting and run the simultaneous program and enter the number in the parameter field, work ends with an ERROR with the following:
                                                                                                         
Enter value for Days: EXEC FND_CONC_STAT.COLLECT;
hire_date > SYSDATE-EXEC FND_CONC_STAT.COLLECT; and
                                    *
ERROR at line 3:
ORA-00933: SQL command not properly ended 
If I put single quotes around '& days', in line 3, I get a different error:
ERROR at line 3:
ORA-01722: invalid number 
Do you know what could be the problem?
Thanks for the review!

You can try one of these approaches-

1. replace '& days' in your script with "& 1"- or-".

2. Add the following to your script at the beginning

Days := &1;

PL see the developer's Guide Application for your specific version http://www.oracle.com/technology/documentation/applications.html EBS

HTH
Srini

Tags: Oracle Applications

Similar Questions

  • The system administrator has defined polocies to prevent this installation for the game Assassin's creed 2... can anyone help?

    The system administrator has defined polocies to prevent this installation for the game Assassin's creed 2... can anyone help?

    Try right click on the setup.exe > run as admin.

    See you soon.

    Mick Murphy - Microsoft partner

  • The simple question is "where can I find the installer for the HP Quick start?

    The simple question is "where can I find the installer for the HP Quick start?

    BESR regards

    Hello:

    And here's one for W8...

    http://h20565.www2.HP.com/hpsc/SWD/public/detail?swItemId=ob_140915_1#tab1

  • Deliver R12.2 installation for the upgrade

    Hello

    I'm braving question R12.2 installation for the upgrade

    Any idea on this issue.

    Fatal error: T2K install Service

    oracle.apps.fnd.txk.config.ProcessStateException: OPatch process failed: out = 73 see Journal for more details. CMD = /apps1/oracle/PROD/11.2.0/OPatch/opatch-skip_subset-skip_duplicate-verbose - silent - ocmrf /apps1/oracle/PROD/11.2.0/temp/PROD_prod/DBInstallHome/fnd/admin/template/txkForms_ocm.rsp /apps1/oracle/PROD/11.2.0/temp/PROD_prod/patches/16342486/16342486/ napply

    at oracle.apps.fnd.txk.config.OPatchActionNode.processState(OPatchActionNode.java:296)

    at oracle.apps.fnd.txk.config.PatchActionNode.processState(PatchActionNode.java:187)

    at oracle.apps.fnd.txk.config.PatchNode.processState(PatchNode.java:338)

    at oracle.apps.fnd.txk.config.PatchesNode.processState(PatchesNode.java:79)

    at oracle.apps.fnd.txk.config.InstallNode.processState(InstallNode.java:68)

    at oracle.apps.fnd.txk.config.TXKTopology.traverse(TXKTopology.java:594)

    at oracle.apps.fnd.txk.config.InstallService.doInvoke(InstallService.java:224)

    at oracle.apps.fnd.txk.config.InstallService.invoke(InstallService.java:237)

    at oracle.apps.fnd.txk.config.InstallService.main(InstallService.java:291)

    Impossible to install the patches Oracle Database Home

    RW-50010: error:-script returned an error: 1

    RW-50004: Error Code when you run the external process.  Check the log file for more details.

    Install the driver database for the PROD instance running

    Thank you

    ANUP

    RW-50004: Error Code when you run the external process.  Check the log file for more details.

    Please check the log files for more information about the error - quick troubleshooting install for E-Business Suite version 12.2 (Doc ID 1378579.1)

    Thank you

    Hussein

  • Where is the installer for the Source column of the command in other tab of orders?

    Hello!

    I would like to ask where to find the installer for the Source column of the command in other tab of orders. I saw internal and online, I think it's always external.

    Thank you.

    Jon

    Order header Source is the origin of the order-using the OM Super user responsibility, see Setup-> controls-> import Sources.  I think that external is a Source Type on the command line that indicates if the line item will be provided by your org or bought.

  • Dear Adobe. Creative cloud has different applications. Some try to versions and others may be installed. My question: the apps that said installation, for the bridge of eksampel, is that included my creative claud account?

    Dear Adobe. Creative cloud has different applications. Some try to versions and others may be installed. My question: the apps that said installation, for the bridge of eksampel, is that included my creative claud account?

    Hi Tomas.

    If you have creatively Cloud Complete/All Apps, you should have the complete list of available desktop applications.

    If some show buy or try or judgment, please see this link:

    https://helpx.Adobe.com/manage-account-membership/CC-reverts-to-trial.html

    Guinot

  • set the password for the 'parameters' on iphone 5

    Y at - it app to set a password for the "parameters" on an iphone 5?  My son continues to change some of the parameters,

    N ° define a word password on the phone and don't let not your son play with him.

  • Condition of additional results work does not correctly for the parameters

    TestStand 2014

    Trying to connect a parameter only if the status of the step is "failure" will not save the setting when the step will actually fail.  On the other hand, variables with the same State will record very well.

    The sequence attached illustrates this.  Basically I have a sous-suite that returns a random number and a string as parameters.  I use the random number to evaluate against my limits for the test call.  I want to save the parameter of string only if the step fails.  So I put as an additional result, then assign the condition

    Step.Result.Status == "failed".

    The data never show on the report.

    But when I put a result additional explicit with the same local variable and put the same exact condition it appears on the report when the step fails.

    I'm puzzled as to why settings will not open a session to this condition, but additional explicit results work fine with the same State.

    Any thoughts?

    Thank you

    Condition for additional result of the parameter is evaluated before the State sequence is set to failure. The 'out' parameter additional results are evaluated probably just after the code module, so if the status of the step is not changed by the call of code module, then it will always be "Running".

    I can see how it would be nice if it worked the way you ask, but keep in mind for input/output parameters it is usually the same expression/variable to both the 'in' and 'out' additional result, so it is important to the time at which the result is recorded. It must be done before calling code module for 'in' settings and after the call of code module to 'out' parameters to reflect the State of the variables to these points in time. I think that the intention is that the additional result for settings must reflect the State of the variables at the point in time immediately right before the call for 'in' settings and immediately after the call to 'out' parameters So if you want to connect under certain conditions a value based on the status (where the State is not changed directly by the code module), with the help of a result extra ordinary as you discovered is probably the best way to go.

    Maybe for the parameters we might delay logging to the end, but which may result in a change of behavior if the variable state changes again once before that. If you want us to consider or have another idea for how to handle this better please let us know or maybe post something to the exchange of ideas.

    Another possibility is that we could temporarily connect the results before and after the code module, but then not assess the condition to the end and throw the recorded result if the condition is false. Who can still cause a change in behavior although if "Value of Log" expressions have side effects.

    Hope this helps clarify things.

    -Doug

  • missing namespace for the parameters in the web service call

    We try to call a web service developed by Java & XFire. The WSDL is valid for WS - I Basic Profile and it works very well with SoapUI. The query generated automatically by SoapUI is the following:

    "" "" "< soapenv:Envelope xmlns:soapenv = ' http://schemas.xmlsoap.org/soap/envelope/ ' xmlns: your =" http://www.example.org/test8/ " xmlns:tes1 =" http://www.example.org/test8 "> "
    < soapenv:Header / >
    < soapenv:Body >
    < your: parameters >
    < a >
    < tes1:id > 44444444444445 < / tes1:id >
    < tes1:b >
    < tes1:id >? < / tes1:id >
    < / tes1:b >
    < /a >
    < id >? < /ID >
    < / your: parameters >
    < / soapenv:Body >
    < / soapenv:Envelope >

    When we put this in Flex, what we are seeing is that the namespace for the parameters element is missing. We see it in the proxy logs. The server receives this message and parameters is not in namespace, so the server complains that the parameters is missing. We can reproduce this exact behavior by removing namespace in the query with SoapUI.

    The question is why flex removes namespace for the element parameters?

    We use the literal to the WSDL document, and I paste below. We have been stuck on this for over a week, so if anyone has any suggestions I would be eternally grateful. Thank you

    <? XML version = "1.0" encoding = "UTF-8"? >
    < wsdl:definitions
    ' xmlns:SOAP =' http://schemas.xmlsoap.org/wsdl/soap/ "
    ' xmlns:TNS =' http://www.example.org/test8/ '
    ' xmlns:WSDL =' http://schemas.xmlsoap.org/wsdl/ '
    "container =" http://www.w3.org/2001/XMLSchema "
    name = "test8".
    targetNamespace =" http://www.example.org/test8/" > "
    WSDL: < types >
    < xsd: Schema
    "targetNamespace =" http://www.example.org/test8/ "
    xmlns:Q1 =" http://www.example.org/test8" > "
    < xsd: import
    schemaLocation = "Test8.xsd."
    namespace =" http://www.example.org/test8" > "
    < / xsd: import >

    < xsd: complexType name = "fooRequestType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "a".
    Type = "Q1:A" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < xsd: complexType name = "fooResponseType" >
    < xsd: SEQUENCE >
    < xsd: ELEMENT
    name = "b".
    Type = "Q1:B" >
    < / xsd: element >
    < xsd: ELEMENT
    name = "id".
    Type = "xsd: String" >
    < / xsd: element >
    < / xsd: SEQUENCE >
    < / xsd: complexType >
    < / xsd: Schema >
    < / wsdl: types >
    < name of the WSDL: message = "fooRequest" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooRequestType" / >
    < / wsdl: message >
    < name of the WSDL: message = "fooResponse" >
    < wsdl: part
    name = "parameters".
    Type = "tns:fooResponseType" / >
    < / wsdl: message >
    < name of wsdl: portType = "Test8" >
    < name of wsdl: Operation = "foo" >
    < message wsdl: Input = "tns:fooRequest" / >
    < message wsdl: output = "tns:fooResponse" / >
    < / wsdl: Operation >
    < / wsdl: portType >
    < wsdl: Binding
    name = "Test8SOAP".
    Type = "tns:Test8" >
    < soap binding:
    style = "document".
    "transport =" http://schemas.xmlsoap.org/soap/http " / >
    < name of wsdl: Operation = "foo" >
    WSDL: input >
    < use of soap: body = "literal" / >
    < / wsdl: Input >
    < wsdl: output >
    < use of soap: body = "literal" / >
    < / wsdl: output >
    < / wsdl: Operation >
    < / wsdl: Binding >
    < wsdl:service name = "Test8" >
    < wsdl: port
    Binding = "tns:Test8SOAP."
    name = "Test8SOAP" >
    "" < soap: address location = ' http://www.example.org/test8 ' / >
    < / wsdl: port >
    < / wsdl:service >
    < / wsdl:definitions >

    the XSD containing A and B:

    <? XML version = "1.0" encoding = "UTF-8"? >
    "" "" "" < scheme xmlns = " http://www.w3.org/2001/XMLSchema" targetNamespace = ' http://www.example.org/test8 ' xmlns:tns = ' http://www.example.org/test8 ' elementFormDefault = "qualified" >

    < name complexType = 'A' >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < element
    name = "b".
    Type = "tns:B" >
    < / item >
    < / sequence >
    < / complexType >

    < complexType name = "B" >
    <>sequence
    < element
    name = "id".
    Type = "string" >
    < / item >
    < / sequence >
    < / complexType >
    < / schema >

    The solution seems to be that Flex doesn't support unwrapped no literal document. Flex only supports rpc literal or literal wrapped document. This seems to be because flex adds the name of the xml message method and in the unpacked literal document there is no message name in the soap message.

    It took a lot of time to understand this, partly because we did not know exactly what is wrapped meant (there is no option in Eclipse WTP for her, no way to verify no wrapped with a tool, etc.). If Flex said that she did not support unpacking literal document we would have saved ourselves a week or two.

  • GUI for the PowerCLI scripting

    Someone knows a software or tool that generate the GUI for the PowerCLI scripting?

    There are a few, Sapien is free and it's called PrimalForms Community Edition.

  • Windows could not load the installer for the display

    Whenever I try to open the NVIDIA settings, it gives me the error message "Windows has no load installer for display. I did what some post said and went to the Device Manager and tried to find the graphics card. To realize that I could not find them. Then I went down to the unknown tab and there was my NVIDIA GeForce video card, so when I try to update my drivers, it gives me this error even. Help! D:

    Do you have downloaded screensavers, etc...

    1) click on 'Start' > select 'Control panel' > double-click "Add Hardware".
    Select ' Yes, "I have already connected the hardware" > click "next".
    Find and click on your device and click "next".
    If a driver is necessary, it should have with your hard drive.
    You can select "Disk" and load the driver from there.
     
    If successful, go no further
     
    (2) when you install new video drivers
    Uninstall the old ones
    Restart in vga mode
    disable a / v
    Install new drivers
    Reset
     
    If successful, no further
     
    (3) search for "desk.cpl" in the cache c:\windows\system32\dll and copy it to system32.
    Retry installation
     
  • is there a standalone installer for the trial of Adobe Acrobat DC?

    I try to get the test installation of Adobe Acrobat Pro DC. I got the download client but when I run it it fails every time with a message to tell the Adobe installer encountered an unexpected failure. It also seems to weigh a lot when I try to close it. I can access the site to download through a corporate firewall, but I can download the installer of heel I guess internet access is not the issue. I added adobe.com in my IE compatibility list and am running Win7 with IE11. Is there a standalone installer for this trial version?

    You can download at the bottom of the link:

    http://helpx.Adobe.com/Acrobat/KB/Acrobat-downloads.html

  • Recommended installation for the stability of the regions hot &amp; warm even under Safari until Mac, cooling system is innovated. For a more Durable Mac

    Hello. It is best to combine a stable software (10.11.6 is stable to this day) and a cool hardware, even with Safari (with many tabs). A stable software is not enough, a cooled optimal equipment is also essential; It creates a stable holistic system.

    Until Apple, miniaturize perhaps, a sort of refrigeration in the circuits themselves (coolant will be not compact) due to the warming of the planet (some countries reaching a strong history of 46 to 65 degrees Celsius), cooling fan is not viable because it is so hot that he uses room air, regardless of how fast the fans spin (which would be just like a set of dry hair to the maximum) is not enough. An already hot air will get even hotter once Macs is used for long hours that could damage the GPU in particular, or perhaps even deform boards disconnect some circuits even or deform inside fleas which includes also circuits in them. Heat can also soften the welds in the Mac.

    It is recommended to run fans manually with a fan control application, even if the Mac is new (over the past six years the iMac I have had 2 replacements of GPU - this is most probably because of the heat and lack of ventilation in the Macs.) Apple may have more emphasis on function and either looks-it can't be 50-50. Replacement could cost if not for Apple Care which is good to have), if you are in an area that is warm or hot, at least 2000 rpm which seems to be a good balance between cooling and too much noise (it keeps the GPU minus 70 Celsius, especially). At 2000 rpm, the wear on the fans is not the only striking, it's usually only 47% of the maximum rpm of Apple fans (good fans are usually evaluated during maximum 5 years running 24/7 all year). But the best is to turn off all the gadgets to make noise to make the quiet place and adjust the fans (with a minimum of 2000 RPM) as quickly as possible without being noisy for the user. It is better to add extra cooling in the back (like a small electric fan or fans of cooling for laptops) for maximum stability if you're not in a cold air-conditioned room.

    It is good to reset PRAM then MSC after the fans and password recovery to use disk utility (two types of repair) manually before booting into your main operating system.

    God bless you. Revelation 21:4

    Directly from the plug of the iMac:

    Operating temperature: 50 ° to 95 ° F (10 ° to 35 ° C)

    If you try to work beyond these limits, good luck!

    There's this thing called 'air conditioners' cool the environment.

  • Installation for the error message for the Fund

    Hello
    Can someone tell what is the condition prerequisite/configuration to make the error message to display when the created purchase order does not have sufficient funds to cover the PO commitment

    Hello
    We believe that you have found this error checking of funds coz... An audit of the Fund determines if there are funds available for the requisition according to the budget there is place and if the cost is deductible. If funds are not available for the requisition, the applicant will receive an immediate notification that the funds are not available, and the request cannot be processed.

    Could you please check the profiles, 1) POR: allow funds to check, it is defined as "Checkfunds"?
    (2) PO: Substitute funds reservation

    S.P DASH

  • Auto, judgment of 10 days after installation for the Windows Server 2008 R2 evaluation version

    Hello

    I downloaded and installed the Windows Server 2008 R2 evaluation version. Initially. It seems to work perfectly. According to Microsoft, the trial period is 180 days. However, ten days after the installationt (10 days for activation), the system began to stop automatically every half hour.

    For events, file system log event ID is 1074.

    The information for this event are below.

    The wlms.exe process has launched the power off computer Win2k8R2-1 (server name) for the NT AUTHORITY\SYSTEM account for the following reason:

    Other (unplanned)

    Reason code: 0x0

    Stop type: power off

    Please help solve this crucial problem.

    Best regards

    John Zhang

    John,

    For assistance, please ask for help in the appropriate Microsoft TechNet Windows Server Forum.

    Thank you & good luck.

Maybe you are looking for

  • Office Jet Pro 8710: HP ePrint app

    I have HP Print Service Plugin installed on my 6.0.1 Android phone app. All of a sudden it will only print paper size 'hand-Index Card 3 x 5 '. I uninstalled the app and reinstalled nothing doesn't. The problem that happens on the phone Android for m

  • Installation software for HP Officejet 6700 Premium problems

    I have a Compaq laptop originally with Windows Vista HomeHigh-end operating system. I have recently installed Windows 8.1 andhad some minor problems with the programs, but they have been sortedoutside.I tried to reinstall the HP Officejet 6700 Premiu

  • HP Envy Phoenix 810-130QE Causes of Hyper-V hangs at startup

    I'm having a problem with the help of Hyper-V on my new computer and after that try almost everything has suggested two on these forums and on a myriad of web search I'v could not solve the problem, so I hope someone might be able to help out me. I f

  • Can I disable W7 (Vista Upgrade) in my dead computer, then sell W7 upgrade?

    My HP computer no longer works.   He originally had Vista.   I bought the W7 Vista Upgrade and installed. Now this computer no longer works (I do not have the removed disk and it's correct)... can I somehow disable the W7 upgrade can sell the 2 discs

  • Simple replication does not

    I'm new to GoldenGate. Just set up a replication test between the two database servers (Oracle). On the source, I have an excerpt, a data pump. On the target, I have a replicate. Made some change to the source database. They are not propagated to the