DBMS_PIPE Package Help

Hi,
Below block is executed successfully but when i use it to dynamically fetch the values in SQL* Plus no values are getting printed.
Please help me out in rectifying the issue.
SET serveroutput on size 1000000
SET wrap on
SET linesize 80
DECLARE
v_text VARCHAR2 (4000);
v_res NUMBER;
v_num NUMBER;
v_date DATE;
v_usr user_users.username%TYPE;
v_err NUMBER;
pipe_name VARCHAR2 (300);
BEGIN
pipe_name := DBMS_PIPE.unique_session_name;
LOOP
v_res := DBMS_PIPE.receive_message (pipe_name, 2);
DBMS_PIPE.unpack_message (v_date);
DBMS_PIPE.unpack_message (v_usr);
DBMS_PIPE.unpack_message (v_num);
DBMS_PIPE.unpack_message (v_text);
DBMS_OUTPUT.put (TO_CHAR (v_date, 'DD-MON-YYYY HH24:MI:SS') || ' ');
DBMS_OUTPUT.put (v_usr || ' ');
DBMS_OUTPUT.put (v_num);
DBMS_OUTPUT.new_line;
DBMS_OUTPUT.put_line (' ' || v_text);
EXIT WHEN v_res = 0;
END LOOP;
END;
/

kumar0828 wrote:
Yes i understood that.
When the PL/SQL block encounters the DBMS_OUTPUT_PUT_LINE that time the contents of the array will be displayed on the terminal.As Billy already said. This is wrong. SQL*plus will read and show the content of the buffer if certain circumstances are met. Therefore you will first get the message: Pl/sql Block executed. Then you will get the message from the buffer.
I want to know whether the code is proper to store the contents into the array. This code will try to read from apipe that is only known to your session. Usually pipes are used to read messages from other sessions.
This line would prevent that.
pipe_name := DBMS_PIPE.unique_session_name;It will read data from a pipe that does not exists outside of your own session. Is that what you want?
Edited by: Sven W. on Sep 25, 2012 12:07 PM

Similar Messages

  • Problems using DBMS_PIPE package

    Hi! Im using the SQL Navigator for Oracle to develop PL/SQL code and now I've got a problem with the DBMS_PIPE package. When i use the methods like create_pipe etc. in a normal pl/sql window it works without problems. But when i place such a DBMS_PIPE.CREATE_PIPE... call into a function in my own pl/sql package there's the error PLS-00201: identifiere 'sys.dbms_pipe' must be declared!
    what do i have to do to use the dbms_pipe package in a package developed by my own.
    thanks in advise
    Ingo

    login to your SYS schema and grant execute on the DBMS_PIPE package to the oracle user under which you
    are creating your PL/SQL procedure:
    SQL> grant execute on SYS.DBMS_PIPE TO <username> ;

  • Dbms_Pipe Package.

    Hi,
    Can any one please tell me for which perpus we have to use dbms_pipe package.Please give one simple example.
    Thanks,
    Sanjeev.

    user13483989 wrote:
    Can any one please tell me for which perpus we have to use dbms_pipe package.Please give one simple example.For the same reason pipes are used when writing code that runs directly on the operating system (instead inside Oracle) - IPC or Inter Process Communication.
    See http://en.wikipedia.org/wiki/Inter-process_communication for basic details.

  • DBMS_PIPE package in the library

    Where do I find the DBMS_PIPE package. Right now I'm working on migrating forms to 6i. And i got this error in a procedure(G$_GET_PIPE_MESSAGES) which is called in a trigger.
    DBMS_PIPE package has
    1. PACK_MESSAGE procedure
    2. SEND_MESSAGE function
    3. RECEIVE_MESSAGE function
    4. UNPACK_MESSAGE procedure

    dbms_pipe is a database package owned by SYS:
    http://www.oracle.com/pls/db102/ranked?word=dbms_pipe&remark=federated_search
    cheers

  • Meric -- Another package helper (packer fork)

    Hi. Here is Meric. I have made modifications to famous and well written "packer" (thanks to Matthew Bruenig) to fit my needs. So a packer fork "Meric" has born. I decided to share it with community. But remember, i am neither a coder nor a bash expert. So, my modifications may be an ugly hack to packer; but it just works for me. I hope you'll enjoy it. All credits must go Mr. Bruening.
    From Meric README:
    Meric is a package helper for Arch Linux. It can retrieve packages from official repositories and Arch User Repository (a.k.a. AUR).
    Meric is a fork of famous "packer" which is developed by Matthew Bruenig <[email protected]>
    Meric is born from the needs of the autor.
    Meric has a few differences from packer:
      1- Meric has a config file. Users may use it for daily meric tasks instead of using options in commandline. Also makepkg options can be set there. Once options have been set; meric can call makepkg with these options by default.
    2- Meric has the ability of remove installed dependencies after package creation. Like "makepkg -r". Not perfect but it works for my needs.
    3- Meric can skip checking and installing from specified repositories with "--skip-repo" option. This is useful when you setup your custom repository with AUR packages. Aur helpers, including packer, won't treat those packages as aur packages because it thouhgt that they came from a repo (your custom repo). So those packages always skipped when AUR updates checking phase. This option prevents this for you.( also can be set in meric.conf to make it default behaviour)
    4- Meric can use translations. For the sake of keep package and its dependencies minimal; only one text file (in bash script format) is used to hold and provide all translations. See TRANSLATIONS section.
    5- Meric can call pacman with a custom pacman.conf file for all pacman related operations. Just place your custom pacman.conf under $HOME/.config/meric/ directory.
    Github link: https://github.com/tarakbumba/meric
    Aur link: https://aur.archlinux.org/packages.php?ID=59946

    fschiff wrote:
    471,475c604,611
    < '--auronly') auronly='1' ;;
    < '--devel') devel='1' ;;
    < '--skipinteg') MAKEPKGOPTS="--skipinteg" ;;
    < '--') shift ; packageargs+=("$@") ; break ;;
    < -*) echo "packer: Option \`$1' is not valid." ; exit 5 ;;
    > '-a'|'--auronly') auronly='1' ;;
    > '--devel') devel='1' ;;
    > '--skipinteg') MAKEPKGOPTS+=("--skipinteg") ;;
    > '--cleandeps'| '-c') cleandeps='1' ;;
    > '--version'| '-v') echo -n "Meric - $VERSION" ;;
    > '--skip-repo') skipped_repos="$2" ; skip_repo='1' ; shift ;;
    > '--') shift ; packageargs+=("$@") ; break ;;
    > -*) echo -e "${COLOR7}$ERROR :$ENDCOLOR $ERROR9" ; exit 5 ;;
    MAKEPKGOPTS= is different.  Possible bug?
    Its the only place where the variable gets set.
    234c322
    < echo "${PKGURL}$(jshon -Q -e results -e URLPath -u < "$tmpdir/$1.info")"
    > echo "${PKGURL}$(jshon -e results -e URLPath -u < "$tmpdir/$1.info")"
    -Q option
    Thank you for interesting in. MAKEPKGOPTS is indeed different and it is not a bug but a feature to allow use of Makepkg options from meric.conf
    But you' re right. Somehow i missed -Q option in pkglink function. Will update git with this. Thanks for your feedback!

  • Stored Proc's/Packages Help

    Ok all, again, being new to Oracle and trying to do a humble favor for a friend, I've come up with a problem that I'll need help on. Running these steps individually gets me pretty much the result that I'm looking for, minus some basic retooling with TSQL. However, I've tried to format this in the form of either a package/procedure and I just don't believe I'm doing it right. I've been reading the PL-SQL for Dummies, in addition to the latest Oracle 10G PDFs, but as much as I try, I just can't format the package right, even using v_ types and declaring. Below is the code, and even though I've listed tables, this has to be done dynamically and/or processed in memory. I know this may seem simple at best to those of you who understand Oracle, but to me, it's like a square peg in a round hole.
    Would appreciate any and all comments and assistance. Thank you kindly for your perusal of this post (code below):
    --STEP 1:
    create table tbl1 as
    SELECT ps.id1
    ,ps.id2
    ,ps.tdate
    ,NVL(ps.udate, SYSDATE + 1 )
    ,ps.tcode
    ,decode (y.nmtext,
    'name1', 'nm1',
    'name2', 'nm2',
    'name3','nm3',
    'name4','nm4',
    'name5','nm5',
    'name6','nm6',
    'name7','nm7',
    'name8','nm8')
    ,(SELECT COUNT(ps2.id1)
    FROM tblhere ps2
    WHERE ps2.id1 = ps.id1
    AND ps2.id2 = ps.id2
    AND ps2.tdate <= TO_DATE('03/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND NVL(ps2.udate, SYSDATE + 1) >= TO_DATE('02/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    GROUP BY ps2.id2) AS o_cnt
    ,(SELECT COUNT(ps3.id1)
    FROM tblhere ps3
    WHERE ps3.id1 = ps.id1
    AND ps3.tcode = ps.tcode
    AND ps3.tdate <= TO_DATE('03/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND NVL(ps3.udate, SYSDATE + 1) >= TO_DATE('02/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    GROUP BY ps3.tcode) AS a_cnt
    ,y.ntype as ntype
    FROM tblhere ps
    INNER JOIN tblz y
    ON ps.id2 = y.thisid
    WHERE ps.tdate <= TO_DATE('03/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND NVL(ps.udate, SYSDATE + 1 ) >= TO_DATE('02/01/2007 00:00:00', 'MM/DD/YYYY HH24:MI:SS')
    AND tcode = 'placedhere'
    AND y.ntype='testing'
    order by id1, tdate
    --STEP 2:
    create table overages (
    Mynum number,
    MyID number)
    --STEP 3:
    insert into overages
    select count(*) as Mynum, id1
    from tbl1
    group by id1
    having count(id1) > 1
    order by id1 desc
    --STEP 4:
    create table tbl2 (
    nums number,
    cid number,
    ogid number,
    adate date,
    rdate date,
    timer number,
    mymode varchar2(10 Byte),
    place varchar2(50 Byte),
    og_cnt number,
    mymode_cnt number,
    namer varchar2(1 Byte))
    --STEP 5:
    insert into tbl2
    select b.mynum, a.id1, a.id2,
    a.tdate, NVL(a.udate, SYSDATE + 1),
    a.tcode, a.nmtext, a.o_cnt,
    a.a_cnt, a.ntype
    from tbl1 a
    inner join overages b
    on a.id1 = b.myid
    order by cid, adate
    --STEP 6:
    merge into tbl2 a
    using (select rwd,
    cid,
    ogid,
    min(rwd) over (partition by cid, adate, rdate) rwd_min,
    adate,
    rdate,
    mymode, place,
    from (select cid, rowid rwd,
    last_value(d1 ignore nulls) over (partition by cid order by rdate range between unbounded preceding and current row) as adate,
    first_value(d2 ignore nulls) over (partition by cid order by rdate range between current row and unbounded following) as rdate
    from (select cid,
    adate,
    rdate,
    case when abs(adate-lag(rdate) over (partition by cid order by rdate))<=1
    then null else adate end d1,
    case when abs(rdate-lead(adate) over (partition by cid order by rdate))<=1
    then null else rdate end d2
    from tbl2))) b
    on (a.rowid=b.rwd)
    when matched then update set a.adate=b.adate, a.rdate=b.rdate
    delete where b.rwd!=b.rwd_min;

    In general you should create the empty tables first as an installation step. Then in your PL/SQL code you would just do inserts, updates etc.
    Also, a package is defined in two parts:
    CREATE OR REPLACE PACKAGE whatever
    AS
        PROCEDURE p
            ( p_someparam INTEGER );
        FUNCTION q
            RETURN BOOLEAN;
    END whatever;
    CREATE OR REPLACE PACKAGE BODY whatever
    AS
        PROCEDURE p
            ( p_someparam INTEGER )
        IS
        BEGIN
            dbms_output.put_line('Hello, World');
        END p;
        FUNCTION q
            RETURN BOOLEAN
        IS
        BEGIN
            RETURN dbms_random.value(0,10) < 5;
        END q;
    END whatever;
    /

  • ITunes and Windows Installer Package - HELP!!!!

    I've seen my question, which is also MY problem, that Windows Installer Package will not allow ITunes to download. I've read several posts on possible "fixes" in several forums, and have yet to resolve my problem. Anyone know how I can fix this? I would REALLY appreciate the help.

    it says there is a problem with this windows installer package, a DLL required could not be run
    With that one, even though you're getting a different error message, try the procedure from the following user tip:
    "The administrator has set policies to prevent this installation" error messages when installing iTunes for Windows on Windows Vista and Windows 7 systems

  • BT can't find my broadband package - Help/advice n...

    Hello
    So glad I found this forum – I'm in need of some help before I go mad!
    I have been a BT internet customer for nearly 10 years.
    The trouble started at the end of July when I tried to add BT sport free (I have Sky). I couldn't do it online, so I went on online chat and they said I didn't have a broadband account with them. After an hour of me trying to convince them that I am a customer, they finally said they couldn't help me other than to suggest I talk to sales to add broadband to my account – I already have BT broadband!
    I then emailed the residential customer services team via the complaints route to express my dismay at the poor treatment of a long-term loyal customer and to request that they intervene and sort the situation out for me.
    They repeated that I only have landline showing with them and asked whether I had another account number. My internet has always been billed separately to my phone account, but looking through all my documents I couldn't see that I'd ever had an account number for my internet service.
    I discovered when I looked at my account in BT Yahoo email, that I was still on the BT Yahoo Anytime Plus service, but there was no account number to be seen anywhere. Like many people on this forum I received occasional emails from BT at the end of 2011 saying that I would be transferred to BT Total Broadband Option 1 at some point, but this obviously never happened.
    On reading this forum I discovered that there are a number of people like me who have 'unaligned' accounts where they're still on an old service that is billed separately and not linked to their MyBT account. I also read on this forum that someone had managed to find their separate internet account number by checking their bank statement direct debit info. I did this and managed to find an account number (starting GB followed by 8 numbers) but I've tried to use it online myself and it isn't recognised, so I've emailed the residential services team with this number.
    They haven't replied to me yet – it's well past the 72 hours they're supposed to reply in – and I've got a strong feeling they're just going to say they can't find the account number on their system. If they reply at all.
    Interestingly, I went onto my BT Yahoo email account page today and my internet product had changed from BT Yahoo Anytime Plus to BT Total Broadband Option 1.
    Now, I don't know if my message has triggered some action at BT's end, but if it has they haven't told me. My big concern now is that my BT Yahoo Anytime Plus was unlimited with no contract and it now looks like I've been moved to a product with a tiny 10GB limit. I run an online business so I'm rarely offline and I'd exceed my limit within a few days. I'm worried that I'm already exceeding my usage, and if I hadn't looked I wouldn't even know I'd been moved.
    All I want is for BT to recognise and merge my accounts, and then I can upgrade to an unlimited package (which will cost less than what I'm paying now anyway). And then I can also add BT Sport, to which I'm entitled and not able to get because BT's systems are rubbish.
    I'd thought about simply cancelling my existing direct debit and ordering a new broadband package, but I really need to keep my email address as I've had it for years and I use it for business.
    I've seen that there are lovely mods on this forum who can help, so I'm hoping one can come to my rescue before I pull all my hair out – I've got nowhere so far and it's been more than 6 weeks since my intial contact with BT.
    Apologies for the length of this message!
    Many Thanks,
    Justine
    Solved!
    Go to Solution.

    Hello again
    Can anybody tell me how long it normally takes for the mods to reply to a contact form please?  I submitted an enquiry via RobbieMacs's profile link on 18 September and have not yet received a reply or acknowledgement.  Does it normally take a few days to hear back from them?
    My problem has also worsened.  As I mentioned above, someone has been tinkering with my account because last week I was moved without warning from BT Yahoo Anytime plus service to BT Total Broadband Option 1, without being informed.  Then on Friday I received a 'Welcome to BT Broadband' email (I've had BT Broadband for nearly 10 years!), and last night I for the first time ever in nearly 10 years I received a usage warning.
    So, not only has my account been moved without telling me, but I've been moved from an unlimited service to a capped service (for the same price) and I'm close to reaching my limiit after a few days usage.
    But, despite the behind-the-scenes tinkering, my internet product still hasn't been merged with MyBT account so I cannot access it online to upgrade to an unlimited package, and I cannot call them as they will just tell me they have no record of me having broadband with them (I've been told this too many times over the last few weeks and it drives me crazy everytime - it's as if they think I'm making it up!).
    I'm so close to jumping ship to Virgin, and I think if I start incurring extra usage charges because I've been moved on to a product I currently have no control over, it may well be the last straw!
    Thanks,
    Justine

  • DBMS_CRYPTO package help needed :(

    Hello all,
    I want to use Oracle's DBMS_CRYPTO package for decrypting some data.
    I have one sample program as follows which is not working....the error is shown below.
    SQL> DECLARE
    2 input_string VARCHAR2 (200) := 'Secret Message';
    3 output_string VARCHAR2 (200);
    4 encrypted_raw RAW (2000); -- stores encrypted binary text
    5 decrypted_raw RAW (2000); -- stores decrypted binary text
    6 num_key_bytes NUMBER := 256/8; -- key length 256 bits (32 bytes)
    7 key_bytes_raw RAW (32); -- stores 256-bit encryption key
    8 encryption_type PLS_INTEGER := -- total encryption type
    9 DBMS_CRYPTO.ENCRYPT_AES256
    10 + DBMS_CRYPTO.CHAIN_CBC
    11 + DBMS_CRYPTO.PAD_PKCS5;
    12 BEGIN
    13 DBMS_OUTPUT.PUT_LINE ( 'Original string: ' || input_string);
    14 key_bytes_raw := DBMS_CRYPTO.RANDOMBYTES (num_key_bytes);
    15 encrypted_raw := DBMS_CRYPTO.ENCRYPT
    16 (
    17 src => UTL_I18N.STRING_TO_RAW (input_string, 'AL32UTF8'),
    18 typ => encryption_type,
    19 KEY => key_bytes_raw
    20 );
    21 decrypted_raw := DBMS_CRYPTO.DECRYPT
    22 (
    23 src => encrypted_raw,
    24 typ => encryption_type,
    25 KEY => key_bytes_raw
    26 );
    27 output_string := UTL_I18N.RAW_TO_CHAR (decrypted_raw, 'AL32UTF8');
    28 DBMS_OUTPUT.PUT_LINE ('Decrypted string: ' || output_string);
    29 END;
    30 /
    DBMS_CRYPTO.ENCRYPT_AES256
    ERROR at line 9:
    ORA-06550: line 9, column 2:
    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    ORA-06550: line 8, column 23:
    PL/SQL: Item ignored
    ORA-06550: line 14, column 21:
    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    ORA-06550: line 14, column 4:
    PL/SQL: Statement ignored
    ORA-06550: line 15, column 21:
    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    ORA-06550: line 15, column 4:
    PL/SQL: Statement ignored
    ORA-06550: line 21, column 18:
    PLS-00201: identifier 'DBMS_CRYPTO' must be declared
    ORA-06550: line 21, column 1:
    PL/SQL: Statement ignored
    Oracle version is
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production on linux server.
    can anybody help me how to resolve this problem?
    I mean isnt "DBMS_CRYPTO" Oracle's Standard package?
    pls help.

    Really you should not be using SYSTEM account - you should create your own DBA / Development accounts and use those.
    However, what you are missing is to connect as SYS/SYSDBA and...
    GRANT EXECUTE ON dbms_crypto TO system;

  • XUTP_FTP FTP Package help

    I know this is not an oracle product but i know alot of people here use this.
    I have it/use it/love it thanks Chris Poole!!
    Wondered if someone could help me with a problem i am faced with.
    We put files on a FTP site that others use to download via FTP. I created a program that basically uses the FTP package to interrogate the directory (ftp.list)
    insert the entries into a table and download them to the users site.
    This works apart from occasionally people will replace a file. I need to somehow pick up on the file size/date stamp change on the file?
    Anyone know how/if I can achieve this.. I can download to temp location if FTP unable to do before hand?
    Thanks

    Not sure where Chris Poole's site has gone to, but fortunately, I've got a copy of his XUTL_FTP package lying around for reference.
    If you look in the package specification you will see...
    FUNCTION modtime (handle IN xutl_ftp.session_handle, filename IN VARCHAR2, tz_offset IN NUMBER DEFAULT NULL, raise_exception IN BOOLEAN DEFAULT TRUE) RETURN DATE;
      * Returns the last modified time of a file in as a DATE
      * PARAMETERS
      *     handle            handle to the FTP session
      *     filename          the file name (eg 'C:\temp\somefile.csv' or '/tmp/somefile.csv' or 'somefile.csv')
      *     tz_offset         the offset of your timezone wrt GMT (eg 11 or -5)
      *     raise_exception   command not understood exception flagging
      * RETURN
      *     The modified time of the file as a DATE
      * EXCEPTIONS (see above)
      *     ORA-24275 missing or invalid parameter (if filename is null)
      *     invalid_handle
      *     transient_error        
      *     permanent_error        
      *     unexpected_response    
      * NOTES
      *     The filename is passed as is to the FTP server, unless the filename is null, in which case null is returned
      *     The command MDTM is not an official FTP command and is not documented in any RFC. However it is supported by
      *     several servers. Use the raise_exception flag to suppress the exception that would be generated if the command
      *     is not understood. This does NOT suppress exceptions for other errors (used internally).
      *     Testing shows that if MDTM is supported the time is returned as GMT.
      *     Use the tz_offset parameter to return the time adjusted for you. The default is NULL which means no conversion.
      *     The offset you want to supply would normally be the DB time zone, if it's set.
      *     You can determine this by running a PL/SQL block that uses XUTL_FTP.MODTIME for a file that
      *     you can also ls -l in a telnet session. e.g. if somefile.csv shows Mar 23 09:10 in telnet but MODTIME
      *     returns 2006-03-22 22:10:30 (assuming a NLS_DATE_FORMAT of YYYY-MM-DD HH24:MI:SS)
      *     then you need to supply an offset of 11 (no need for plus sign).
      *     XUTL_FTP makes no attempt to guess your TZ relative to the FTP server, as the time zone of the DB
      *     does not have to be set unless you are dealing with 'timestamps with local timezone' datatypes.
      *     So unless explicitly set by a DBA during DB creation, the databases time zone will be GMT!
      */

  • Compiling a programme with third party package help

    Hello all,
    I am writing a programme with a third party package (freetts.jar). The jar is is the classpath of my 2003 server and it compiles ok.
    import com.sun.speech.freetts.Voice;
    import com.sun.speech.freetts.VoiceManager;
    import com.sun.speech.freetts.audio.JavaClipAudioPlayer;
    When I go to run it with java it cant find a class in the package!! I dont get it?
    When it gets to this part it throws Exeption in thread main java lang noclassfounddeferror com/sun/speech/freetts/VoiceManager
    public void myVoice(){
    VoiceManager voiceManager = VoiceManager.getInstance();
    Voice helloVoice = voiceManager.getVoice("kevin16");
    /* Allocates the resources for the voice.
    helloVoice.allocate();
    /* Synthesize speech.
    helloVoice.speak("Thank you for giving me a voice. "
    + "I'm so glad to say hello to this world.");
    It says that it cant find VoiceManager...I cant work it out, VoiceManager is in the package it imported ok at compilation.....why cant it see it when I run it?? This is driving me CRAZY...please help.
    Phil.

    Yes you were kinda right.. I went back and had another look at the 2003 environment variables. They have one set for the system and another for the current user. I have come to the conclusion that the system variable classpath just doesnt work. I looked at it over and over again and it looked ok to me. I just put the same thing in the users variables and low-and-behold it works!!!!
    Go figure!
    Thanks for that, I just needed a trigger.
    Phil.

  • Using SRW Package - Help

    Hello All,
    I've designed web based reports having a web layout. The user usually navigates from one report to another by way of ">
    <th <rw:id id="HFMONTH131" breakLevel="RGMONTH1313" asArray="yes"/> class="OraRowHeader" style="font-weight: normal" ><rw:field id="FMONTH131" src="MONTH" breakLevel="RGMONTH1313" breakValue=" " formatTrigger="STYLE1"> F_MONTH </rw:field></th></a>
    I'm aware of reports being opened,errors captured,messages displed & programs aborted using the various srw packages when called from inside a program unit.
    Is there a way to call a program unit when the user clicks on a particular field which is supposed to be a link to another report instead of the above mentioned hyperlink method. Like for instance we have a formatTrigger for calling a program unit written for manipulating the format of the output.
    Regards,
    Arun.V

    Hello,
    Web Layout only exists in Reports versions >= 9.0.2. In these versions, the object "Button" no more exists.
    When the output is displayed, the reports execution is terminated, so it is not possible to call a program unit when the user click on a field.
    In the Reports Online Help:
    Note: The ability to create a button in the Paper Layout view is no longer supported in Oracle Reports 10g. Use hyperlinks instead. If you open an existing report that contains buttons, the buttons will be converted into text items.
    Regards

  • Bulit-in packages - Help

    Hey,
    Is there any bulit-in package in Oracle that could help us testing the Migration. I mean, now our database will be migrated to another server and migration is going on. After this I want to check whether everything is migrated to the new server that were there in the old one. Is there any bulit-in package to do this job.
    I know I can issue SQL queries and get information from dba_objects, dba_tables etc...
    But my interest is whether we have any package for this?

    For example Toad has "Compare schemas" and "Compare databases" in the menu option DBA
    You also can test http://www.oracle-base.com/dba/miscellaneous/compare_schemas.sql
    Message was edited by:
    cth

  • Regarding packages,help please

    Hi,
    As I have understood it for example,
    What is the difference in putting the/source class files in the
    package package1;
    and
    package my.own.package1
    Its the same right,why do we have to put the extra my.own
    and setting the class path accordingly
    Hope that I conveyed my question correctly.
    Help appreciated
    Thanks
    AS

    You can use a single named package just fine.
    Packages are typically used for ogranization as well
    as reduced name collisions.
    The normal naming convention for packages is as
    follows:
    domain.company.package;
    So if your domain is org and you're developing a gui
    project for apache then it would look like:
    org.apache.gui;
    Just think if everyone started using single name
    packages how many more collisions there would be. For
    example, if you and I were developing web components
    and we both decided to use the package name web then
    it would be tough to intermingle our code as the
    potential for conflicts is higher. For example, if we
    both had an upload object in our package that did
    different things then they couldn't co-exist. See
    below:
    package web
    //My servlet to receive uploads
    class Upload extends Servlet
    package web
    //Your component to help POST uploads
    class Upload extends URLStreamHandler
    }However if we prepend our domains and company names to
    the package then we could share code:
    package com.ics.web
    //My servlet to receive uploads
    class Upload extends Servlet
    package org.apache.web
    //Your component to help POST uploads
    class Upload extends URLStreamHandler
    }Furthermore you'd most likely want some organization
    to your code. you wouldn't just want one package with
    all of your classes in it. It would be hard to
    decipher which is which. So you'd create sub-packages
    under your main package. You get something like
    org.apache.web.servlets and org.apache.web.client. Why
    do this? because you want to treat your client
    classes differently than your servlets. It makes it
    easier at build time as well when the classes need to
    deploy in different places. It's just easier to say
    grab everything from the servlets package and put them
    in my web archive (war). Also grab everything from
    client and put them in the root of my Enterprise
    archive (EAR). There are other uses for this as well,
    I'm sure.
    CliffThanks Cliff for the comprehensive introduction for using packages.Will understand it programatically now.Any doubts will keep posting.
    AS

  • Trojan reported in Bo Edge downloaded packages  --HELP--

    Hello,
    I don't know if the problem has to do with the Antivirus or with the downloaded FILES but here is it :
    I downloaded the trial packgages of BO EDGES 3 and just for testing purpose i ran the antivus on them
    then
    the trojan : TR / CRYPT.CFI.GEN was detected
    in the compressed files : ressource.cab
    Later on I started the install on a test box with the package
    the files:
    boresen.dll
    reporten.dll
    was reported to contain the same trojan and the installation can not continue
    I'm not a specialist of trojan but these things are not spreading in files: either something is wrong with the AV detection algorithm
    or these files contains the same signature than the trojan!
    has anybody found this problem?
    I need to advise a customer and thought that my experience on XI and his needs of a mid market soluton would make EDGE a good solution but not wih trojan.
    The idea that the trojan comes from my computer is inconsistent : I downloaded the new files from a different company (network) and guess what same issue   :
    ANtiVIR: AVIRA professional
    OS (XP, 2003)
    Can somebody help me PLZ?

    It's a false/positive, there are no trojans in our packages.

Maybe you are looking for