Using External Procedure to run oracle6i reports

Can we run oracle server reports "rwrun60" through database external procedure?
A typical command is "/oracle/dev6i/bin/rwrun60 MODULE=/tmp/runrep017 P_1=671260 BATCH=YES USERID=<uid>/<pwd>@<sid> DESNAME=/tmp/runrep0171.lis DESTYPE=FILE DESFORMAT=dflt NONBLOCKSQL=NO".
When I tried it did not run report through external procedure, however a print command worked fine through external procedure.

That other guy is right that it won't run any slower. I don't know about CoD2, but I've been meaning to try running it from an external HD.
As for Pro-Tools, you would be correct to run it from the external drive for two reasons:
a) the ability to take your session to a different pro-tools rig (duh)
b) Pro Tools, depending on your computer's particular specifications, will either barely run or not run at all from a record drive (in this case, your external 7200rpm drive) under 7200rpm. To be honest, I would highly recommend upgrading to a 10,000-15,000 rpm drive. 7200 will work, but you might have problems when recording 24-bit audio (don't use 16-bit, its garbage). As long as the rest of your comp is up to par, you shouldn't have any real problems though.
email me if you have any other pro-tools or CoD2 (mac version) questions. I'm currently in the process of getting my Pro-Tools Operator's Certification, so I could use the practise:)
[email protected]

Similar Messages

  • Not able to create Oracle External Procedure to Run Host Commands

    Trying to follow this article
    http://timarcher.com/node/9
    Its related to
    Oracle External Procedure to Run Host Commands
    steps
    1)mkdir –p /u01/app/usfapp/oracle_external_procs/oracle_host
    2)
    Author is suggesting to create a file
    but header file is missing in very first line... may be not sure..say it is <stdio.h>Create a file named oracle_host.c. The contents of this file will be:
    #include
    int RunCmd(char *cmd)
    return(system(cmd));
    4) Create the file named makefile. The contents of this file will be:
    oracle_host: oracle_host.o
    gcc -shared -o oracle_host.so oracle_host.o
    $ cat makefile
    oracle_host: oracle_host.o
         gcc -shared -o oracle_host.so oracle_host.o
    5)
    Now run the command make
    The output on my server looks like:
    [u01/app/usfapp/oracle_external_procs/oracle_host]
    banner@usfbannerte [TRNG] > make
    gcc -shared -o oracle_host.so oracle_host.o
    here I stuck .. Not able to run this step ]$ make
    gcc -shared -o oracle_host.so oracle_host.o
    /usr/bin/ld: oracle_host.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
    oracle_host.o: could not read symbols: Bad value
    collect2: ld returned 1 exit status
    make: *** [oracle_host] Error 1
    Any one has any idea what went wrong
    Any other link related to this is most welcomed.
    Please suggest ...

    hi
    please update
    or
    provide any other link / document for
    Oracle External Procedure to Run Host Commands
    --using c
    Thanks in advance.

  • Procedure before running the report

    Hi,
    Is it possible to call a procedure before running the report...If yes how...Please guide me
    Regards,
    Pa

    In Application Builder, go to the page you want to create the process on and click the create icon under Page Rendering > Processes.
    Select PL/SQL, give any useful name (like call_procedure) and click next.
    In the Enter PL/SQL Page process field, just enter something like this:
    my_procedure;
    Click Create Process and it is done! Note that this call will be executed every and each time every user accesses the page, right before rendering it (if that is what you want).
    Luis

  • Error while executing report throug web (procedure to run a report through)

    Hi experts,
    I am executing a report through web. But its not running , displaying an error message "page cannot be displayed".
    Please provide me the step by step procedure (settings) to run a report in web.
    regards,
    Rajesh

    Hi Rajesh,
    If you just want to execute the report in web, you can do one thing.
    Go to Query designer of your relevent system.
    Open the Query which you want to execute in Web.
    Then in the Query tab(first one) in the drop down list you have the Option  'execute'./ the 5th Icon  in the Query designer screen.On clicking this it will open a new window( Internet Explorer) and prompts for your system credentials.
    Upon providing them  the query start executing if it deosn't have any selections, else selection screen appears.
    You can save the link and can use this when ever you want to execute the query.Use it in the BW system environment's Intrenet explorer only.
    Hope this helps.
    Regards,
    Ganesh Thota

  • How to use external procedures in OWB Mapping

    Hi,
    Does anyone have an exmple of using external procdures in Mapping.
    Thanks
    mandi

    Hi Mandi,
    you can use Public and self created external Procedures/Functions in a Mapping.
    You can integrate them in Expressions, e.g.
    or use them as Post or Premapping in a Mapping.
    It´s simple, just play a bit :-)
    Only on a few Things you´ve to watch:
    Every external Objects you want to use in a Mapping must be known in the Metadatas.
    If you create a Mapping under the User scott,(e.g.), and you want to use
    an external Procedures/Functions from the User Tiger,(e.g.), you must make sure
    that theres a connection between these two Schematas.
    For such things you can create a Connector in the Control Center.
    Regards
    Lone

  • Error using EXTERNAL PROCEDURES on UNIX

    I'm having troubles to run external procedures on UNIX. I'm following the extern.c example that comes by default. It works very well on my NT enviornment, but not on Unix.
    I compiled the share library on my solaris OS, and then I create the library, procedures,etc.
    But when I try to run the procedure I received the following error:
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: ld.so.1: extprocextproc: fatal: libucb.so.1: open failed: No such
    file or directory
    ORA-06512: at "SAMPLE.PLS_MAX", line 0
    ORA-06512: at "SAMPLE.USEIT", line 8
    ORA-06512: at line 1

    I'm having troubles to run external procedures on UNIX. I'm following the libtest1.c example that comes by default. It works very well on my NT enviornment, but not on Unix.
    I compiled the share library on my solaris OS, and then I create the library, procedures,etc.
    But when I try to run the procedure I received the following error:
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: Unresolved external
    ORA-06512: at "YDBROW.ORA_TEST", line 0
    ORA-06512: at line 8

  • HD failed on iMac 7.1. How do I use external drive to run computer?

    I have an iMac made in mid 2007. It is an Intel Duo Core processor. The hard drive has failed. Apple says I can use an external drive to run it. I have a installation disk for Snow Leopard. How can I install Snow Leopard onto the external disk given that the computer is unusable?

    If no way to have an internal hard drive installed into your iMac, then you will need to purchase two good quality, large capacity FireWire 800 (fast data transfer connection) external hard drives.
    FIreWire 800 drives will give you an operational speed close to the same speed as your iMac's internal hard drive.
    One external hard drive will be used as your iMac's main working drive. The other drive is to be used to create either cloned, bootable backup drive or to be used with OS X Time Machine backup app.
    To install OS X Snow Leopard onto an external hard drive, if your iMac's optical drive is still working, power up your iMac holding down the C key on the keyboard and immediately insert the install disc into the optical drive slot on the side of your iMac.
    Your iMac should boot up to the system that is on the install disc.
    Once you are in the Installer app, go up to the main menu bar and quit the installer.
    Then on the main menu bar launch the Disk Utility app and format the external drive for Mac OS X Extended ( journaled ) format with a GUID partition scheme.
    You can decide if you want one larger partition on break the drive down into more than one partition for data storage purposes or not.
    Once the drive is formatted, quit Disk Utility, relaunch the OS X installer app and proceed, following the instructions to install OS X Snow Leopard onto your external drive.
    Once installed, you'll be prompted to restart your iMac and it should automatically find where OS X is installed and boot up your Mac to OS X.
    From there, you can go into OS X Preferences Panel and select the software update feature of OS X to update your OS X version to OS X 10.6.8 and all of your Apple installed apps.
    In OS X System Prefrences panel under Startup disc icon, click the icon and set the startup disc for the external hard drive that shows your currently installed OS X system.
    This OS X will know where OS X is always launched from and won't have to hunt for it when you always startup your Mac.
    You will have to reinstall all your third party applications, too.
    Good Luck!

  • Error in using external procedure in PL/SQL Block

    After setting up the configuration : Respective entries in
    tnsnames.ora
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    (CONNECT_DATA = (SID = PLSExtProc)(SERVER=DEDICATED))
    and listner.ora :
    (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = mysid)) (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = myid1))
    (SID_DESC = (GLOBAL_DBNAME = mymachine )(SID_NAME = myid2))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /oracle9i)
    (PROGRAM = extproc)
    (ENVS="EXTPROC_DLLS = ANY" // Added this entry
    (SID_DESC =
    (GLOBAL_DBNAME = oracle9i)
    (ORACLE_HOME = /oracle9i)
    (SID_NAME = oracle9i)
    (ENVS="EXTPROC_DLLS= ANY") // Added this entry
    Wrote the program as :
    ===========================================================
    #include <stdio.h>
    #include<stdlib.h>
    void sh(char *command) {
    int num;
    num = system(command);
    ===========================================================
    Compiled the file (above ) shell.c as :
    gcc -c shell.c
    Made the library as :
    ld -r -o shell.so shell.o
    chmod 777shell.so
    copied the file to respective Home directories. Made one link to /usr/lib :
    which is in LD_LIBRARY_PATH
    created the Library as :
    CREATE OR REPLACE PROCEDURE shell(command IN char)
    AS EXTERNAL
    NAME "sh"
    LIBRARY shell_lib
    LANGUAGE C
    PARAMETERS (command string);
    So my problem is
    when executing the procedure from SQL prompt:
    SQL> exec shell('any command');
    it throws the following errors :
    BEGIN shell('ls'); END;
    ERROR at line 1:
    ORA-06520: PL/SQL: Error loading external library
    ORA-06522: /opt/sotas/bin/shell.so: only ET_DYN and ET_EXEC can be loaded
    ORA-06512: at "CDR_ADMIN.SHELL", line 0
    ORA-06512: at line 1
    Any help or suggestions would be appreciated
    Thanks in advance......
    Made one Link to /usr/lib

    Nikolai,
    I have created a simple process flow which only calls the external process. The script is on the same host as the process flow is deployed to.
    I have used two diffent values for the command parameter.
    1. I placed the full path of the file in the command parameter and left the script parameter blank:
    COMMAND: /edwftp/ppas/scripts/ClearPPAS.sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT:
    2.I placed the bash command in the command parameter and the full path in the script parameter.
    COMMAND: /usr/bin/sh
    PARAMETER_LIST:
    SUCCESS_THRESHOLD: 0
    SCRIPT: /edwftp/ppas/scripts/ClearPPAS.sh
    Both of these appear to work as they print out the statements inside the script but the files that are supposed to be removed still remain.
    Starting Execution EXTER_FILE
    Starting Task EXTER_FILE
    Starting Task EXTER_FILE:EXTERNALPROCESS
    Removing ActivatedAudit.dat...
    Removing ActivatedCustomers.dat...
    Removing ActiveAudit.dat...
    Removing ActiveCustomers.dat...
    Done!
    Create the Activated Customers data file...
    Create the Active Customers data file...
    Done!
    WARNING: Log file truncated - see RAB for further information.
    /edwftp/ppas/scripts/ActivatedCustomers.sh: /edwftp/ppas/log/ActivatedCustomers.log: cannot create
    /edwftp/ppas/scripts/ActiveCustomers.sh: /edwftp/ppas/log/ActiveCustomers.log: cannot create
    WARNING: Log file truncated - see RAB for further information.
    Completing Task EXTER_FILE:EXTERNALPROCESS
    Completing Task EXTER_FILE
    Completing Execution EXTER_FILE
    The permissions on the /log direcotry are 775. The user I register the file location with owns this directory.
    Can't think of anything else I have missed. I really appreciate your help :)
    Ryan

  • How can I boot my (OS Lion) Macbook (using external drive) to run Leopard

       I have recently installed Lion on my macbook. Previously, I had Snow Leopard.  During that time, I used an external hard drive to boot into Leopard to run some programs that didn't run on SL (Spring Cleaning, for example).
       Today is the first time I tried to boot from the hard drive with Leopard on it since upgrading to Lion. Hitting Option during startup doesn't even show the external drive, and using the System Preferences/ Startup Disk method is equally useless.
       I like Lion and don't feel like doing a total re-install just to have occasional access to an older OS, but I'd sure like to have it all!
      Any ideas for a workaround?

    Verify that your external drive was formatted as GUID, it won't be bootable otherwise.

  • Using external drive to run programs

    I have just bought a 500Gb External Hard Drive for my MBP, which can be connected via USB, FW400 or FW800.
    I was wondering if i were to install applications, games such as "Call Of Duty 2" or a program such as "Pro Tools" onto the external drive, would i be able to run them on my MBP from there, and if so, will it run slower than it would if it were installed on the internal HD?
    Any help/advise would be great. Thanks

    That other guy is right that it won't run any slower. I don't know about CoD2, but I've been meaning to try running it from an external HD.
    As for Pro-Tools, you would be correct to run it from the external drive for two reasons:
    a) the ability to take your session to a different pro-tools rig (duh)
    b) Pro Tools, depending on your computer's particular specifications, will either barely run or not run at all from a record drive (in this case, your external 7200rpm drive) under 7200rpm. To be honest, I would highly recommend upgrading to a 10,000-15,000 rpm drive. 7200 will work, but you might have problems when recording 24-bit audio (don't use 16-bit, its garbage). As long as the rest of your comp is up to par, you shouldn't have any real problems though.
    email me if you have any other pro-tools or CoD2 (mac version) questions. I'm currently in the process of getting my Pro-Tools Operator's Certification, so I could use the practise:)
    [email protected]

  • Using stored procedures in master / detail report?

    hi all,
    i've created stored procedures for when inserting records into my tables.
    when using it in my master, i created a pl/sql process and just call out my procedure passing all the item values... how do i do this on the detail report?
    thanks
    allen

    hi,
    i'm back.. :)
    i attempted to use the following pl/sql code in a pl/sql process.
    begin
      for i in 1..apex_application.g_f01.count
      loop
        apc_user_pkg.update_user_role ( p_user_role_id     => apex_application.g_f02(i)
                                       ,p_start_on         => apex_application.g_f05(i)
                                       ,p_end_on           => apex_application.g_f06(i)
                                       ,x_last_updated_on  => apex_application.g_f09(i)
                                       ,x_last_updated_by  => apex_application.g_f10(i) );
      end loop;
    end;however, it doesn't seem to be working properly.. it doesn't update the table.. after the page refreshes, the old data comes back and not the new one.
    what am i doing wrong?
    regards,
    allen

  • How to run a procedure before executing the report in BI Publisher

    Dear All,
    I got a requirement when I should execute a procedure before running the report.
    Here is my requirement
    I have created a temp table and created a stored procedure (temp_proc) which will insert sysdate value.
    create table temp (emp_name varchar(10));
    create or replace procedure temp_proc
    is
    begin
    insert into temp values(sysdate);
    commit;
    end;
    I have written a query in the Data Model section with a new Dataset as SQL Query Type. Now I want to run this report so that the procedure should be executed and it should insert a value in the temp table. I cannot create a datatemplate instead of sql query as it will consume more time.
    I am using BI Publisher 10.1.3.4.2 Standalone version. Please help me out.

    Hi,
    better to ask a question about BI Publisher in BI Publisher Forum than here in Reports Forum.
    You can create a template in your rtf wich you reference in your header. With BI Desktop in Winword you can use a different header for first page than the others.
    Regards
    Rainer

  • Problem while running the report from stored procedure

    Hi,
    I using stored procedure to generate my report.
    my stored procedure's code looks like this.
    CREATE OR REPLACE PROCEDURE PROJECTOVERVIEWREPORT1(query in VARCHAR2)
    IS
    myPlist SRW_PARAMLIST;
    myIdent SRW.Job_Ident;
    myStatus SRW.Status_Record;
    BEGIN
    srw.start_Debugging;
    myPlist := SRW_PARAMLIST(SRW_PARAMETER('',''));
    srw.add_parameter(myPlist,'GATEWAY','http://localhost:8888/reports/rwservlet');
    srw.add_parameter(myPlist,'SERVER','rep_kalyan1');
    srw.add_parameter(myPlist,'REPORT','BillFormat.RDF');
    srw.add_parameter(myPlist,'USERID','atl3_dev_jul04/atl3_dev_jul04@mgi');
    srw.add_parameter(myPlist,'destype','file');
    srw.add_parameter(myPlist,'desformat','pdf');
    srw.add_parameter(myPlist,'documentnumber','17181');
    srw.add_parameter(myPlist,'papertype','N');
    srw.add_parameter(myPlist,'desname','c:\temp\17181.pdf');
    myIdent := srw.run_report(myPlist);
    myStatus := srw.report_status(myIdent);
    srw.stop_Debugging;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    NULL;
    WHEN OTHERS THEN
    NULL;
    END PROJECTOVERVIEWREPORT1;
    Iam running the oc4j instance and the report server in my local machine.
    when i have typed http://localhost:8888/reports/rwservlet
    Iam able to see the help page.
    My rdf file is placed in OralceHome/reports/integ folder.
    Iam executing my stored procedure it is returning some error.
    Iam doing any thing wrong.
    Do i need to modify anything.
    Is the place of rdf file correct.
    plz help me solving the above problem.
    --Kalyan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    This is the error message iam getting..
    any idea????
    * WELCOME TO EVENT-BASED-REPORTING API *
    * API-Version : 9i *
    * (C) Oracle Corporation, 2000 *
    * Debugging turned ON *************************************
    *** Length of Paramlist : 1
    OK : Parameter added : GATEWAY=http://localhost:8888/reports/rwservlet
    *** Length of Paramlist : 2
    OK : Parameter added : SERVER=rep_kalyan1
    *** Length of Paramlist : 3
    OK : Parameter added : REPORT=BillFormat.RDF
    *** Length of Paramlist : 4
    OK : Parameter added : USERID=atl3_dev_jul04/atl3_dev_jul04@mgi
    *** Length of Paramlist : 5
    OK : Parameter added : DESTYPE=file
    *** Length of Paramlist : 6
    OK : Parameter added : DESFORMAT=pdf
    *** Length of Paramlist : 7
    OK : Parameter added : DOCUMENTNUMBER=17181
    *** Length of Paramlist : 8
    OK : Parameter added : PAPERTYPE=N
    *** Length of Paramlist : 9
    OK : Parameter added : DESNAME=c:\temp\17181.pdf
    Starting run_report: building url
    *** Building URL (RUN_REPORT)
    OK : URL built : http://localhost:8888/reports/rwservlet?SERVER=rep%5Fkalyan1&REPORT=BillFormat%2ERDF&USERID=atl3%5Fdev%5Fjul04%2Fatl3%5Fdev%5Fjul04%40mgi&DESTYPE=file&DESFORMAT=pdf&DOCUMENTNUMBER=17181&PAPERTYPE=N&DESNAME=c%3A%5Ctemp%5C17181%2Epdf&statu
    *** Submitting HTTP Request
    *** using URL :http://localhost:8888/reports/rwservlet?SERVER=rep%5Fkalyan1&REPORT=BillFormat%2ERDF&USERID=atl3%5Fdev%5Fjul04%2Fatl3%5Fdev%5Fjul04%40mgi&DESTYPE=file&DESFORMAT=pdf&DOCUMENTNUMBER=17181&PAPERTYPE=N&DESNAME=c%3A%5Ctemp%5C17181%2Epdf&statusf
    ERROR : HTTP request failed

  • How to make use of  external procedure

    I want to use external procedure(such as *.exe ,*.dll) in the
    bc4j(or application module) , how should i do?
    thank you in advance!

    The Voice Memos app included with the iPhone is the best and only way to make use of the iPhone for recording with included apps, which is also free since it is included by Apple with the iPhone. And recordings made with the Voice Memos app are synced with your iTunes library on your computer - transferred to your iTunes library on your computer when syncing your iPhone with iTunes.

  • Error calling external procedure on remote server

    Hello
    I have written an external procedure that runs correctly when it is on the same machine as the database from which I call it. (Windows XP Professional/Oracle 9.2)
    When I try to call the procedure from a database on another machine (also Windows XP Professiona l/ Oracle 9.2) I get ORA - 28756 "lost RPC connection to external procedure agent" or ORA - 28758 "protocol error during callback from an external procedure". Using filemon I can see that the DLL is never searched for or called. The problem seems to lie in the communication between the two machines. When I observe network traffic the machines communicate on port 1521 (the listener) and then switch to the port that the listener returns. Shortly after that the connection is terminated with the above error reported in the PL/SQL routine.
    The Oracle Administrator's Guide (9.2) states that "the agent must reside on the same computer as the application making the external procedure call." However there are several entries on the internet that show how to do what I am want to accomplish - I suspect I am making some small mistake.
    Any help would be greatly appreciated!
    Here is the listener on the machine with the DLL.
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = jacxp01)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\oracle\ora90)
    (PROGRAM = extproc)
    (ENVS = "EXTPROC_DLLS=C:\easydist\easydist\Debug\easydist.dll;C:\easydist\easydist\Release\easydist.dll")
    Here is the TNSnames.ora on the remote database machine: (I have also tried the commented lines with no more success)
    # TNSNAMES.ORA Network Configuration File: C:\oracle\ora92\network\admin\tnsnames.ora
    # Generated by Oracle configuration tools.
    EXTPROC_CONNECTION_DATA =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = IPC)(Key = EXTPROC1))
    #(ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.2.121)(PORT = 1521))
    (CONNECT_DATA =
    #(SERVICE_NAME = PLSExtProc)
    (SID = PLSExtProc)
    )

    Hi Long Le Hoang,
    I am running a shell script fromSM69 which call psexec.
    shell script runs fine but SM69 execution goes on hold.
    Can you please help me how to terminate SM69 execution.
    Alpa

Maybe you are looking for

  • Bookmarks created for elements not selected in Acrobat PDF Maker

    I recently upgraded to Windows (7 64-bit) and Word 2007 (SP2 MSO). I am using Acrobat 9 Pro (9.3.3) to convert a Word document to PDF. The bookmarks created in the PDF document are for all Word Heading styles (H1, H2, H3, H4, H5). However, on the Boo

  • Cisco 878

    Hello everybody, I would like to learn more about Cicso hardware, and the best way is to try and play with the hardware. I have a Cisco 878 router, we used this router for an Internet Access connection. I think the best way is to reset the router to

  • Passing several fields to various classes and methods?

    Passing several fields to various classes and methods? Hi there. I have an application that allows a user to define a configuration and save it. The user can edit an existing configuration, add a new one, or delete an existing one. Once a configurati

  • How to supress missing jar message

    I am using the same config.xml file on two servers (different machines). On one machine (running app) I do have ejbbean.jar available, but on the web server I don't have ejbbean.jar and don't need it (running web server). Is there a way to supress th

  • Image Capture - Download?

    My computer was running low on memory, so I deleted some programs that I thought I'd never use. (Seeing as this is mostly my 'away from home, connect to internet only' computer, I didn't think I'd need a lot of the programs.) It looks like I needed I