Not able to execute a procedure from Process

Hi
I have created a Tabular Form type region.
And I have created a Database procedure to insert records into some other table.
Inorder to execute this procedure I was trying to create a PL/SQL Page process.
When I am trying to enter the procedure details it is giving below error.
1 error has occurred
ORA-06550: line 3, column 1: PLS-00201: identifier 'XXSURCHARGE_PKG.INSERT_INTO_MAIN' must be declared ORA-06550: line 3, column 1: PL/SQL: Statement ignored
But I am able to create a page process with same procedure in another application.
Is there any restrictions on Tabular Form type regions.
Regards
Kiran Akkiraju

Hi
I am able to find out the problem. Application was created on a particular Schema and procedure was created another schema. So, there was a permission issue.
Regards
Kiran Akkiraju

Similar Messages

  • We are not able to execute below procedure, plz help me ASAP.

    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    CREATE OR REPLACE PROCEDURE GETCHART(RPT_CURSOR OUT RPT_PACKAGE.RPT_RESULTS,
    V_VITALCHARTING VARCHAR2,
    V_DOCIDPATIENTS VARCHAR2,
    v_fromdate varchar2,
    v_todate varchar2) AS
    D1 VARCHAR2(500);
    D2 VARCHAR2(500);
    G1 VARCHAR2(500);
    R1 VARCHAR2(500);
    R2 VARCHAR2(500);
    R3 VARCHAR2(500);
    R4 VARCHAR2(500);
    R5 VARCHAR2(500);
    H1 VARCHAR2(500);
    H2 VARCHAR2(500);
    V_COUNT NUMBER;
    RC VARCHAR2(100);
    RMI VARCHAR2(100);
    RMAX VARCHAR2(100);
    R12 VARCHAR2(500);
    REQ NUMBER;
    V_MAX number;
    v_idcount number;
    RSEQ NUMBER;
    RCH VARCHAR2(500);
    BEGIN
    INSERT INTO TEMPDATA
    SELECT ROWNUM G, TIME1
    FROM (SELECT distinct TO_CHAR(H.RECORDEDDNT, 'mm/dd/yy hh24:mi:ss') TIME1
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    and TO_DATE(to_char(h.recordeddnt, 'DD/MM/YYYY'),
    'DD/MM/YYYY') BETWEEN
    TO_DATE(v_fromdate, 'DD/MM/YYYY') AND
    TO_DATE(V_TODATE, 'DD/MM/YYYY'));
    SELECT MAX(ID) INTO V_MAX FROM TEMPDATA;
    V_IDCOUNT := 0;
    WHILE V_IDCOUNT < V_MAX loop
    FOR J IN (SELECT id, ROWNUM G, vdate time1
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    D1 := D1 || 'COL' || J.G || ',';
    D2 := D2 || '''' || J.TIME1 || '''' || ',';
    END LOOP;
    D1 := SUBSTR(D1, 1, LENGTH(D1) - 1);
    D2 := SUBSTR(D2, 1, LENGTH(D2) - 1);
    DBMS_OUTPUT.PUT_LINE(d1);
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    G1 := 'INSERT INTO GETDATA2 (IDSLNO,idcount,' || D1 || ') VALUES(' || RSEQ || ',' ||
    V_IDCOUNT || ',' || D2 || ')';
    --EXECUTE IMMEDIATE G1;
    DBMS_OUTPUT.PUT_LINE(d1);
    DBMS_OUTPUT.PUT_LINE(SUBSTR(D2, 1, LENGTH(D2) - 1));
    DBMS_OUTPUT.PUT_LINE(G1);
    EXECUTE IMMEDIATE G1;
    FOR K IN (SELECT id, ROWNUM G, vdate time2
    FROM (SELECT id, ROWNUM, VDATE
    FROM TEMPDATA
    WHERE ID BETWEEN V_IDCOUNT + 1 AND V_IDCOUNT + 8)) LOOP
    FOR I IN (select s.*, rownum hslno
    from (SELECT v.CHARTNAME,
    v.PARAMETERNAME_CS,
    ' ' || v.PARAMETERNAME PARAMETERNAME,
    TO_CHAR(H.recordeddnt, 'mm/dd/yy hh24:mi:ss') TIME1,
    CASE
    WHEN IDSLNO_GN5029 IN (1040, 1041) THEN
    CASE
    WHEN TO_NUMBER(d.recordedvalue) <
    TO_NUMBER(D.MINVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'L')
    ELSE
    CASE
    WHEN TO_NUMBER(d.recordedvalue) >
    TO_NUMBER(D.MaxVALUE) THEN
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'H')
    ELSE
    decode(d.recordedvalue,
    null,
    d.recordedvalue,
    d.recordedvalue || ' ' || 'N')
    END END ELSE d.recordedvalue END IMAGECHAR,
    d.minvalue,
    d.maxvalue,
    D.UOMCODE
    FROM VIEW_PATIENTCHART V,
    chartingtxheader H,
    chartingtxdetails D
    WHERE h.docid = d.docidchartingtxheader
    and v.VITALCHARTING_PK = h.docidvitalcharting
    and v.VITALPARAMETER_PK = d.docidvitalparameter
    and v.VITALCHARTING_PK = V_VITALCHARTING --General Vital Signs
    and H.DOCIDPATIENTS = V_DOCIDPATIENTS
    ORDER BY V.DISPLAYORDER_CS, V.DISPLAYORDER
    -- v.PARAMETERNAME_CS,v.PARAMETERNAME
    ) s
    where s.time1 = k.time2) LOOP
    select count(1)
    into v_count
    from GETDATA2 d
    where d.PARAMETERNAME_CS = i.PARAMETERNAME_CS
    and PARAMETERNAME = i.PARAMETERNAME
    and idcount = v_idcount;
    IF V_COUNT = 0 THEN
    RCH := I.CHARTNAME;
    R1 := 'COL' || K.G;
    R2 := '''' || I.PARAMETERNAME_CS || '''' || ',';
    R3 := '''' || I.PARAMETERNAME || '''' || ',';
    R4 := '''' || I.IMAGECHAR || '''';
    RC := '''' || I.CHARTNAME || '''' || ',';
    RMI := '''' || I.minvalue || '''' || ',';
    RMAX := '''' || I.maxvalue || '''' || ',';
    R12 := '''' || I.UOMCODE || '''' || ',';
    SELECT SEQ_GETCHART.NEXTVAL INTO RSEQ FROM DUAL;
    H1 := 'INSERT INTO GETDATA2 (IDSLNO,UMCODE,idcount,CHARTNAME,minvalue,maxvalue,PARAMETERNAME_CS,PARAMETERNAME,' || R1 || ')' ||
    ' values(' || RSEQ || ',' || R12 || v_idcount || ',' || RC || RMI || RMAX || R2 || R3 || R4 || ')';
    EXECUTE IMMEDIATE H1;
    ELSE
    R5 := 'COL' || K.G;
    R4 := '''' || I.IMAGECHAR || '''';
    H2 := 'UPDATE GETDATA2 SET ' || R5 || '=' || R4 ||
    'WHERE PARAMETERNAME_CS=' || '''' || I.PARAMETERNAME_CS || '''' ||
    ' AND ' || 'PARAMETERNAME=' || '''' || I.PARAMETERNAME || '''';
    EXECUTE IMMEDIATE H2;
    END IF;
    END LOOP;
    end loop;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || ' (' || minvalue ||
    ' -- ' || maxvalue || ') ' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue != 0
    and maxvalue != 0;
    UPDATE getdata2 s
    set s.parametername = s.parametername || ' -' || UMCODE
    where s.parametername is not null
    and idcount = v_idcount
    and minvalue = 0
    and maxvalue = 0;
    UPDATE GETDATA2 S
    SET S.PARAMETERNAME_CS = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY PARAMETERNAME_CS)
    and idcount = v_idcount;
    UPDATE GETDATA2 S
    SET CHARTNAME = NULL
    WHERE ROWID NOT IN (SELECT MIN(ROWID)
    FROM GETDATA2
    WHERE idcount = v_idcount
    GROUP BY CHARTNAME)
    and idcount = v_idcount;
    UPDATE getdata2 s
    set s.parametername = ' PARAMETER'
    where s.parametername is null
    AND S.PARAMETERNAME_CS IS NULL;
    v_idcount := v_idcount + 8;
    D1 := null;
    d2 := null;
    end loop;
    for i in (SELECT G.PARAMETERNAME_CS, G.IDSLNO
    FROM GETDATA2 G
    WHERE G.PARAMETERNAME_CS IS NOT NULL) LOOP
    INSERT INTO GETDATA2
    (IDSLNO, PARAMETERNAME)
    VALUES
    (I.IDSLNO - 1 + 0.5, I.PARAMETERNAME_CS);
    END LOOP;
    update GETDATA2 h set h.PARAMETERNAME_CS = null;
    update GETDATA2 h set h.chartname = rcH;
    INSERT INTO GETDATA1
    SELECT CHARTNAME,
    PARAMETERNAME_CS,
    PARAMETERNAME,
    COL1,
    COL2,
    COL3,
    COL4,
    COL5,
    COL6,
    COL7,
    COL8,
    COL9,
    COL10,
    MINVALUE,
    MAXVALUE,
    UMCODE
    FROM GETDATA2
    ORDER BY IDSLNO;
    OPEN RPT_CURSOR FOR
    SELECT * FROM GETDATA1;
    END;
    CREATE OR REPLACE PACKAGE "RPT_PACKAGE"
    as
    type RPT_RESULTS is REF CURSOR;
    type RPT_VARRAY is VARRAY(2000) of VARCHAR2(2000);
    END RPT_PACKAGE;
    Execute
    declare
    type my_newcursor IS REF CURSOR;
    begin
    GETCHART(my_newcursor,'General Vital Sign','1145561',sysdate-1,sysdate);
    end;

    Parwez wrote:
    Dear All
    I am created one procedure with 4 parameter 1 is Ref Cusrsor rest of 3 are Varchar,But we are not able to execute below procedure, plz help me ASAP.
    see a picture of my car.
    my car won't go.
    tell me how to make my car go.
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Not able to execute the procedure

    Hi everybody,
    I am trying to execute a procedure as below,
    CREATE OR REPLACE procedure test1(n1 IN number, n2 IN number, tot OUT number)
    is
    i number := null;
    begin
    loop
    if n2>n1 then
    i:=i+1;
    tot:=n1+i;
    dbms_output.put_line(tot);
    elsif n2<n1 then
    dbms_output.put_line('Enter a higher value for n2');
    end if;
    end loop;
    end;
    All im trying to do is to print the numbers according to the values we give during the runtime, but doesn't seem to work for me.
    ie.,
    n1=1;
    n2=5;
    tot = 1,2,3,4,5;
    I am sorry if there are some error's in the procedure and would really appreciate if you can help me with this. Thanks in advance for your help.
    Edited by: Pravin on 31 Aug, 2010 2:25 PM

    When i run the procedure now,
    CREATE OR REPLACE procedure test1(n1 IN number, n2 IN number, tot OUT number)
    is
    i number := null;
    begin
    loop
    if n2>n1 then
    i:=i+1;
    tot:=n1+i;
    dbms_output.put_line(tot);
    elsif n2<n1 then
    dbms_output.put_line('Enter a higher value for n1');
    end if;
    exit;
    end loop;
    end;
    set serveroutput on;
    variable tot number;
    execute test1(1,4,:tot);
    print tot;
    Im getting output as,
    PL/SQL procedure successfully completed.
    tot
    Nothing is getting printed now. Any reasons for it. I would like to appreciate everybody's help, by the way. Hope we will find a solution.
    Edited by: Pravin on 31 Aug, 2010 2:40 PM

  • APEX_MAIL.SEND() not seen executing MY procedure from TOAD

    Hi,
    I have a procedure that calls APEX_MAIL.SEND and works fine when executed from within the app or in the APEX Workshop window.
    Trying to execute MY procedure from an Oracle job we get an error unknown procedure APEX_MAIL.SEND
    anyone have this problem?

    Hello,
    Why don't you use utl_smtp package if you are wanting to send email from pl/sql?
    If you look at the help for APEX_MAIL its says:
    APEX_MAIL
    You can use the APEX_MAIL package to send an email from an Oracle Application Express application. This package is built on top of the Oracle supplied UTL_SMTP package. Because of this dependence, the UTL_SMTP package must be installed and functioning in order to use APEX_MAIL.
    So APEX_MAIL will only work within a valid apex session and it won't be available to a toad session .
    Cheers,
    Paul.

  • Not able to extract performance data from .ETL file using xperf commands. getting error "Events were lost in this trace. Data may be unreliable ..."

    Not able to extract  performance data from .ETL file using xperf commands.
    Xperf Commands:
    xperf –i C:\TempFolder\Test.etl -o C:\TempFolder\BootData.csv  –a process
    Getting following error after executing above command:
    "33288636 Events were lost
    in this trace. 
    Data may be unreliable
    This is usually caused
    by insufficient disk bandwidth for ETW lo
    gging.
    Please try increasing the minimum
    and maximum number of buffers
    and/or
                    the buffer size. 
    Doubling these values would be a good first at
    tempt.
    Please note, though, that
    this action increases the amount of me
    mory
                    reserved
    for ETW buffers, increasing memory pressure on your sce
    nario.
    See "xperf -help start"
    for the associated command line options."
    I changed page size file but its does not work for me.
    Any one have idea, how to solve this problem and extract ETL file data.

    I want to mention one point here. I have total 4 machines out of these 3 machines above
    commands working properly. Only one machine has this problem.<o:p></o:p>
    Hi,
    I consider that you can try to use xperf to collect the trace etl file and see if it can be extracted on this computer:
    Refer to following articles:
    start
    http://msdn.microsoft.com/en-us/library/windows/hardware/hh162977.aspx
    Using Xperf to take a Trace (updated)
    http://blogs.msdn.com/b/pigscanfly/archive/2008/02/16/using-xperf-to-take-a-trace.aspx
    Kate Li
    TechNet Community Support

  • PI is not able to pick the file from the FTP folder

    This is the FILE TO IDOC scenario. We have configured the file adapter. But its not able to pick the file from the specified directory. We have tried changing the transfer mode from Binary to Txt & also we have tried to put advance selection for source file but it didn't work. Its throwing the below error:
    PI Adapter Log:
    An error occurred while connecting to the FTP server '10.130.150.21:8529'. The FTP server returned the following error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 451 Unexpected reply coderequested action aborted: local error in processing'. For details, contact your FTP server vendor.
    Also we have contacted the FTP team & they told that PI is sending an unsupported command. So instead of taking the file TLOG.txt, its treating this file name a s a directory. Please find the logs from FTP end below:
    FTP Log:
    (207197)2/5/2013 14:48:25 PM - sysisappi (63.130.82.16)> 230 Logged on
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> FEAT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211-Features:
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MDTM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  REST STREAM
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  SIZE
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLST type*;size*;modify*;
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MLSD
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH SSL
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  AUTH TLS
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PROT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  PBSZ
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  UTF8
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  CLNT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)>  MFMT
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 211 End
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PBSZ 0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 PBSZ=0
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> PROT P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 200 Protection level set to P
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD /Qas
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas" is current directory.
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> CWD SAP_ORION
    (207197)2/5/2013 14:48:26 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD Inbound
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD IRIIN04
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 250 CWD successful. "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 221 Goodbye
    It should list  *TLOG.txt*  but instead it is trying to get into a directory named  *TLOG.txt*.  same for other interface.
    So me & my team is struggling for last couple of days to fix this issue.Please share your suggestion

    Hi Sisir
    The screen shot of your config doesn't seem to correspond to the FTP log. I say this because the * is dropped from file name pattern "*TLOG.txt" (comparing your config and the FTP log). Can you share an updated FTP log?
    Sisir Das wrote:
    "/Qas/SAP_ORION/Inbound/IRIIN04" is current directory.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> CWD TLOG.txt
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> 550 CWD failed. "/Qas/SAP_ORION/Inbound/IRIIN04/TLOG.txt": directory not found.
    (207197)2/5/2013 14:48:27 PM - sysisappi (63.130.82.16)> QUIT
    Also, like Rajesh suggested, have you tried to manually check permissions by logging in, traversing the directory, and getting the file?
    By the way, we always use backslash \ instead of forward slash in our configs. Not sure this would make any difference for you though. Also, I don't normally use a trailing \ at the end of the source directory path.

  • User not able to run a report from the portal

    Hi Friends,
    We have about 15 reports assigned to a Role.  When the user logs on to the protal under new analysis --> Role he/she can see all the reports. One of the user is able to run all the reports except one. the user exectutes the report instead of showing the report out put following error meassage is comming "User is not authorized".
    Can someone please suggest how come the user is able to see all the reports except this on.
    This report is available in the role, i have checked PFCG and the user has the access to this roll.
    Your help is appreciated.
    Regards
    BN

    Hi friends,
    As suggested I tried ST01, but unfortunately i dont have authorization for st01.
    I did get the copy user of the actual user and i exectuted the report using RSECADMIN, I did check the box with Log and able to execute the report from RSRT. In the output  was getting No Authorization, so i went back and checked the Log and in the Log it was showing the two Info Objects 0QUOTA and 0TCAACTVT do not have auhorizations.
    0QUOTA is available in the cube, so i will ask the security team to include this in the role will *, but 0TCAACTVT is not used in my cube or in MP then why is it showing up in the logs?. Can someone suggest me please?.
    Regards
    BN

  • I am not able to run Seeded Page from my Local machine

    Hi,
    I am not able to run Seeded Page from my Local machine.Please help why i am getting this error Could Not create java virtual machine.
    I am using Jdeveloper Version is 10g.
    Thanks,
    SomaSekhar.

    How many rows do these tables contain?
    S_NDC@link_525Z2 sndc
    s_drug_item
    Also, is the table T_DRUG_ITEM_TEN_DIGIT_NDC in use by other sessions?
    Have you tried running this procedure from sql*plus instead of TOAD?
    How long have you waited for the procedure execution to complete?
    Were there any errors?

  • Not able to execute scenario in RA 14.0

    Problem Summary
    Not able to execute scenario in RA 14.0 
    Problem Description
    [oracle@dev-rtlrmadb src]$ ./SIL_RetailLoadControlSeedData.ksh
    OracleDI: Starting scenario SIL_RETAILLOADCONTROLSEEDDATA 001 in context DEVELOPMENT_INSTALL ...
    2015-02-08 12:01:01.026 ERROR ODI-1217 Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with return code 7000.
    2015-02-08 12:01:01.099 ERROR ODI-1134 Agent Internal encountered an error: ODI-1217: Session SIL_RETAILLOADCONTROLSEEDDATA (20404) fails with eturn code 7000. Caused by: ODI-1226: Step RA_Log_Error_File fails after 1 attempt(s).
    When checking in $MMHOME/error directory , the log is showing following error :- 
    Package Name-> SIL_RETAILLOADCONTROLSEEDDATA
    Step Name-> SIL_RetailInitial_C_ODI_PARAM_Load
    Error Details->
    ODI-1226: Step SIL_RetailInitial_C_ODI_PARAM_Load fails after 1 attempt(s).
    ODI-1240: Flow SIL_RetailInitial_C_ODI_PARAM_Load fails while performing a Loading operation. This flow loads target table C_ODI_PARAM.
    ODI-1228: Task SS_0 (Loading) fails on the target ORACLE connection ORACLE_BI_APPLICATIONS_RA_INSTALL.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-01918: user 'radm01' does not exist
    DB user exists. I'm able to login via sqlplus.   Have checked in Physical schema and Logical schema also. All required Data Servers exeists in Topology -> physical / locical schema-> oracle. and tested the connection every thing is working properly.
    Error Codes
    ODI-1226  , ODI-1240 , ODI-1228 , ODI-1217 , ODI-1134 , ODI-1232
    Problem Category/Subcategory
    Retail Merchandising Analytics Issues
    Uploaded Files
    Template Question Responses
    1) ### Steps to Reproduce ###
    Go to $MMHOME/src .
    Execute the   ./SIL_RetailLoadControlSeedData.ksh  from prompt.    This gives the mentioned error.
    I'm currently configuring Oracle Merchandising Analytics 14.0  . Referring guide  " Oracle® Retail Analytics Installation Guide Release 14.0 E50594-05 ".
    I'm at step number 11 , 
    page no 58.

    Please help. Its urgent.

  • Executing Stored procedure from host file

    Hi all,
    I am trying to execute a procedure from a host file.I don't know where I am doing wrong but the procedure is not executing.
    #!/bin/bash
    echo "*********************** Initializing Global Variables ***********************"
    export CONNECT_STRING=$1
    export START_TIME=`date +%m/%d/%Y:%H%M`
    #export DATE_FROM=`date +%m/%d/%Y:%H%M`
    #export DATE_TO=`date +%m/%d/%Y:%H%M`
    DATE_FROM=$5
    DATE_TO=$6
    sqlplus -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S -S ${CONNECT_STRING} <<EOF
        WHENEVER SQLERROR EXIT FAILURE
        set echo off
        execute xxjy_extract_ar_transactions.main_preinterface('$DATE_FROM','$DATE_TO');
    EOF
    echo "From Date is $DATE_FROM"
    echo "To Date is $DATE_TO" In my log i can see the From Date is 1-Jan-2013 and To date is 28-Feb-2013 which are my input parameters to concurrent program.But I don't understand why my procedure is not getting called.
    Please advice.
    Thanks,
    Sandeep

    Please post the details of the application release, database version and OS.
    Is the issue with this specific host concurrent program?
    Did you follow the steps in these docs?
    How to Register a Host Concurrent Program in Applications [ID 156636.1]
    How To Create A Custom Concurrent Program With Host Method and Pass Parameters To The Shell Script [ID 266268.1]
    How Do You Run A Unix Host Script From Concurrent Managers On MS Windows Platform? [ID 412392.1]
    How To Setup A Custom Concurrent Host Program [ID 147455.1]What is the reason of using more than one "-S" in the sqlplus command?
    Please enable trace and generate the TKPROF file to find out what is happening when you kick off this concurrent program?
    FAQ: Common Tracing Techniques within the Oracle Applications 11i/R12 [ID 296559.1]
    How To Trace a Concurrent Request And Generate TKPROF File [ID 453527.1]
    Thanks,
    Hussein

  • I am not able to execute the transport.send(message)

    I am not able to execute the transport.send(message) when trying for sending mail. I am getting error like this : -
    javax.mail.SendFailedException: Sending failed;  nested exception is: javax.mail.MessagingException: Could not connect to SMTP host: 10.175.80.50, port: 25;  nested exception is: java.net.ConnectException: Connection timed out: connect
    Please help me on this to resolve this issue asap. thanks

    Hi Vinod,
    public void SendMail( )
        //@@begin SendMail()
              // Specify the host name of the mail server
              String host ="----
              IWDMessageManager messageMgr = wdControllerAPI.getComponent().getMessageManager();
              // Initialize Session
              Properties props = System.getProperties();
              props.put("mail.smtp.host", host);
              props.put("mail.smtp.auth", "true");
              Authenticator auth = new Auth();
              Session session = Session.getInstance(props, auth);
              // Create new MimeMessage
              MimeMessage message = new MimeMessage(session);          
              try
                    // Set the From Address
                    String from = wdContext.currentContextElement().getCtx_From();
                   message.setFrom(new InternetAddress(from));
                   //  Set the To Address
                   String to = wdContext.currentContextElement().getCtx_To();     
                   Address ar[] = new Address[1];
                   ar[0] = new InternetAddress(to);
                   message.addRecipient(Message.RecipientType.TO, new InternetAddress(to));
                   // Set the Subject
                   message.setSubject(wdContext.currentContextElement().getCtx_Subject());
                   //  Set the Text               
                   message.setText(wdContext.currentContextElement().getCtx_Text());            
                   Transport tr = session.getTransport("smtp");
                   tr.connect("Put again here Host Name", Port Noumber, "userid", "password");               
                   tr.sendMessage(message, ar);
              }catch (AuthenticationFailedException e){
                   messageMgr.reportException(e.toString(),false);
              }catch (AddressException e)     {
                   messageMgr.reportException(e.toString(),false);
              } catch (MessagingException e) {
                   messageMgr.reportException(e.toString(),false);
              }catch (Exception e){
                   messageMgr.reportException(e.toString(),false);
        //@@end
    And also create the class Auth() like
    public class Auth extends Authenticator {
         public PasswordAuthentication getPasswordAuthentication()
              String username = "userID";
              String password = "Passwod";     
              return new PasswordAuthentication(username,password);     
    Please check it i think i will work. Also please use constant value for the to, from, subject and text.

  • Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.

    Could not able to execute FTP commands in windows server machines 2012/ windows server 2008.
    From windows server 2012 and windows server 2008, Opened port 20,21,22 in firewall bidirectionally. After Establishing connection by passing credentials  230 log in  successful.
    ftp commands executing getting as " 425 Use Port or PASV first" , "500 Illegal PORT command".
    But I could able to do windows client machines like windows 7 and windows 8 with same environment
    Note : Firewall ports are opened.  have tested by making firewall down to avoid filters. 
    Pandiyan Muthuraman

    Hi Pandiyan Muthuraman,
    Did you mean even you disable or open the related port the FTP issue still exist? I found this errors most time occur when we use the ISA firewall and the FTP configured passive
    mode, if you have ISA firewall please refer the following KB to fix this issue.
    How to enable passive CERN FTP connections through ISA Server 2000, 2004, or 2006
    http://support.microsoft.com/kb/300641
    The have a specific form for the IIS question, if you have the further IIS related question you can ask in IIS forum.
    IIS support forum
    http://forums.iis.net/
    Thanks for your understanding and support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Execute oracle procedure from SSIS

    is it possible to execute Oracle procedure from within SSIS?
    thanks

    Hi,
    I used
    begin
    test1;
    end;
    and it is giving - SSIS package "Package.dtsx" finished: Success, but it is not doing anything.
    "test1" procedure has couple of insert statements and a commit statements but the package is not inserting anything.
    Also when I use "exec test1;" it is failing with the error mentinoed here in the forum.
    Any idea what is wrong here?

  • Execute Stored Procedures from Stellent

    Can we execute stored procedures from stellent 7.5.2 ?
    By using java, I dont find any method to execute stored procedure from WorkSpace interface.
    Please guide me to solve this..
    Appreciate your help and efforts.

    May not be exactly what you're looking for, but I hope this helps:
    http://www.corecontentonly.com/Blog/Calling-A-Stored-Procedure-From-Oracle-Fusion-ECM-Stellent
    For java based execution basically:
    1. Create your stored proc in the db
    2. Create a component
    3. Create a query resource
    4. In your java code use the createResultSet method of the Workspace object and pass in the name of your query resource and then the current databinder object

  • The problem here is i am not able to get the data from the list

    hi all,
    i have the following code
    EnrichedProductCatalogue enrichedProductCatalogue1 = new EnrichedProductCatalogue();
    enrichedProductCatalogue1.setAssetCount(2);
    enrichedProductCatalogue1.setBlockingProduct("Weekend Freebee");
    enrichedProductCatalogue1.setBlockingReason("Compatability");
    ArrayList<String> availableActionsList = new ArrayList<String>();
    availableActionsList.add(EnrichedProductConstants.ADD.toString());
    availableActionsList.add(EnrichedProductConstants.REMOVE.toString());
    enrichedProductCatalogue1.setAvailaibleActions((ArrayList<String>)availableActionsList);
    BundleProduct bundleProduct = null;
    Product product = new Product();
    product = new Product();
    product.setProductName("International");
    product.setProductClassName("International");
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);
    bundleProduct = new BundleProduct();
    bundleProduct.setCommercialProduct(product);
    enrichedProductCatalogue1.setBundleProduct(bundleProduct);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    listOfEnrichProducts.add(enrichedProductCatalogue1);
    here i have an list called listOfEnrichProducts.
    here i am adding two objects of enrichedProductCatalogue.
    which contains a object called BundleProduct.
    which has a reference for Product class.
    here this product class has a list which contains objects of another class called UiCategory.
    the problem here is i am not able to get the data from the list which contains UiCategory objects .
    the following is the UI
    <af:table var="row" rowBandingInterval="0" id="t1"
    value="#{pageFlowScope.sample1}"
    binding="#{pageFlowScope.sampleManagedBean.dataTable}"
    partialTriggers="apimethods ::apimethods">
    <af:column sortable="false" headerText="ProductName" id="c2">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productName}" id="ot15"/>
    </af:column>
    <af:column sortable="false" headerText="ProductClass" id="c12">
    <af:outputText value="#{row.bundleProduct.commercialProduct.productClassName}" id="ot19"/>
    </af:column>
    <!--
    <af:column sortable="false" headerText="UICategoryName" id="c32">
    <af:forEach var="item" items="#{row.bundleProduct.commercialProduct.uiCategory}" >
    <af:outputText value="#{item.categoryName}" id="ot119"/>
    </af:forEach>
    </af:column>
    -->
    <af:column sortable="false" headerText="AssetCount" id="c22">
    <af:outputText value="#{row.assetCount}" id="ot1"/>
    </af:column>
    <af:column sortable="false" headerText="blockingReason" id="c3">
    <af:outputText value="#{row.blockingReason}" id="ot2"/>
    </af:column>
    <af:column sortable="false" headerText="blockingProduct" id="c4">
    <af:outputText value="#{row.blockingProduct}" id="ot3"/>
    </af:column>
    <!--<af:column sortable="false" headerText="availaibleActions" id="c1">
    <af:commandButton text="#{row.availaibleActions}" id="cb1"
    actionListener="#{pageFlowScope.sampleManagedBean.callAction}"
    partialSubmit="true">
    <af:setPropertyListener from="#{row.availaibleActions}"
    to="#{pageFlowScope.avalibleaction}" type="action"/>
    </af:commandButton>
    </af:column>-->
    </af:table>
    Can anyone pls give some solution ...

    Hi Frank,
    value="#{pageFlowScope.sample1}"
    here sample is
    Map<String, Object> flowScope1 =
    ADFContext.getCurrent().getPageFlowScope();
    flowScope.put("sample1", listOfEnrichProducts);
    this is not the problem . i am able to get all the values except the following .
    ArrayList<UiCategory> uiCategory = new ArrayList<UiCategory>();
    UiCategory uiCategory1 = new UiCategory();
    uiCategory1.setCategoryName("Simply");
    UiCategory uiCategory2 = new UiCategory();
    uiCategory2.setCategoryName("Freebees");
    uiCategory.add(uiCategory1);
    uiCategory.add(uiCategory2);
    product.setUiCategory(uiCategory);

Maybe you are looking for

  • How to convert an Image to a byte array?

    I want to make a screenshot and then convert the image to a byte of arrays so I can send it through a BufferedOutputStream. try                robot = new Robot();                screenshot = robot.createScreenCapture(new Rectangle(500,500));        

  • LabVIEW serial command does not appear to complete until I open a Hyperterm.

    I can command my device using hyperterm. However, the LabIEW command does not appear to complete. I issue the command in LabVIEW and then open the hyperterm to verify the command was recevied (status query). When I start the hyperterm session (with a

  • XPath values not identifying payload attributes

    Hi. I'm having an issue with xPath expressions against XML attributes. The document that I'm trying its able to successful identify the document using: xPath expression: //*/@StandardMessageIdentifier Indetification Value: XPTO when the message is: <

  • Java/Excel interface

    Hello everybody!! I am doing an MSc Dissertation at the moment and was wondering if anyone could tell me how to get a tab delimited text file and use Java to create it in to an Excel spreadsheet format? This new spreadsheet will then need to be modif

  • Lenovo Tablet Thinkpad 10

    I have recently bought a tablet, thinkpad 10. The first thing I do with new taptops is change the desktop resolution and font size.  So, on my new tablet, I selected Desktop (I have win 8.1 pro) and followed directions to increase the font size.  I c