Call procedure without specifcation from shell scrip

I am writing shell script. In that I am calling one of the procedure lets say "ABC" from package "V".
exec V.abc ();
problem is that procedure ABC does not have specifications in package. It has only body defined.
I am getting error as procedure undefined.
Is there any way to call procedure in the BODY part without specifications.
Problem here is package is not owned by me so I can not change anything in that .
Please suggest.
Thanks in advance.

No, the procedure is private in the package body. You can't access it if it is not in the package specification.
Ask the owner of the package to declare it in the package specification, make it public...
How do you know that this procedure exists anyway?

Similar Messages

  • Can we call any SOA module from shell

    Hi ,
    I need to call a SOA module from shell.
    is there way to call SOA module from shell ?
    Regards

    Hi,
    i do not exactly know, what you mean with SOA module, but if you are talking about webservices:
    $ORACLE_HOME/bpel/samples/tutorials/102.InvokingProcesses/perl
    There are some Perl examples for calling BPELs.

  • How to call procedure in Java from SQL Server Database

    Hello Every Body
    i Have Question about
    How to call procedure in Java from SQL Server Database
    Thanks

    Hi,
    have you tried a Google search? I just gave it a 3 second try and already found: http://stackoverflow.com/questions/6113674/how-do-i-execute-a-ms-sql-server-stored-procedure-in-java-jsp-returning-table-d
    Frank

  • How call procedure or package from Oracle BI Publisher 10.1.3.2.1

    Hi Gurus,
    I need to call a procedure or package from Oracle BI Publisher 10.1.3.2.1 by passing parameters, I do it because it would be easier to fill a table as the report that asks for is too complex (8 breaks, 5 dblinks, 20 tables, etc).
    I'm not using the Oracle XML. Review include the following solutions:
    Re: Stored procedures and dynamic columns
    Re: Is it possible to use Stored Procedures in BI Publisher GUI?
    Re: PL/SQL Stored Procedure w/ XML Template?
    But none of them useful for me was the level of complexity.
    Best regards.

    Hi Vetsrini,
    I write the sentence as it showed in the previous thread
    select from whc_kk_v2.whc_p_kk_publisher (pv_msgerror =>: msgerror,*
    pv_pro1 =>: prov_1,
    pv_pro2 =>: prov_2)
    run when I get the error BIP
    ORA-00933: SQL command not properly ended
    Show me I'm doing wrong, or who may be causing the error. I tried everything but does not leave, please your help.
    Best regards

  • Calling a java code from shell script.

    Hi all,
    I want to access a method of java class from a unix shell script.basiacally I want to know how to access a java code from a shell scriptt.If anybody has any info on this , kindly revert back to me.
    Rgds,
    Satya

    Hi,
    Suppose I hv a main() method.
    Then how to access that class from Shell Script.
    Can u send me the piece os compiling and running process for it.
    Rgds,
    Satya

  • Call procedure's package from sql query ?

    Hi,
    I've write a package. In this package there is a procedure A with this parameters (in x, in y, out z).
    In the second procedure B, i want te create a cursor like this :
    'select * from table where table.fiels in ( A.(x,y) )'
    Is it possible to do this ?
    Thanks for the answer.

    I think so. Could you flesh out your code a little more? Yes of course, this is my PLSQL code :
    /*This is the first procedure */
    procedure Get_IDGeneriques(i_idfamille in generiquesliensfamilles.idfamille%type, i_idprofil in generiqueslienslistesmono.idlisteprofil%type, i_idconstitution in generiqueslienslistesmono.idlisteconstitution%type, i_idserie in generiqueslienslistesmono.idlisteseriefraises%type, i_idpas in generiqueslienslistesmono.idlistepasfraises%type, i_idtypeattache in generiqueslienslistesmono.idlisteattache%type, i_idlisteSensISO in generiqueslienslistesmono.idlisteSensISO%type, i_idlistearrosagecentre in generiqueslienslistesmono.idlisteArrosageCentre%type, i_listematieres in varchar2, i_listemachines in varchar2,i_listeopes in varchar2, o_idgenerique out tbl_bin_int)
    is
    BEGIN
    DECLARE
    TYPE TypeCursorReq IS REF CURSOR;
              test TypeCursorReq;
    sqlstm VARCHAR2(4000);
    recordcount number default 0;
    idgenerique generiqueslienslistesmono.idref%type;
    BEGIN
    sqlstm := 'SELECT GENERIQUESLIENSLISTESMULTI.IDGENERIQUE FROM GENERIQUESLIENSLISTESMULTI, GENERIQUESLIENSLISTESMULTI GENERIQUESLIENSLISTESMULTI1, GENERIQUESLIENSLISTESMULTI GENERIQUESLIENSLISTESMULTI2
    WHERE GENERIQUESLIENSLISTESMULTI.IDGENERIQUE = GENERIQUESLIENSLISTESMULTI1.IDGENERIQUE AND GENERIQUESLIENSLISTESMULTI.IDGENERIQUE = GENERIQUESLIENSLISTESMULTI2.IDGENERIQUE AND (GENERIQUESLIENSLISTESMULTI.TYPE1 =''MT'')
    AND GENERIQUESLIENSLISTESMULTI.IDLISTE IN (' || i_listematieres || ') AND (GENERIQUESLIENSLISTESMULTI1.TYPE1 =''OP'') AND GENERIQUESLIENSLISTESMULTI1.IDLISTE IN (' || i_listeopes || ') AND GENERIQUESLIENSLISTESMULTI2.TYPE1 =''MA''
    AND GENERIQUESLIENSLISTESMULTI2.IDLISTE IN (' || i_listemachines || ')';
    OPEN test for sqlstm;
                        LOOP
                        FETCH test INTO      idgenerique;
                        EXIT WHEN test%NOTFOUND;
    recordcount := recordcount+1;
    o_idgenerique(recordcount) := idgenerique;
    END LOOP;
    END;
    end;
    /* This is the second procedure who call the first one */
    procedure Get_IDOutils(i_idfamille in generiquesliensfamilles.idfamille%type, i_idprofil in generiqueslienslistesmono.idlisteprofil%type, i_idconstitution in generiqueslienslistesmono.idlisteconstitution%type, i_idserie in generiqueslienslistesmono.idlisteseriefraises%type, i_idpas in generiqueslienslistesmono.idlistepasfraises%type, i_idtypeattache in generiqueslienslistesmono.idlisteattache%type, i_idlisteSensISO in generiqueslienslistesmono.idlisteSensISO%type, i_idlistearrosagecentre in generiqueslienslistesmono.idlisteArrosageCentre%type, i_listematieres in varchar2, i_listemachines in varchar2,i_listeopes in varchar2, o_idoutil out tbl_bin_int)
    is
    BEGIN
    DECLARE
    TYPE TypeCursorReq IS REF CURSOR;
              test TypeCursorReq;
    sqlstm VARCHAR2(4000);
    recordcount number default 0;
    idoutil outilslienslistesmono.idref%type;
    BEGIN
    sqlstm := 'SELECT * FROM OUTILSLIENSLISTESMONO,LIENSGENERIQUESOUTILS
    WHERE OUTILSLIENSLISTESMONO.IDRef = LIENSGENERIQUESOUTILS.IDRefOutilFabMati
    AND LIENSGENERIQUESOUTILS.IDRefGeneFabMati in (Get_IDGeneriques(1,232,22,47,26,210,206,50,''10444,10448,10451'',''10337'',''10319'') )';
    OPEN test for sqlstm;
                        LOOP
                        FETCH test INTO      idoutil;
                        EXIT WHEN test%NOTFOUND;
    recordcount := recordcount+1;
    o_idoutil(recordcount) := idoutil;
    END LOOP;
    END;
    end;
    END TITAN2;

  • Calling Procedure or Function from Interative Report

    Hi All -
    Is it possible to call a procedure/function from "Region Source" of Interact Report page.
    Basically the report I want to show would be little difficult if I use SQL alone. So wanted to check is there is a way I can call a SQL procedure/function from Apex Interactive Report Page.
    Please share your expertise.
    Thanks,
    -Seenu

    Hi,
    These links might help
    http://www.oracleapplicationexpress.com/tutorials/71-oracle-apex-interactive-report-based-on-plsql-function
    http://sungur.wordpress.com/2009/10/11/apex-interactive-reports-with-dynamic-sql/
    Br,Jari

  • Problem calling Procedure with parameter from Dynamic Page

    I received an error saying the Page not found
    here's how to reproduce the error.
    1. Create procedure in portal30 schema.
    Create or Replace PROCEDURE PORTAL30.ADD_TWO_VALUES
    v_one IN NUMBER,
    v_two IN NUMBER,
    v_result OUT NUMBER)
    as
    begin
    v_result :=v_one+v_two;
    end;
    2. Create Dynamic Page with following code
    <ORACLE>DECLARE
    v_total NUMBER;
    BEGIN
    ADD_TWO_VALUES(:v_one,:v_two, v_total);
    htp.p('The total is => ');
    htp.p('<input type="TEXT" VALUE='||v_total||'>');
    htp.para;
    htp.anchor('http://<machine.domain:port#>/pls/portal30/PORTAL30.DYN_
    ADD_TWO_VALUES.show_parms', 'Re-Execute Procedure');
    END;</ORACLE>
    3. I clicked on Customize Link and entered 2 numbers as values for v_one and v_two.
    4. Got "The page cannot be found" error in I.E. or "The requested URL /pls/portal30/PORTAL30.DYN_SAMPLE_ADD.show was not found on this server." on Netscape
    However when I subsitute "ADD_TWO_VALUES(:v_one,:v_two, v_total);" in the dynamic page for "ADD_TWO_VALUES(3,2, v_total);", it runs just fine.
    What's wrong here? Can I not use a parameter from a dynamic page and call a procedure with it? Help is needed urgently and will be greatly appreciated.
    -Ahsun

    Hi,
    I tried with your code with few changes ,please try with them.
    Create or Replace PROCEDURE <myschema>.ADD_TWO_VALUES
    v_one IN NUMBER,
    v_two IN NUMBER,
    v_result OUT NUMBER)
    as
    begin
    v_result :=v_one+v_two;
    end;
    I created the procedure in <mySchema> and granted that to <application_schema> and made some changes
    <ORACLE>
    DECLARE
    v_total NUMBER;
    BEGIN
    <procedure_schema>.ADD_TWO_VALUES(:v_one,:v_two, v_total);
    htp.p('The total is => ');
    htp.p('<input type="TEXT" VALUE='||v_total||'>');
    htp.para;
    htp.anchor('http://<your_host>/pls/<portal_schema>/<application_schema>.DYN_FOR_OTN.SHOW_PARMS', 'Re-Execute Procedure');
    END;
    </ORACLE>
    Hope this helps.
    rahul

  • Calling procedure PL/SQL from OCCI passing objects

    Hi all!
    I need a sample from a OCCI program that call a stored pl/sql procedure and pass an IN OUT parameter of type object.
    Thanks in advanced!

    I don't remember how after all these years, but I remember that I made a native Informix call in a special way. So it seems logical that you should be able to do the same for Oracle...
    Scott

  • Calling PL SQL code from shell

    Hello everyone,
    I have a shell script, which connects to the database and runs .sql file.
    after executing of .sql file, i need to store the results in log table.
    How can i achieve this one? could you please give your suggestions.
    Here is my code.
    #!/bin/sh
    set -vx
    #SCHEMA_NAME=$1
    LOG="/db01/apps/applvis/VIS/apps/apps_st/appl/xxhex/12.0.0/sql/test1.log_rundate_`date +%Y%m%d`.`date +%H%M%S`"
    echo ' '>>$LOG
    echo 'start sqlplus .sql '>>$LOG
    date >>$LOG
    code="declare
    v_sqlcode number;
    v_sqlerrm varchar2(200);
    begin
    @/db01/apps/applvis/VIS/apps/apps_st/appl/xxhex/12.0.0/sql/test1.sql
    exception
    when others then
    v_sqlcode:=sqlcode;
    v_sqlerrm:=sqlerrm;
    insert into error_msg values(v_sqlcode,v_sqlerrm,'FAILED');
    end;";
    RETVAL=`sqlplus -s apps/apps@VIS <<EOF >>$LOG
    set serveroutput on
    $code
    exit;
    EOF`
    echo $RETVAL
    EXIT_CODE=$?
    if [ $EXIT_CODE = 0 ]
    then
    echo "Program successfull" >> $LOG
    echo '<<< End of program ' >> $LOG
    date >>$LOG
    else
    echo "ERROR Program did not successfully execute " >> $LOG
    echo "EXIT CODE = $EXIT_CODE"
    date >>$LOG
    report_footer
    exit 1
    fi
    echo ' ' >>$LOG
    echo 'end sqlplus .sql ' >>$LOG
    echo ' ' >>$LOG
    Thanks,
    Rami Reddy.

    echo $RETVAL
    EXIT_CODE=$?
    if [ $EXIT_CODE = 0 ]$? is the return status of the last command. In your example, EXIT_CODE will always be 0, unless the echo command fails, which is never going to happen.
    RETVAL=`sqlplus -s apps/apps@VIS <<EOF >>$LOGThe $RETVAL variable simply contains the output or string returned by your sqlplus command. What you need to do is to check for content of the $RETVAL variable. What content is considered successful and what failure?
    In your case however, $RETVAL is always empty, because you redirect all output to $LOG. If you want to write the complete output of your sqlplus command to a log file, use the following after your sqlplus procedure. For example:
    exit;
    EOF
    `
    echo "$RETVAL" >> $LOG
    if [ `echo "$RETVAL" | grep FAILED` ]; then ....

  • Calling an expect script from another script (sh)

    How to call the EXPECT utility from SHELL script?
    Our objective is - We have developed a shell script to connect the oracle database and generate the XML file and this XML file needs to be transfer to another windows machine using the SFTP servcies. We are planning to schedule this job using the CRONTAB.
    Our first script 1:
    # connecting to oracle database and generating the file
    ORACLE_SID=TEST
    ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    LD_LIBRARY_PATH=$ORACLE_HOME/lib
    PATH=$ORACLE_HOME/bin:$PATH
    output=`sqlplus -s /nolog <<EOT
    set pages 0 feed off
    whenever sqlerror exit failure;
    connect xgbzprod/xgbzprod
    exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    cd /u01/oratest/gebiz_processed
    for fn in GEBIZ_COA_RPO000*.*; do
    # using the EXPECT utility to transfer the generated file to antoher machine
    set timeout 10
    spawn $env(SHELL)
    match_max 100000
    send -- "sftp username@IP Address\r"
    expect -exact "[email protected]'s password:"
    send -- "Password\r"
    expect -exact "sftp>"
    send -- "cd /<SFTP location>\r"
    expect -exact "sftp>"
    send -- "lcd /<Local locatoin>\r"
    expect -exact "sftp>"
    send -- "bin\r"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eof
    -- When we run the above script it failes and the script is not recognizing the other variables.
    -- We have split the procedure to keep the oracle connection in one script and another script for EXPECT utility. But we are lack of how to call the EXPECT utility in shell script.
    Please help us
    Thank
    Dhanraj Chilla

    You might want to try to better understand shell script programming. It makes it otherwise difficult for a poster to recommend you a solution. I don't believe you can expect others to do all the development and testing work for you. Since this is a forum on a volunteer basis, you might also want to consider marking helpful replies and review received answers more carefully.
    Perhaps the following will work for you:
    #!/bin/bash
    export ORACLE_SID=TEST
    export ORACLE_HOME=/u01/oratest/db/tech_st/11.1.0
    export ORACLE_SID ORACLE_HOME
    export LD_LIBRARY_PATH=$ORACLE_HOME/lib
    export PATH=$ORACLE_HOME/bin:$PATH
    echo
    output=`sqlplus -s /nolog <<EOT
       set pages 0 feed off
       whenever sqlerror exit failure;
       connect xgbzprod/xgbzprod
       exec XGBZ_GL_COA_XMLTAG_PROC;
    EOT
    `
    echo "$output"
    username="oratest"
    hostname="11.10.11.159"
    password="welcome1"
    for fn in GEBIZ_COA_RPO000*.*; do
       echo "GL Chart of Accounts File Name : " $fn
    /sftp.exp "$username" "$hostname" "$password" "$fn"
    done
    #!/usr/bin/expect -f
    set username [lindex $argv 0]
    set hostname [lindex $argv 1]
    set password [lindex $argv 2]
    set fn [lindex $argv 3]
    spawn sftp $username@$hostname
    expect -exact "[email protected]'s password:"
    send -- "$password\r"
    expect -exact "sftp>"
    send -- "cd /sftp0002/uat/inbox\r"
    expect -exact "sftp>"
    send -- "lcd /u01/oratest/processed\r"
    expect -exact "sftp>"
    send -- "put $fn\r"
    expect -exact "sftp>"
    send -- "quit\r"
    send -- "exit\r"
    expect eofP.S. The above code is very simplistic and does not take error handling into account.
    Using CURL, like I suggested in my first reply was an easier solution, since you don't need to to script Expect, but it turns out that you might need Enterprise Linux 6 or install at least CURL verison 7.19 to support sftp.

  • Without calling stored procedure or functions from database

    Hi,
    I am using Jdeveloper 11.1.1.5.0.
    =>How to do PL/SQL procedures and functions in ADF without calling stored procedure or function from DB?

    S, PL/SQL procedures and functions are done in Application Module class or in managed bean..By calling the stored procedures or functions from DB.
    But I am asking how to do if DB doesn't have any procedures,triggers and functions.

  • Please help to call oracle procedure with out paramter from shell script

    Hi
    I want to call a process with out parameter from shell script. I am calling process in shell script in below way
    function Process_loads {
    ( echo 'set serveroutput on size 1000000 arraysize 1'
    echo "set pagesize 0 term on verify off feedback off echo off"
    echo "BEGIN"
    echo " dbms_output.put_line('Before Calling The package'); "
    echo " x ( '$1', '$2', '$2', '$4', '$5', '$error_code'); "
    echo " dbms_output.put_line('After Calling The package'); "
    echo "EXCEPTION "
    echo " WHEN OTHERS THEN "
    echo " dbms_output.put_line('BIN_LOAD_ERROR' || SQLERRM); "
    echo " ROLLBACK;"
    echo "END;"
    echo "/" ) | sqlplus -s $USER/$PASSWORD@$SID
    Here $error_code is out paramter. All varaibles passed in process are declared with export command.
    When executing .sh it gives below error
    "sh ERROR at line 3: ORA-06550: line 3, column 99: PLS-00363: expression '' cannot be used as an assignment target ORA-06550: line 3, column 3: PL/SQL: Statement ignored".
    Please help to get rid from this error or please suggest how to call a oracle procedure with out paramter from unix shell script.
    Thanks in advance

    You can try this:
    From sql*plus
    SQL> ed
      1  create or replace procedure my_proc(p_id in int, p_result out int)
      2  as
      3  begin
      4  select 10 * p_id
      5  into p_result
      6  from dual;
      7* end my_proc;
    SQL> /
    Procedure created.
    SQL> set serveroutput on
    SQL> declare
      2  v_r int;
      3  begin
      4  my_proc(10,v_r);
      5  dbms_output.put_line(v_r);
      6  end;
      7  /
    100
    PL/SQL procedure successfully completed.
    from bash:
    testproc.sh:
    #!/bin/bash
    (echo 'set serveroutput on';
    echo 'declare';
    echo 'v_r int;';
    echo 'begin';
    echo 'my_proc(10,v_r);';
    echo 'dbms_output.put_line(v_r);'
    echo 'end;';
    echo '/';) | sqlplus -s u1/u1
    Console:
    oracle@mob-ubuntu:~$ chmod u+x testproc.sh
    oracle@mob-ubuntu:~$ ./testproc.sh
    100
    PL/SQL procedure successfully completed.With kind regards
    Krystian Zieja

  • Calling DB2 Stored procedure(with parameters) from powershell

    Hi 
    I am trying to call a DB2 stored procedure that has parameters from Powershell scrip and I am not able to can some one help me here?
    $ServerName = 'XXXX'
    $dbalias='XXXXX'
     $conn_string = "Provider=IBMDADB2;DBALIAS=$dbalias;Uid=;Pwd=;"
     $conn = new-Object system.data.Oledb.OleDbconnection
     $conn.ConnectionString = $conn_string
     $conn.open()
     $query="CALL DBID_CONTROL.GET_TABLE_MAINT_CTL(?,?,?,'MSAS','DATABASE_CONNECTIONS_CUBE','CUBE_PARTITION');"
     $cmd = new-Object system.data.Oledb.OleDbcommand($query,$conn)
      $ds=New-Object system.Data.DataSet
     $da=New-Object System.Data.OleDb.OleDbDataAdapter($cmd)
      $da.Fill($ds) [int]$cur_utc_date_key = $ds.Tables[0].Rows[0][0]
     $cur_utc_date          = $ds.Tables[0].Rows[0][1]
     ###list current date key & current date values
     write-output "current date key value is $cur_utc_date_key"
     write-output "current date value is $cur_utc_date"
     write-output " "
    Thanks

    Hi 
    This is the error message i get when i run the script
    Exception calling "Fill" with "1" argument(s): " CLI0100E  Wrong number of parameters. SQLSTATE=07001"
    At line:45 char:10
    +  $da.Fill <<<< ($ds)
        + CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException
        + FullyQualifiedErrorId : DotNetMethodException

  • Problem while calling concsub from shell script

    Hi All,
    I am facing problem when I am trying to run CONCSUB utility from shell script.The same works well when I try it from command line.The only prob I am facing from shell script is assigning values to temporary variables.
    This is how my script looks
    #!/bin/bash
    export PARM5="$5"
    export PARM6="$6"
    export PARM7="$7"
    echo "INTPARM5=\"$PARM5\""
    echo "INTPARM6=\"$PARM6\""
    echo "INTPARM7=\"$PARM7\""
    echo $FND_TOP/bin/CONCSUB $1 ONT 'Order Management Super User, Vision Operations (USA)' $3 WAIT=Y CONCURRENT ONT $PROGRAM "$INTPARM5" "$INTPARM6" "$INTPARM7"When I try to run the above shell based concurrent program it doesn't pass the parameters as expected and it errors out saying "Wrong number of arguments to call the procedure"
    I tried my luck from some of the previous posts ({thread:id=2360776} ),but to vain
    If anyone has any ideas,please suggest!!
    Thanks in advance!!
    Edited by: sandy on May 4, 2013 12:54 PM

    Here are your proofs
    Proocedure
       PROCEDURE abc(--p_errbuf            OUT   VARCHAR2,
                                                --p_errcode           OUT   VARCHAR2,
                                 p_order_no          IN    NUMBER DEFAULT NULL,
                                                p_customer_id       IN    NUMBER DEFAULT NULL,
                                 p_name              IN    VARCHAR2 DEFAULT NULL
          IS
                    v_cname    VARCHAR2(200);
               v_ordered_date DATE;
               v_order_number  NUMBER;
              v_order_type    VARCHAR2(200);
    BEGIN
                fnd_file.put_line(fnd_file.output, 'Begin Execution');
       SELECT DISTINCT ac.customer_name,
                    d.ordered_date ordered_date,
                    d.order_number order_number,
                    x.NAME order_type
            INTO   v_cname
               ,v_ordered_date
               ,v_order_number
               ,v_order_type
               FROM oe_order_headers_all d,
                    oe_transaction_types_tl x,
                    wsh_delivery_details b,
                    wsh_delivery_assignments c
                    ,ar_customers ac
              WHERE 1 = 1
                AND ac.customer_id = b.customer_id
                AND d.order_type_id = x.transaction_type_id
                AND x.LANGUAGE = 'US'
                AND b.released_status = 'B'
                AND b.source_header_id = d.header_id
                AND c.delivery_detail_id = b.delivery_detail_id
                AND d.order_number=NVL(p_order_no,d.order_number)
                AND ac.customer_id = NVL(p_customer_id,ac.customer_id)
             AND x.name=NVL(p_name,x.name)
                AND NOT EXISTS (SELECT 1
                                FROM wsh_delivery_details b
                               WHERE 1 = 1
                                      AND b.released_status != 'B'
                                      AND b.source_header_id = d.header_id)
                                       --BETWEEN ('1213794') and ('1213797'))
                AND rownum<2;
            INSERT INTO xxc_temp(customer_name,ordered_date,order_number,order_type) VALUES(v_cname,v_ordered_date,v_order_number,v_order_type);
            COMMIT;
             fnd_file.put_line(fnd_file.output, 'Order Number is' || v_order_number);
             fnd_file.put_line(fnd_file.output, 'Order Type is'   || v_order_type);
       END;Script
    #!/bin/bash
    set -x
    export PARM5="$5" 
    export PARM6="$6"
    export PARM7="$7"
    sqlplus -s $1 <<EOF
    set head off feed off serverout on size 1000000
    exec abc('$PARM5','$PARM6','$PARM7');
    exit
    EOFNow when I run the 'XX Order Detail CSV Report' I get the below log and no Output
    +---------------------------------------------------------------------------+
    Application Object Library: Version : 12.0.0
    Copyright (c) 1979, 1999, Oracle Corporation. All rights reserved.
    XXKES_PDF_TRANSFER module: XX Order Detail CSV Report
    +---------------------------------------------------------------------------+
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+
    + export PARM5=66432
    + PARM5=66432
    + export PARM6=
    + PARM6=
    + export PARM7=Mixed
    + PARM7=Mixed
    + sqlplus -s APPS/APPS
    +---------------------------------------------------------------------------+
    Executing request completion options...
    Output file size:
    0
    +------------- 1) PRINT   -------------+
    Disabling requested Output Post Processing.  Nothing to process.  The output of the request is zero byte.
    +--------------------------------------+
    Finished executing request completion options.
    +---------------------------------------------------------------------------+
    Concurrent request completed successfully
    Current system time is 06-MAY-2013 05:05:56
    +---------------------------------------------------------------------------+After the concurrent program executed I queried the table xxc_temp and here you see the data
    SQL> select * from xxc_temp;
    CUSTOMER_NAME
    ORDERED_D ORDER_NUMBER ORDER_TYPE
    A. C. Networks
    18-FEB-13        66432 MixedMy procedure fetches the data fro given set of i/p parameters but it doesn't give o/p coz it's a host based conc program.Please advise if there's a way to get the o/p in a host based conc program
    Thanks!!

Maybe you are looking for

  • Some photos will not sync to my iPod

    SOME PHOTOS WILL NOT COPY /SYNC TO MY IPOD!!

  • Save data to excel using froms_ole builtin

    Hi All, can somebody send me an example how to save any data to excel workbook using FORMS_OLE builtin package (or OLE2 in later versions) ? I'm working with forms 4.5 Thanks Brano

  • Transfer photos from Galaxy s4 to iPhoto

    Hi How do I transfer photos from a Galaxy s4 to iphoto. I'm running 10.8.3, iphoto 9.4.3. Trust me, I wish I didn't have to ask.

  • Button tabular form strange behaviour

    Hello everibody. Working with Oracle 10G Forms & Database. I have a tabular form. In this I have some buttons added to every row of tabular. I use a Access Key to can execute any of those buttons. The problem. If I use the Access Key the trigger fire

  • My new ipad won't sync with my itunes

    I tried to sync my new ipad (4th generation the newest one) and it says it won't load because I need itunes version 10.7 or higher. I tried to update my itunes (i have version 10.6.3) and it says I have the newest version of itunes. On the apple webs