How to call the quote istore functionality

Hello

We need call model of print quote istore functionality, like print model quote oracle quoting.

Thank you
LSP.

Hello

Please check this path, for the simultaneous program pdf files.

* $LOG_HOME/appl/conc/out *.

Thank you
OS3

Tags: Oracle Applications

Similar Questions

  • How to call the pl/sql function in application of the ADF

    Hi Experts,

    I need to call the pl/sql function in application of ADF, I have logic written in my AM

    Method:

    public String reportStoredProcedure (locationID customerID, number,
    String tailNum) {}

    CallableStatement st = null;
    String v_sanctioned = null;
    If (locationID! = null & & customerID! = null & & tailNum! = null) {}
    System.out.println (locationID + "" + customerID + "" + tailNum);
    Tail string = "TAIL";
    String result = "N";

    try {}
    String stmt =
    "start XXWFS_SANCTIONS_PKG. CHECK_SANCTION(:1,:2,:3,:4,:5,:6,:7,:8,:9,:10,:11); end; « ;
    St = getDBTransaction () .createCallableStatement (stmt, 0);
    st.setNull (1, Types.VARCHAR);
    st.setNull (2, Types.NUMERIC);
    st.setObject (3, customerID);
    st.setNull (4, Types.NUMERIC);
    st.setNull (5, Types.NUMERIC);
    st.setObject (6, locationID);
    st.setNull (7, Types.NUMERIC);
    st.setNull (8, Types.NUMERIC);
    st.setObject (9, tail);
    st.setObject (10, tailNum);
    st.setObject (11, result);
    St.Execute ();
    System.out.println ("v_sanctioned in AM:" + v_sanctioned);
    } catch (Exception e) {}
    e.printStackTrace ();
    return "N";
    } {Finally
    If (st! = null)
    try {}
    St.Close ();
    } catch (Exception e1) {}
    E1. PrintStackTrace();
    return "N";
    }
    }
    } else {}
    System.out.println ("v_sanctioned is null");
    v_sanctioned = "N";
    }
    Return v_sanctioned;
    }


    Error:

    java.sql.SQLException: ORA-06550: line 1, column 7:
    PLS-00306: wrong number or types of arguments in the call to 'CHECK_SANCTION '.
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored

    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:70)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1035)
    at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
    at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:950)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1224)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
    at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3487)
    at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3858)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
    at weblogic.jdbc.wrapper.PreparedStatement.execute(PreparedStatement.java:99)
    at model.view.CardAMImpl.reportStoredProcedure(CardAMImpl.java:182)
    at com.emboss.bean.ReadyToPrint.invokeVSanctioned(ReadyToPrint.java:485)
    at com.emboss.bean.ReadyToPrint.PrintingCards(ReadyToPrint.java:434)
    at com.emboss.bean.ReadyToPrint.printCards(ReadyToPrint.java:204)
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
    at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
    at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
    at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1259)
    at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
    at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:97)
    to oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$ 1.run(ContextSwitchingComponent.java:90)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:309)
    at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:94)
    at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:91)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
    at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
    at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
    to weblogic.servlet.internal.StubSecurityHelper$ ServletServiceAction.run (StubSecurityHelper.java:227)
    at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
    at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
    at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
    at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
    to org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$ FilterListChain.doFilter (TrinidadFilterImpl.java:420)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
    at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
    at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to oracle.security.jps.ee.http.JpsAbsFilter$ 1.run(JpsAbsFilter.java:94)
    at java.security.AccessController.doPrivileged (Native Method)
    at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
    at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:414)
    at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:138)
    at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:159)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:330)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
    at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.doIt (WebAppServletContext.java:3684)
    to weblogic.servlet.internal.WebAppServletContext$ ServletInvocationAction.run (WebAppServletContext.java:3650)
    at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
    at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
    at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
    at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

    Can someone help me how to call...

    Call it in function, not as a procedure you do

    try {
    String stmt =
    "begin :1 := XXWFS_SANCTIONS_PKG.CHECK_SANCTION(:2,:3,:4,:5,:6,:7,:8,:9,:10,:11,:12); end;";
    st = getDBTransaction().createCallableStatement(stmt, 0);
    st.registerOutParameter(1, Types.VARCHAR);
    st.setNull(2, Types.VARCHAR);
    st.setNull(3, Types.NUMERIC);
    st.setObject(4, customerID);
    st.setNull(5, Types.NUMERIC);
    st.setNull(6, Types.NUMERIC);
    st.setObject(7, locationID);
    st.setNull(8, Types.NUMERIC);
    st.setNull(9, Types.NUMERIC);
    st.setObject(10, tail);
    st.setObject(11, tailNum);
    st.setObject(12, result);
    st.execute();
     = st.getString(1);
    
  • How to call the pl/sql function of the ofa

    Dear friends,

    I am trying to call a function of OPS page .but iam getting error as

    java.sql.SQLException: ORA-01861: literal does not match the format string

    ORA-06512: at line 1

    It is my function, callable statement

    FUNCTION CAR_LOAN_VALIDATION (P_PERSON_ID IN NUMBER

    P_DEDUCTION_START_DATE AS

    P_DEDUCTION_END_DATE AS

    P_LOAN_VALUE NUMBER

    )

    RETURN VARCHAR2

    IS

    l_message VARCHAR2 (100);

    l_contract_type VARCHAR2 (50);

    l_loan_eligible_date DATE;

    l_grade VARCHAR2 (15);

    l_old_loan_end_date DATE;

    l_max_loan_end_date DATE;

    l_remaining_amount NUMBER;

    l_eligible_amt NUMBER;

    BEGIN

    BEGIN

    SELECT - papf.person_id,.

    (SELECT the sense

    OF hr_lookups

    WHERE lookup_type = 'ADTC_CONTRACT_TYPE. '

    AND lookup_code = attribut3) contract_type;

    ADD_MONTHS (papf.original_date_of_hire, 11) loan_eligible_date,.

    DECODE (paaf.ass_attribute2,

    'President', '' President. ''

    SUBSTR (ass_attribute2, INSTR (ass_attribute2, '.', 1, 1) + 1,)

    3)

    ) grade.

    (SELECT nvl (MAX (deduction_end_date), null)

    OF xxadtc_car_loan_request

    WHERE person_id = p_person_id) old_loan_end_date;

    TO_DATE (ADD_MONTHS (p_deduction_start_date, 47)) max_loan_end_date

    -to_date (ADD_MONTHS (sysdate, 47)) max_loan_end_date

    IN l_contract_type

    l_loan_eligible_date

    l_grade

    l_old_loan_end_date

    l_max_loan_end_date

    OF per_all_people_f women's wear, per_all_assignments_f ADP

    WHERE SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date

    AND papf.business_group_id = 81

    AND papf.person_id = paaf.person_id

    AND SYSDATE BETWEEN paaf.effective_start_date AND paaf.effective_end_date

    AND papf.person_id = P_PERSON_ID;

    EXCEPTION

    WHILE others THEN

    DBMS_OUTPUT. Put_line ('error');

    END;

    -to obtain the amount of the previous car loan-

    BEGIN

    SELECT to_number (prrv.result_value)

    IN l_remaining_amount

    OF per_all_people_f women's wear.

    per_all_assignments_f ADP,

    pay_assignment_actions CIP,

    pay_run_results prr,

    prrv pay_run_result_values,

    petf pay_element_types_f,

    pay_input_values_f pivf,

    pay_element_classifications pec,

    pay_payroll_actions App,

    TPP per_time_periods

    WHERE SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date

    AND papf.person_id = paaf.person_id

    AND papf.business_group_id = 81

    AND SYSDATE BETWEEN paaf.effective_start_date AND paaf.effective_end_date

    AND paaf.assignment_id = pac.assignment_id

    AND pac.assignment_action_id = prr.assignment_action_id

    AND prr.run_result_id = prrv.run_result_id

    AND prr.element_type_id = petf.element_type_id

    AND SYSDATE BETWEEN petf.effective_start_date AND petf.effective_end_date

    AND prrv.input_value_id = pivf.input_value_id

    AND SYSDATE BETWEEN pivf.effective_start_date AND pivf.effective_end_date

    AND pivf.NAME = 'balance '.

    AND petf.classification_id = pec.classification_id

    AND pac.payroll_action_id = ppa.payroll_action_id

    AND ppa.time_period_id = ptp.time_period_id

    AND TO_CHAR (ptp.pay_advice_date, 'Mon-YYYY') =

    To_char (SYSDATE, "Mon-YYYY")

    AND petf.element_name = "Fashions ready Ahlami"

    - and employee_number = '10185'

    AND papf.person_id = p_person_id;

    EXCEPTION

    WHEN no_data_found THEN

    -DBMS_OUTPUT. Put_line (' ERROR: no data!');

    l_remaining_amount: = 0;

    WHILE others THEN

    DBMS_OUTPUT. Put_line ('error');

    END;

    Select GET_CAR_LOAN_ELIGI_AMT (P_PERSON_ID)

    in l_eligible_amt

    Double;

    IF L_contract_type NOT IN ("Permanent") THEN

    l_message: = 'contract Type is invalid. "

    END IF;

    IF l_loan_eligible_date < SYSDATE THEN

    l_message: = 'Date to join is less then a year. "

    END IF;

    IF l_grade IN ('US', '00', 'AUS', ') THEN

    "l_message: = ' your are not eligible Grade."

    END IF;

    IF l_old_loan_end_date < SYSDATE THEN

    l_message: = 'previous loan period is not completed. "

    END IF;

    IF l_max_loan_end_date > P_DEDUCTION_END_DATE THEN

    l_message: = 'Maxinum number of monthly payment for 48 months;

    END IF;

    IF l_remaining_amount > 0 THEN

    l_message: = "amount of the previous car loan is waiting until";

    END IF;

    IF l_eligible_amt < p_loan_value THEN

    l_message: = 'Please check eligible amount ";

    END IF;

    RETURN nvl(l_message,'S');

    EXCEPTION

    WHEN NO_DATA_FOUND

    THEN

    RETURN "error";

    END CAR_LOAN_VALIDATION;

    END XX_CAR_LOAN_REQUEST_PKG;

    CODE THAT CAN BE CALLED BY CODE - CO STATEMENT

    {if (PageContext.GetParameter ("Submit")! = null)}

    OAViewObject vo2 = (OAViewObject) am.findViewObject ("XxadtcCarLoanRequestEOVO1");

    {if(VO1!=null)}

    VO1. GetCurrentRow () .setAttribute ("LoanStatus", "pending approval");

    int xxpersonId = pageContext.getEmployeeId ();

    String xxDeductionStartDate = vo2.getCurrentRow ().getAttribute("DeductionStartDate").toString ();//pageContext.getParameter("DeductionStartDate").toString();

    SimpleDateFormat dateFormat1 = new SimpleDateFormat("yyyy/mm/dd");

    ConvertedDate1 date = dateFormat1.parse ("xxDeductionStartDate");

    String xxDeductionEndDate = vo2.getCurrentRow ().getAttribute("DeductionEndDate").toString ();//pageContext.getParameter("DeductionEndDate").toString();

    SimpleDateFormat dateFormat2 = new SimpleDateFormat("yyyy/mm/dd");

    ConvertedDate2 date = dateFormat2.parse ("xxDeductionEndDate");

    String xxLoanValue = vo2.getCurrentRow ().getAttribute("LoanValue").toString ();//pageContext.getParameter("LoanValue").toString();

    int iLoanValue = Integer.parseInt (xxLoanValue);

    System.out.println ("loop submit input");

    System.out.println ("xxpersonId id is:" + xxpersonId);

    System.out.println ("xxDeductionStartDate id is:" + xxDeductionStartDate);

    System.out.println ("xxDeductionEndDate id is:" + xxDeductionEndDate);

    System.out.println ("xxLoanValue id is:" + xxLoanValue);

    TXN OADBTransaction = am.getOADBTransaction ();

    String sql = "START: 1: = XXADTC_CAR_LOAN_REQUEST_PKG." CAR_LOAN_VALIDATION(:2,:3,:4,:5); END; « ;

    CallableStatement cs = txn.createCallableStatement(sql,1);

    String outputval = null; / / int outputval = 0;

    try {}

    System.out.println ("entry into loop try funtion callable validation");

    cs.setInt(2,xxpersonId);

    System.out.println ("cs setInt (2, xxpersonId);") is executed");

    cs.setString(3,xxDeductionStartDate);

    System.out.println ("cs.setString (3, xxDeductionStartDate is executed);'");

    cs.setString(4,xxDeductionEndDate);

    System.out.println ("cs.setString (4, xxDeductionEndDate is executed);'");

    cs.setDate(3,xxDeductionStartDate);

    cs.setDate(4,xxDeductionEndDate);

    cs.setInt(5,iLoanValue);

    cs.registerOutParameter(1,Types.VARCHAR); / / cs.registerOutParameter(1,Types.NUMERIC);

    DSI Execute();

    outputval = cs.getString (1); / / txn.commit ();

    System.out.println (outputval);

    TXN.Commit ();

    If (outputval. Equals ("S"))

    {

    am.invokeMethod ("apply");

    }

    on the other

    {

    throw new OAException ("is:" + outputval, OAException.INFORMATION name of the Organization);

    }

    TXN.Commit ();

    }

    {} catch (Exception sqle)

    try {}

    DSI Close();

    }

    catch (System.Exception e)

    {

    throw OAException.wrapperException (e);

    }

    throw OAException.wrapperException (sqle);

    }

    }

    Please help where is the error.

    Help, please

    Let me know for any clarification.

    Thank you

    Aravinda.

    Ford Hi,

    See below the code.

    In the controller

    java.sql.Date DeductionSDate; declare the variable

    In LICS

    String xxDeductionStartDate = vo2.getCurrentRow () .getAttribute ("DeductionStartDate");

    TXN OADBTransaction = am.getOADBTransaction ();

    if(xxDeductionStartDate!=null)

    {

    java.sql.Date startDate = txn.getOANLSServices () .stringToDate (xxDeductionStartDate);

    DeductionSDate = startDate;

    }

    Assign to this cs.setDate(3,DeductionSDate);


    Thank you

    Dilip

  • How to call the function cascade BlackBerry

    I begineer in blackberry c ++.

    I do two class is testobject and second in test .i call the onther text function average () and nexttext();

    so please how to call this function.

    // Default empty project template
    #include "TestObect.hpp"
    
    #include 
    #include 
    #include 
    
    using namespace bb::cascades;
    
    TestObect::TestObect(bb::cascades::Application *app)
    : QObject(app)
    {
        // create scene document from main.qml asset
        // set parent to created document to ensure it exists for the whole application lifetime
        QmlDocument *qml = QmlDocument::create("asset:///main.qml").parent(this);
    
        // create root object for the UI
        AbstractPane *root = qml->createRootObject();
    
        // set created root object as a scene
        app->setScene(root);
    }
    
    void TestObect::test(){
    
        qDebug()<< "****************Naveen";
    }
    

    I insert also declared in the header file.

    Q_INVOKABLE Sub test();

    then I create another test class.

    /*
     * test.cpp
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #include "test.h"
    
    test::test() {
        // TODO Auto-generated constructor stub
    
    }
    
    void test:: nexttest(){
        qDebug()<<"***********Next test*********"
    
    }
    test::~test() {
        // TODO Auto-generated destructor stub
    }
    

    error in the file namespace,

    here in file herder

    the namespace error

    /*
     * test.h
     *
     *  Created on: Apr 2, 2013
     *      Author: nksharma
     */
    
    #ifndef TEST_H_
    #define TEST_H_
    
    class test {
    public:
        test();
        virtual ~test();
         Q_INVOKABLE void nexttest();
    };
    
    #endif /* TEST_H_ */
    

    You have a space between the colon and the n in:

    void test:: nexttest()
    

    Another thiing, if you are using Q_INVOKABLE, you must declare Q_OBJECT in your front header file public:

     


    If you're still having problems, try to clean up the project with Project > clean...

  • How to call the java function with javascript setting in mobile adf?

    How to call the java function with javascript setting in mobile adf?

    The ADF Mobile utility container API can be used from JavaScript or Java.

    Application container API - 11 g Release 2 (11.1.2.4.0)

  • How to call the javascript function in ADF

    I have the javascript function stored in a .js file external (try to reuse in another application). How can call the javascript function for an event of ADF faces component. I need to I am a newbie to ADF, all ideas are appreciated.

    Kind regards
    Surya

    Published by: sgodavar on Sep 24, 2010 11:44

    Include JavaScript to the jsff/jspx as page:

    Call it like:

    Type = "dblClick" / >
    Amit

  • How to call the function (function Build-in user) in Pro * C program

    We have developed the application Pro * C program.
    TimesTen version is "TimesTen release 11.2.1.5.0 (64-bit, Linux/x86_64) (tt112150:53308) 2010-03 - 04 T 20: 39:30Z.

    We would like to develop Pro * C program you are using PL/SQL.

    We have a few questions.
    How to call the function (function Build-in user) in Pro * C program?

    #########
    TEST
    #########

    ttisql:
    Command > create or replace FUNCTION F_SAMPLE (i_str IN VARCHAR2)
    > BACK NUMBER
    > o_number NUMBER;
    > START
    > select i_str
    > in o_number
    > double;
    >
    > O_number RETURN;
    >
    > EXCEPTION
    > Others THEN
    > RETURN 0;
    > END;
    > /.
    display errors
    The function is created.
    Order > show errors
    No errors.
    Command >
    Command > set serveroutput on;
    Command > declare
    > number of num1;
    > start
    > num1: = F_SAMPLE ('A');
    > DBMS_OUTPUT. PUT_LINE ("F_SAMPLE" |) ' ' || NUM1);
    > end;
    > /.
    F_SAMPLE 0

    PL/SQL procedure successfully completed.

    Command >


    Pro * C case:

    EXEC SQL BEGIN DECLARE SECTION;
    number of num1;
    EXEC SQL END DECLARE SECTION;

    EXEC SQL EXECUTE
    Start
    : num1: = F_SAMPLE ('A');
    end;
    END-EXEC;

    Make sure to install:
    Error on line 146, column 3, file plsqlPROC.pc:
    Error on line 146, column 3 in file plsqlPROC.pc
    number of num1;
    .. 1
    PCC-S-02201, encountered the symbol "num1" when expecting one of the following conditions:


    Thank you.

    GooGyum

    There are two problems with your variable declaration:

    1. the name of the variable and type are thew misplacement autour.

    2. you may not use a host variable type.

    If you change this to:

    EXEC SQL BEGIN DECLARE SECTION;
    int num1;
    EXEC SQL END DECLARE SECTION;

    Then it will work very well.

    Chris

  • How to call the web service?

    Hello

    I want to know how to call the web service from my application HTML5 & javascript.

    Please help me find this detail as what I can access easily. and I want to access web services online (a method of it) I'm not concered with how background Web service takes place.

    I just want that when you call a web service method, I will return the result.

    Please try this out for a WebService call

    var xmlhttp;
    xmlhttp = new XMLHttpRequest();
    xmlhttp.open("get","your url",true);
    xmlhttp.setRequestHeader("Accept","application/json");
    xmlhttp.setRequestHeader("Content-type", "application/json");
    xmlhttp.onreadystatechange=function() {
     if (xmlhttp.readyState==4) {
      if (xmlhttp.status == 200) {
        console.log(xmlhttp.responseText);
      }
     }
    }
    xmlhttp.send();
    

    This will display the result of the invocation of webservice. The url is the application that you deploy and the type can be get/post. If xmlhttp.send (post) takes argument for the display of the data. You can call it by clicking a button in HTML.

  • How to call the stored procedure when I press the button

    Hello

    I want to know how to call the procedure/SQL statement when I press the button using callable statement.

    can someone give me it please link who knows the steps to do this.

    Thanks in advance,
    SAN

    Hello

    read this good example http://www.baigzeeshan.com/2010/05/calling-plsql-procedure-and-function-in.html

    ~ Abhijit

  • Please tell me exactly how to remove the AVG search function

    Please tell me exactly how to remove the AVG search function

    edited by a moderator for clarity

    You need not repeat dozens of times or use profanity to get help.

    (1) disable all non-essential or unrecognized extensions on this tab. Don't know what it does? When in doubt, turn off:

    Firefox orange (or the Tools menu) button > addons > Extensions category

    Use the links above a disabled extension to restart Firefox if some seem to.

    (2) restore your Google search engine:

    https://addons.Mozilla.org/en-us/Firefox/addon/SearchReset/

    (3) check a user.js file (before the release of Firefox, otherwise the parameters in this file can cancel your cleaning) as described in this article: How to fix preferences that will not save.

    (4) If AVG search took over your page to the new tab (Ctrl + t), which changes as follows:

    (A) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (B) in the filter box, type or paste newtab and make a pause so that the list is filtered

    (C) double-click the preference browser.newtab.url and enter the desired value for your favorite page:

    thumbnails (i) (default) Page = > subject: newtab

    (ii) blank tab = > subject: empty

    Firefox homepage integrated (iii) = > topic: welcome

    (iv) any other page = > full URL of the page

    IMPORTANT: If you have AVG software in your Windows Control Panel, you need to remove it.

  • How to use the Print Screen function?

    I've seen various descriptions of how to use the print screen function.

    It would be nice to actually tell one that works.  None have worked for me.

    [Fn] and Prt SCr does not work.

    CTRL and Prt SCr does not work.

    CTRL, Alt, and Prt SCr does not work.

    [Fn], Ctrl and Prt SCr does not work.

    If anyone knows the correct method to activate the screen capture function which would be a good thing.

    From the looks of things, HP has a big problem with this function.

    Here's a microsoft articleon the use of the screenshot function.

    This should answer your questions.

    Thanks for taking a peek.

  • How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    Hi all

    How to call the setting menu of the BIOS on HP DV4 1540us netbook?

    F2 does NOT an on-screen BIOS setting.

    Is there another trick?  Or, perhaps, defining the procedure step by step to start the BIOS?

    TIA

    Power on the laptop and all logo HP being displayed, press F10.

  • How to call the procedure type table

    Hi I have the below requirement

    Created in the sub table type

    CREATE or REPLACE the TYPE char_type IS the TABLE OF VARCHAR2 (4000);

    create or replace procedure test_proc_type (p_type char_type) is

    Start

    I'm looping 1.p_type.count

    dbms_output.put_line (p_type (i));

    end loop;

    end;

    How to call the procedure with parameter as a type!

    SQL> create or replace type  char_type as table of varchar2(4000)
      2  /
    
    Type created.
    
    SQL> create or replace procedure test_proc_type (p_type char_type)
      2  is
      3  begin
      4    for i in 1..p_type.count loop
      5      dbms_output.put_line (p_type(i) ) ;
      6    end loop;
      7  end;
      8  /
    
    Procedure created.
    
    SQL> set serveroutput on
    SQL>
    SQL> exec test_proc_type(char_type('A','B','C','D','E'))
    A
    B
    C
    D
    E
    
    PL/SQL procedure successfully completed.
    
    SQL>
    
  • How to call the sym.stop to an external javascript

    I tried different ways to call the sym.stop function, but not being able to stop the animation of an external javascript. Help, please

    Hi, metalshan-

    I posted a sample file in response to the same question by another user:

    http://forums.Adobe.com/message/5289458#5289458#5289458

    Hope that helps!

    -Elaine

  • How to call the variables of the scene inside movieClips

    How to call the variables of the scene inside movieClips

    One way would be to use "MovieClip (root)" to target variables in the main timeline... MovieClip (root) .someVariable = someValue;

Maybe you are looking for