Invoke oracle report 10g from database pl/sql package

Hi
Is there a way that i can invoke an oracle report 10g from the database pl/sql package? I am working on a requirement that needs to generate a report when one of the criteria is not met.
Please suggest me on this.

Thanks for the info.
I have a scenario where i need to fetch members details like name , email address and so on from the mainframes on the oracle database. Then on the oracle database i need to check if they have a email address or not. If yes then i need to generate a notice and mail it to them. If they don't have an email address, i'll have to print that out in a some centralized location.
By the way, the notice was developed using oracle reports 10g.
Now i am developing a pl/sql package which will do the address validation but i didn't know how to call a oracle report to generate the notice in pl/sql procedure.
As suggested i will try with dbms scheduler and see if that works for me.

Similar Messages

  • .CSV output from Oracle reports 10g (from Oracle application)

    Dear all,
    I have a requirement to give an Oracle 10g report which will be deployed in Oracle RMS application.
    When the report is run thru the application, it should give the output in .CSV format.
    But, by default when the report is run thru the application, its giving the output in PDF format.
    Can any one help me in this and guide me how to get a .csv output from the Oracle reports in the RMS application.
    Thanks,
    Suma

    pls reply

  • Migration from SQL Server Reporting Services to Oracle Reports 10g

    Hi,
    I have few reports which have been created using the Microsoft Sql Server Reporting Services.Now i want to create similar reports using Oracle Reports 10g.
    Will i need to start from scratch the creation or is there migration tool that would reduce the efforts for the same.
    Thanks in advance.

    Note there's a lot of useful info on sqldev's homepage (Learn More tab): migration docs and examples.
    Regards,
    K.

  • How to invoke Oracle Reports from JSP ?

    Hi,
    I need to invoke Oracle Reports ( paper format ) from my JSP in different formats /PDF, RTF, HTML/ using rwservlet and then send the content to user browser.
    Please, someone to give me working example.
    Thanks in advance.
    Best regards.
    Peter.

    Peter,
    you can call it from a URL if you need:
    /reports/rwservlet?report=...&detype=cache&desformat=pdf...
    You can define a file called cgicmd.dat on teh server that takes key-value pairs of the most common parameters under an named entry.
    e.g.
    ReportsCommon: destype=cache server=myServer ... %*
    This way your URL is reduced to a minimum length because you don't have to list all parameters in teh URL.
    Second solution:
    Run a Reports from a browser URL and specify paramform=yes. This create a HTML based parameter form before executing teh Reports. Have a look at the HTML form code and see to what extend your Reports share same functionality so that you could create this HTML form in your JSP page. You could have a poplist with the name of "desformat" and list HTML, HTMLCSS,PDF,RTF,XML as valid entries so that the user can select the output format.
    The Reports documentation shipped with Oracle9iAS (also available online otn.oracle.com/products/reports) has all teh information you need.
    Frank

  • Cofiguring & sending email with attachment from Oracle Report 10g

    I want to run report from Oracle 10g reports to be sent as email attachement to differnt people with their respective personal content.
    The first problem is to know how to configure Oracle reports 10g to be able to send output to email address.
    The second problem is to be able to route seperate pages of the report to seperate email address.
    Thanks to all.

    For configuring email for reports
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_conf.htm#sthref472
    For sending the output to different mail id's you can use bursting and distribution feature of Oracle Reports. For details,
    http://download-east.oracle.com/docs/cd/B14099_17/bi.1012/b14048/pbr_dist.htm#i1007338

  • Oracle Report Failing After Database Version Upgrade

    Hi,
    I have function code created in RDF file of oracle reports 10g as below-
    create or replace function clobblobtest (TMP_MID varchar2) return varchar is
    missed_text varchar2(1000) := '';
    v_time_stamp date;
    v_end_time date;
    cursor c1(c_time_stamp in date,
              c_mid in varchar2) is
           select mn.TEXT from msgnotes mn
      where mn.mid=c_mid
          and mn.create_date >= c_time_stamp;
    cursor c2(c_time_stamp in date,
              c_mid in varchar2,
              c_end_time in date) is
           select mn.TEXT from msgnotes mn
      where mn.mid=c_mid
          and mn.create_date >= c_time_stamp
          and mn.create_date <= c_end_time;
    begin
      IF ('1' = 'INWARD RETURN') then
        select bbi into missed_text from mtf1000 where mid=TMP_mid;
        ELSIF '1'='QPH Missed' then
      Select max(nj.update_date) into v_time_stamp
      from newjournal nj
      where nj.mid=TMP_mid and nj.status = 'CTOVRQ';
      for i in c1(v_time_stamp,TMP_mid) loop
      missed_text:=missed_text||' '||i.text;
      END Loop;
      ELSIF ('Rejected'='Rejected' OR 'REJECTED'='REJECTED') then
      IF ('TERMINATED' in ('TERMINATED')) THEN
      Select min(nj.update_date),max(nj.ENDDATE) into v_time_stamp,v_end_time
      from newjournal nj
      where nj.mid=TMP_mid and nj.actionid2='16' and nj.actionid1 is null;
      for i in c2(v_time_stamp,TMP_mid,v_end_time) loop
      missed_text:=missed_text||' '||i.text;
      END Loop;
      ELSE
      Select max(nj.update_date) into v_time_stamp
      from newjournal nj
      where nj.mid=TMP_mid and nj.status = 'UNSETLED';
      for i in c1(v_time_stamp,TMP_mid) loop
      missed_text:=missed_text||' '||i.text;
      END Loop;
      END IF;
      ELSE missed_text := null;
      END IF;
    return(missed_text);
    End;
    Note:- Text column from table msgnotes is of datatype CLOB.
    I have executed report having this function before oracle upgrade and it works fine.
    But when i am trying to execute report after oracle version upgrade from 11.2.0.3.0 to 11.2.0.4.0 with same data report fails with runtime error Rep-1401: '' Fatal PL/SQL Error.
    With New version we tried to typecast Text column from clob to varchar and executed report then it works... but report runs on old version without any explicit typecasting.
    Please note when i run and call this funtion from sql developer with upgraded database version it works fine.
    Please advise.

    This error can possibly depend on the fact that the PL/SQL engines are in different versions. When using SQL Developer you use the PL/SQL engine in the database. When using Oracle Reports you use the PL/SQL engine in the Oracle Reports Server (Web Logic Server even maybe). These versions - in the Forms and Reports realm - are different (read: a lower version) than the PL/SQL engine in the database.
    If I check what version I have in Oracle Forms, as an example, I get 11.1.0.7.0 (Help in the Oracle Forms Builder menu) but in the database I have (select * from product_component_version;) 11.2.0.3.0.
    That COULD be your issue...how to fix it I am not sure...

  • How 2 call a report 10g from a parameter form 10G

    Hello,
    pls. i need steps ,or docs how 2 run a report 10g from a parameter form ;
    Is it requireD for the Parameter form to call a report an Application Server no* ???*
    i had a previous  experience with the code due to run the report as follows:_
    DECLARE
       PARAM_ID                                 PARAMLIST ;
       PARAM_NAME                           VARCHAR2(30) := 'REPORT_PARAMETER';
       ALRT                                         NUMBER;
       ERR_TXT                                   VARCHAR2(1000);
       repid                                         REPORT_OBJECT;
       v_rep                                        VARCHAR2(100);
       v_REP_SERVER_NAME       VARCHAR2(200);
       v_ip                                          VARCHAR2(100);
    BEGIN
           PARAM_ID := GET_PARAMETER_LIST(PARAM_NAME);
           IF NOT ID_NULL(PARAM_ID) THEN
              DESTROY_PARAMETER_LIST('REPORT_PARAMETER');
           END IF;
           v_REP_SERVER_NAME := REP_SERVER_NAME;
    BEGIN
            SELECT  PARAMETER_VALUE
            INTO   v_ip
            FROM GENERAL_FIXED_PARAMETERS
           WHERE PARAMETER_ID = 'REPORT_SERVER_IP';
           EXCEPTION
           WHEN OTHERS THEN   
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);
           Message ('OTHERS' || SQLCODE || ' And ' || SQLERRM);     
    END;
           PARAM_ID := CREATE_PARAMETER_LIST(PARAM_NAME);
           ADD_PARAMETER(PARAM_ID,'PARAMFORM',TEXT_PARAMETER,'NO');   
           ADD_PARAMETER(PARAM_ID,'COPIES',TEXT_PARAMETER,:COPIES);
           ADD_PARAMETER(PARAM_ID,'P_DISPLAY',TEXT_PARAMETER,:DESTYPE);
           ADD_PARAMETER(PARAM_ID,'DESFORMAT',TEXT_PARAMETER,'pdf');
           ADD_PARAMETER(PARAM_ID,'group_id',TEXT_PARAMETER, :group_id);
             repid := find_report_object('WH_R01_GRP_ITEM');
             SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,v_rep_server_name);     
             v_rep := RUN_REPORT_OBJECT(repid,PARAM_ID);
      WEB.SHOW_DOCUMENT('http://'||V_IP||'/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?server='||v_REP_SERVER_NAME,'_blank');
    --  http://server_name:8889/reports/rwservlet?report=rep_name.rdf&paramform=yes&destype=CACHE&desformat=htmlcss&userid=id/pass@conn
    END;notice here the value of V_IP it is retrieved from the following table desc...
    The table desc   GENERAL_FIXED_PARAMETERS that i select from the values are as follows:_
    SQL>   DESC GENERAL_FIXED_PARAMETERS;
    Name                                      Null?    Type
    PARAMETER_ID                                       VARCHAR2(200)
    PARAMETER_VALUE                                    VARCHAR2(200)
    PARAMETER_DESC                                     VARCHAR2(200)
    MODULE                                             VARCHAR2(200)it's stored value is as follows:
    SQL>  select * from GENERAL_FIXED_PARAMETERS;
    PARAMETER_ID   PARAMETER_VALUE  PARAMETER_DESC   MODULE
    REPORT_SERVER_IP     rep_oraas_OracleAs_10gNotice here the value of the PARAMETER_VALUE is a string ; as if it's a generic value to be applied on any REPORT_SERVER_IP this value ...
    Where Should i retrieved or Get ???
    That was long time i can't remember pls help me 2 run my report what should id
    i searched the google but there is a missing link can u help and guide me it's urgent pls.
    if needed 2 start oc4j for reports , setting pathes ,fonts, enviroment file etc.
    The report object's property in the object navigator is as follow:_
    + Oracle Developer Integration node :
    File name : My_Report_name
    Execution Mode: Runtime
    Communication Mode : Synchronous
    Data Source data block :NULL
    + Reports node:
    Report Destination Type : FileThanks in advance,
    Regards,
    Abdetu...

    Thanks InoL for reply,
    REPORT_SERVER_IP is not correcti had doubted but wasn't sure of it...!
    My First Question was :
    Is it requireD for the Parameter form to call a report an Application Server no ???*the answer i found is Yessss
    Regards,
    Abdetu...

  • Invoking a BPEL process from a PL/SQL procedure(URGENT)

    hello,
    Is it possible to invoke a BPEL process from a pl/sql procedure??
    Please reply ...

    Yes it is.
    On my current project i needed this too.
    http://orasoa.blogspot.com/2006/11/calling-bpel-process-with-utldbws.html
    Re: Error running demo PL/SQL consuming web services
    I used this utl_http example:
    declare
    soap_request varchar2(30000);
    soap_respond varchar2(30000);
    http_req utl_http.req;
    http_resp utl_http.resp;
    launch_url varchar2(240) ;
    begin
    soap_request:='<?xml version="1.0" encoding="UTF-8"?>
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Header/>
    <soap:Body xmlns:ns1="http://xmlns.oracle.com/testtask">
    <ns1:testtaskProcessRequest><ns1:input>leeg</ns1:input></ns1:testtaskProcessRequest>
    </soap:Body>
    </soap:Envelope>';
    http_req:= utl_http.begin_request('http://yourhostname/orabpel/default/testtask/1.0'
    ,'POST',
    'HTTP/1.1'
    utl_http.set_header(http_req, 'Content-Type', 'text/xml') ;
    utl_http.set_header(http_req, 'Content-Length', length(soap_request)) ;
    utl_http.set_header(http_req, 'SOAPAction', 'initiate');
    utl_http.write_text(http_req, soap_request) ;
    http_resp:= utl_http.get_response(http_req) ;
    utl_http.read_text(http_resp, soap_respond) ;
    utl_http.end_response(http_resp) ;
    dbms_output.put_line(soap_respond);
    end;

  • Can I use Oracle Reports 10g with Apps 11.5.10 version?

    Apps Version is 11.5.10
    Oracle Reports 10g is compatible with 11.5.10 or not?
    If Oracle Reports 6i is the only compatible version with 11.5.10 , from where I can download Oracle Reports 6i?
    Thanks in advance.

    Hi;
    As you said 6i should come with ebs, If they are not able to find it can we raise an SR to get/download oracle reports 6i?I still cant get what is reason of you need to install 6i spreatly? Anyway it comes by default installation. Its mean you have it already,if you havent you cant work wiht ebs nomore.
    In addition to EBSDBA post,Please see below great link which is posted by Hussein Sawwan
    rapidwiz options *<< Posted by Hussein Sawwan*
    Regard
    Helios

  • Generate arabic pdf in oracle report 10g

    what is the right way to generate arabic language in oracle report 10g destype=PDF??
    i do that for font < arial > and < transparent arabic >
    but i have a problem with some arabic font
    like < simpilified arabic >
    and i put this font in utifont.ali

    You could use the java-library barbecue to generate an image from your number and then include that image in your report.

  • How to add Oracle Graphics 6i charts (OGD) to my Oracle Reports 10g

    Hi,
    Is there any possibility to add Oracle Graphics 6i Charts (.OGD) to Oracle Reports 10g
    (OR)
    If not possible, Can you please provide steps to migrate OGD to any format that is supported in Oracle Reports 10g.
    Regards,
    Swethan

    Oracle Graphics and its OGD image format are no longer supported. Reports built with previous versions of Oracle Reports containing Oracle Graphics charts will continue to run in Oracle Reports 10g Release 2 (10.1.2) if the Oracle Graphics 6i runtime is installed on the same machine in a separate ORACLE_HOME. However, this is not a supported configuration, and Oracle will not fix bugs that result from this configuration.
    Re-create all Oracle Graphics 6i objects using the Graph Wizard

  • Oracle Reports 10g Fonts issue

    Hi ,
    I am developing report on windows environment and deploying on Unix environment.
    I am using Oracle Report 10g R2 version.
    The report is created in batch through unix script. I am using barcode fonts and some other fonts in my report.
    When I generate PDF output for the report, I am getting proper barcode font however other fonts used in the report are not showing up properly in the PDF output.
    1. I am using application specific PPD file which contains the list of all the fonts used in the report
    2. All the AFM files for the fonts are availabe in the AFM folder
    3. In the uifont.ali file, I have done following things:
    a. Created Entry for PDF section as below:
    [ PDF ]
    barcode_font = "barcode_font"
    [ PDF:Subset ]
    "Hamburd DB" = "HamburgDemibold"
    4. I have executed the report wiith debug option on. I have checked the debug file and it is reading all the fonts file from required AFM location.
    5. I have creaeted XML of the report and check the fonts used and check the same with Font Alias file and also in AFM Folder.
    6. I have checked the PDF file (document properties) for fonts. It shows that Truetype font is used for Barcode. For others, it shows that Actual font was Adode Sans MS of Type 1 font and it was replaced with HamburgDemiBold however the output file is not proper.
    One more point: If I create a PS file and then conver the file to PDF, then the output PDF file is perfectly fine. However, if I create PDF directly, I am not getting the fonts properly.
    Please let me know what I have missed or done wrong.
    Thanks & Regards,
    Ramchandra Jetwani

    Hi Hamid,
    I tried the steps mentioned in the link however I am still facing the same issue.
    I am using rwrun60 as report runtime and executable. In the environment, REPORTS_PATH is not set.
    I had tried setting the REPORTS_PATH in the unix script and also adding the fonts path with REPORTS_PATH. However, it still does not work. I had tried PDF subset and PDF Embed both however none of them seems to work.
    Also, in the PDF (using menu documents --> fonts) , i see that actual font seen as Adode Sans MM and not the font i need in the output.
    I have question that if the reports path is not set then how oracle report will pick up the fonts details and which location will it look for fonts?
    Also, if reports path is not set then how do i direct oracle report to use font path that i want to be used.
    Uifont.ali file (PDF section)
    #===============================================================
    [ PDF:Embed ]
    "Code-25-30-Int" = "Code-25-30-Int.afm Code-25-30-Int.pfa"
    "Hamburg Medium" = "Hamburg-Medium.afm Hamburg-Medium.pfa"
    "Hamburg-Demi Bold" = "HamburgDemiBoldBold.afm HamburgDemiBoldBold.pfa"
    "Hamburg-Regular" = "Hamburg-Medium.afm Hamburg-Medium.pfa"
    "Hamburg-Medium" = "Hamburg-Medium.afm Hamburg-Medium.pfa"
    Degub file (created using debug_slfind)
    slfindninit():
    *** slfindfile() -- script started on Wed Mar 21 10:54:35 2012
    slfindfile(): product = vgs
    slfindfile(): version = 605
    slfindfile(): type = 1 (RESOURCE)
    slfindfile(): name = vgi
    slfindfile(): language dependent, character set independent
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated vgs to directory =
    slsfindfile(): guicommon6/vgs
    slsfindfile(): and env. var = vgs
    slsfindfile(): checking environment variable VGS_RESOURCE(12).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_RESOURCE(15).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/vgs/admin/resource/US/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/vgs/admin/resource/US
    slfexist(): testing /oratools/d6i_tmp/guicommon6/vgs/admin/resource/US/vgi.res
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/vgs/admin/resource/US/vgi.res
    slfindninit():
    *** slfindfile() -- script started on Wed Mar 21 10:54:35 2012
    slfindfile(): product = ca
    slfindfile(): version = 107
    slfindfile(): type = 3 (LOCALPREFERENCE)
    slfindfile(): name = prefs
    slfindfile(): language dependent, character set dependent
    slfindfile(): gui independent
    slfindfile(): buflen = 1024
    slsfindfile(): translated ca to directory =
    slsfindfile(): guicommon6/ca
    slsfindfile(): and env. var = ca
    slsfindfile(): checking environment variable CA_LOCALPREFERENCE(18).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_LOCALPREFERENCE(22).
    slsfindfile(): environment variable not set
    slsfindfile(): checking HOME directory.
    slsfindfile(): environment variable set to /appl/tst/ah04/stic/home (len=24)
    slfpath(): looking up path
         /appl/tst/ah04/stic/home
    slfexist(): testing /appl/tst/ah04/stic/home
    slfexist(): testing /appl/tst/ah04/stic/home/prefs.ora
    slfexist(): /appl/tst/ah04/stic/home/prefs.ora doesn't exist
    slsfindfile(): *** UNABLE TO LOCATE FILE ***
    slfindninit():
    *** slfindfile() -- script started on Wed Mar 21 10:54:35 2012
    slfindfile(): product = ca
    slfindfile(): version = 107
    slfindfile(): type = 2 (GLOBALPREFERENCE)
    slfindfile(): name = prefs
    slfindfile(): language dependent, character set dependent
    slfindfile(): gui independent
    slfindfile(): buflen = 1024
    slsfindfile(): translated ca to directory =
    slsfindfile(): guicommon6/ca
    slsfindfile(): and env. var = ca
    slsfindfile(): NOTE: All global preferences/aliases are searched for in
    slsfindfile(): $ORACLE_HOME/tools/admin
    slsfindfile(): checking environment variable CA_GLOBALPREFERENCE(19).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_GLOBALPREFERENCE(23).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/tools/admin/US/WE8ISO8859P1/
    slfexist(): testing /oratools/d6i_tmp/tools/admin/US/WE8ISO8859P1
    slfexist(): /oratools/d6i_tmp/tools/admin/US/WE8ISO8859P1 doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/tools/admin/US/
    slfexist(): testing /oratools/d6i_tmp/tools/admin/US
    slfexist(): /oratools/d6i_tmp/tools/admin/US doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/tools/admin
    slfexist(): testing /oratools/d6i_tmp/tools/admin
    slfexist(): testing /oratools/d6i_tmp/tools/admin/prefs.ora
    slsfindfile(): returned /oratools/d6i_tmp/tools/admin/prefs.ora
    slfindninit():
    *** slfindfile() -- script started on Wed Mar 21 10:54:36 2012
    slfindfile(): product = Reports_Runtime
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 0 (UNKNOWN)
    slfindfile(): name = Tk2Motif.rgb
    slfindfile(): language dependent, character set dependent
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): checking environment variable REPORTS_RUNTIME_UNKNOWN(23).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_UNKNOWN(14).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/Reports_Runtime/admin/US/WE8ISO8859P1/
    slfexist(): testing /oratools/d6i_tmp/Reports_Runtime/admin/US/WE8ISO8859P1
    slfexist(): /oratools/d6i_tmp/Reports_Runtime/admin/US/WE8ISO8859P1 doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/Reports_Runtime/admin/US/
    slfexist(): testing /oratools/d6i_tmp/Reports_Runtime/admin/US
    slfexist(): /oratools/d6i_tmp/Reports_Runtime/admin/US doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/Reports_Runtime/admin
    slfexist(): testing /oratools/d6i_tmp/Reports_Runtime/admin
    slfexist(): /oratools/d6i_tmp/Reports_Runtime/admin doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/Reports_Runtime/admin/US
    slfexist(): testing /oratools/d6i_tmp/Reports_Runtime/admin/US
    slfexist(): /oratools/d6i_tmp/Reports_Runtime/admin/US doesn't exist
    slsfindfile(): *** UNABLE TO LOCATE FILE ***
    slfindfile(): product = tk2
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 0 (UNKNOWN)
    slfindfile(): name = Tk2Motif.rgb
    slfindfile(): language dependent, character set dependent
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk2 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_UNKNOWN(12).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_UNKNOWN(14).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/US/WE8ISO8859P1/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/US/WE8ISO8859P1
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/US/WE8ISO8859P1 doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/US/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/US
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/US doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/Tk2Motif.rgb
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/Tk2Motif.rgb
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 0 (UNKNOWN)
    slfindfile(): name = uiprint.txt
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_UNKNOWN(12).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_UNKNOWN(14).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/uiprint.txt
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/uiprint.txt
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 40 (PPD)
    slfindfile(): name = stic
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_PPD(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_PPD(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/PPD
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/stic.ppd
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/stic.ppd
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 40 (PPD)
    slfindfile(): name = stic
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_PPD(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_PPD(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/PPD
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/stic.ppd
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/PPD/stic.ppd
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgDemiBoldBold
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgDemiBoldBold
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgDemiBoldBold
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgBoldBold
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgBoldBold
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgBoldBold
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgMediumMedium
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgMediumMedium
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgMediumMedium
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = Code-25-30-Int
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/Code-25-30-Int
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/Code-25-30-Int
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = EuroCollectionNormal
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/E/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/E
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/E doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/EuroCollectionNormal
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/EuroCollectionNormal
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 0 (UNKNOWN)
    slfindfile(): name = uixpatt.txt
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_UNKNOWN(12).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_UNKNOWN(14).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/uixpatt.txt
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/uixpatt.txt
    slfindninit():
    *** slfindfile() -- script started on Wed Mar 21 10:54:36 2012
    slfindfile(): product = reports60
    slfindfile(): version = 6000
    slfindfile(): type = 1 (RESOURCE)
    slfindfile(): name = rw
    slfindfile(): language dependent, character set independent
    slfindfile(): gui = m
    slfindfile(): buflen = 512
    slsfindfile(): checking environment variable REPORTS60_RESOURCE(18).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_RESOURCE(15).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/reports60/admin/resource/US/
    slfexist(): testing /oratools/d6i_tmp/reports60/admin/resource/US
    slfexist(): testing /oratools/d6i_tmp/reports60/admin/resource/US/rwm.res
    slsfindfile(): returned /oratools/d6i_tmp/reports60/admin/resource/US/rwm.res
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 26 (FONTALIAS)
    slfindfile(): name = uifont
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 1024
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_FONTALIAS(14).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_FONTALIAS(16).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/uifont.ali
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/uifont.ali
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgMediumMedium
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgMediumMedium
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgMediumMedium
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgDemiBoldBold
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgDemiBoldBold
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgDemiBoldBold
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = Code-25-30-Int
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/C doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/Code-25-30-Int
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/Code-25-30-Int
    slfindfile(): product = tk6
    slfindfile(): version = 6.0.8.14.0
    slfindfile(): type = 39 (AFM)
    slfindfile(): name = HamburgBoldBold
    slfindfile(): language free
    slfindfile(): gui independent
    slfindfile(): buflen = 512
    slsfindfile(): translated tk6 to directory =
    slsfindfile(): guicommon6/tk60
    slsfindfile(): and env. var = tk60
    slsfindfile(): checking environment variable TK60_AFM(8).
    slsfindfile(): environment variable not set
    slsfindfile(): checking environment variable ORACLE_AFM(10).
    slsfindfile(): environment variable not set
    slsfindfile(): *** ORATOOLS_HOME not set ***
    slsfindfile(): checking ORACLE_HOME environment variable.
    slsfindfile(): environment variable set to /oratools/d6i_tmp (len=17)
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H
    slfexist(): /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/H doesn't exist
    slfpath(): looking up path
         /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM
    slfexist(): testing /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgBoldBold
    slsfindfile(): returned /oratools/d6i_tmp/guicommon6/tk60/admin/AFM/HamburgBoldBold
    Thanks & Regards,
    Ramchandra Jetwani

  • Issue with Oracle Report 10g output

    I want to generate text output in Oracle Reports 10g. I am using paper layout.Length of the fields want to print is 750. Each line is broken in the output after 120 characters length apporx. Please let me know if there is any way to print complete 750 characters.

    Sample output is coming as below :
    T2013 56600084112345                                                                                         FPWC
                                                                           955 OLD WILMINGTON RD                   FAYETTEVILLE
         CUMBERLAND                 NC28301                   00000001CONTACT TESING                          1234567890
                    00000001          I'
    I want it to be discplayed in single line instead of breaking.

  • Need help with Oracle reports 10g

    Hi
    we have a requirement in a oracle 10g application
    this application is on the unix server
    the requirement is such that the user must be able to print a report directly to the default printer
    when the user clicks on the button a report must be printed on the users default printer
    can u help us understand that how can we configure the local printer of the user on the unix server?

    hi, piyush9010
    Check this following link...
    Oracle reports 10g output directly to printer
    Oracle reports 10g output directly to printer
    Make your printer as shared printer then try.
    Use DESTYPE=PRINTER.
    http://qamarsyed.blogspot.com/2011/02/how-to-print-oracle-report-to-network.html
    http://docs.oracle.com/cd/E14571_01/bi.1111/b32121/pbr_cla005.htm#i637246
    Hope this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • How to call a Report 10g from a parameter form..?

    Hello,
    pls i wanna know the procedure of :
    How to call a Report 10g from a parameter form..?
    regards,
    Abdetu..

    hopes it work for you.
    procedure get_report is
    pl_id paramlist;
    p_year varchar2(4);
    param_name varchar2(10) :'param';
    begin
    pl_id := get_parameter_list(param_name);
    if not id_null(pl_id_)then
    destroy_parameter_list(pl_id);
    end if;
    pl_id := create_parameter_list(param_name);
    p_year := year -- assign the value.
    add_parameter(pl_id,'p_year',text_parameter,p_year);
    execute_report('report_name',pl_id);
    end;

Maybe you are looking for