Missing hsodbc executable

Hi all
I have a fresh 10.2.0.4 install on Windows 2003 64 bit. I am trying to replicate some db links to SQL Server, but am having no joy. Two things I have noticed that are different from another, working installation are:
# there is no hsodbc application in ORACLE_HOME\bin
# there are missing entries for the ODBC connection classes in the sys.hs_fds_class table
I assume these are related in some way. Therefore, how can I confirm HSODBC has been installed, and if not, can I use OUI to add it in?
Ta
bt

Generic Connectivity (aka HSODBC) is not available for the Windows 64-bit platform.
You have to download and install the Oracle Database Gateway for ODBC (DG4ODBC) 11g on a 32-bit OS, for example on the same host which runs SQL Server.
You can use your 10.2.0.4.0 64-bit database to connect through this gateway to SQL Server.
There is a good MetaLink document available which guides you through the setup:
DocID: 466225.1 - How to Setup DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit
Regards,
Ed

Similar Messages

  • BEX :Selection screen missing when executing a query

    Hi all,
                When I am executing a query through BEX Analyzer,I am not getting the Selection Screen Popup.Instead ,the report is directly being generated.So,this is giving rise to various problems.But when the user is executing through portal,he is getting  the selection screen.
    I am not getting this Selection screen popup in all the DEv,Quality,PreProd and Production systems.And hence ,i am  not able to give the selections for a report
    Can anyone please provide a solution for this?
    Awaiting your response.
    Thanks,
    Amar

    Hi,
    Our GUI version is 710 and 640 is recommended by the client.Hence, no problem with that.The user is able to execute more than one query.
    Do u think it is a basis or security related issue.Or is it  due to Application of some GUI Patches.
    Thanks,
    Amar

  • Missing Uninstall executable files

    Hi there,
    I am on a MAC.
    I have a strange issue. No doubt is something I did wrong. Anyway, let me describe, step-by-step, what I recall that I did:
    When Adobe launched Adobe CC suite I start uninstalling all CS6 applications (InDesign, PS and Illustrator). Then I opened CreativeCloud Desktop app. For my surprise there were no CC aplications. Only CS6. I installed Creative Cloud Removal Tool and uninstalled CC Desktop app also. Then I downloaded it again. Now all applications showed CC. Perfect. So, I choose English (and something in Hebrew) for InDesign and InCopy. I installed them. I switch to English (North America) and installed Bridge, Illustrator and PS.
    Despite the fact that I have installed those two applications and they are running, in CC desktop app they seems like they are not.
    The PS, Illustrator and Bridge are installed from English (North America),
    ... but it looks like they are not. It appears only Bridge and Acrobat Professional.
    At this point, CC desktop app is not showing me any application as being installed except for Bridge. And to make it even strange, none of the InDesign, PS, Ill or InCopy have Uninstall option, just an Alias. When I click on Uninstall Illustrator, it says: Delete Alias, Fix Alias, OK.
    So, I start Adobe CC cleaner tool. For my surprise when I selected to show me all Adobe products, it shows me only those applications:
    Then I selected to show me only CC and CS6 products, and here we go:
    At this point I intended to uninstall all CC products and make a clean instalation of InDesign, Illustrator, PS and InCopy from English (Hebrew). Not to mention that in User/Preferences I still have a lot of things from previous applications though I checked remove preferences when I uninstalled CS6.
    But I cannot do. Any suggestions? Maybe a little help from Adobe engineers?
    Thank you.
    Sebastian

    Yes. The files are in there. I am currently working/using InDesign, Illustrator, Photoshop. But the uninstallers are missing:
    I also looked in Utilities for those uninstallers. here is what I've found:
    All are simple Alias:
    Despite all these, I am working with any of those applications:
    The thing is that on my wife's computer, using her Adobe license I installed CC from English (Hebrew). All applications. These days she received several updates while I received none. Obviously something is not working right.
    It was my error installing InDesign and InCopy for Hebrew while the rest are installed from English (North America).
    Perhaps is just an error of CC desktop application.

  • I am missing dns_sd executable jar file

    I cant install the latest itunes 10.6, it tells me it cant uninstall a earlier version of bonjour, and its on a network resource thats not availble. i called apple,they wanted 49.99 to do it for me. any one know whats going on? I got the desktop to update, but the laptop is being domb.

    I cant install the latest itunes 10.6, it tells me it cant uninstall a earlier version of bonjour, and its on a network resource thats not availble.
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any Bonjour entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another install. Does it go through this time?

  • 9iRel2 hsodbc missing on Suse Linux

    Hello
    after successfull installing 9iRel2 on a Suse Distribution the files for Heterogenous Access via odbc are not there. I am missing hsodbc in the bin Directory under $ORACLE_HOME. There is a hsodbc.o in ORA_HOME/hs/lib, but no makefile that shows hoe to link that exe.
    Does anybody has a solution for me, it seems that there are similar problems in 10g or older 8.x Versions.
    Regards
    Markus

    Markus,
    If you are looking for a linux odbc oracle driver there is a freeware one that I have used. It is available at http://fndapl.fnal.gov/~dbox/oracle/odbc/. I have used it successfully under iodbc.
    hth
    Frank P.

  • How to execute unix command from ODI Procedure

    Hi,
    I am trying to execute below unix command from ODI Procedure (Command on Target tab) but I am getting the error "java.io.IOException: Cannot run program "cd": error=2, No such file or directory" but when I try to execute the same command using OdiOSCommand, it is executing successfully. I don't want to use shell script to execute this command. Is there any specific syntax am I missing to execute this command from ODI procedure?
    cd /project3/tmt/;ls *.dmp > dmplist.lst
    Please help me on this...
    Thanks
    MT

    Hi nahlikh,
    Thank you for the reply.
    I used below command in Procedure but still getting the same error as "java.io.IOException: Cannot run program "OdiOSCommand": error=2, No such file or directory".
    OdiOSCommand "-COMMAND=cd /project3/tmt/;ls *.dmp > dmplist.lst"
    as I mentioned earlier if I use the command cd /project3/tmt/;ls *.dmp > dmplist.lst in OdiOSCommand tool it is executing successfully without any issues.
    any thoughts appreciated to get a solution for this issue.
    Thanks
    MT

  • Variable screen is missing

    Hi All,
    We are facing a weird issue, that variable screen is missing while executing query in Bex, however we are able to get variable entry screen in RSRT and Web bex. 
    1. Variable type : Characteristic values
    2. Processing type : User entry and entry is optional.
    3. We have checked ready for user input
    Please let us know is there any work around / missing any settings to resolve this issue.
    Regards
    Venki

    Hello Venki,
    If you are using Abap Web, and the SAP default template (you can check via RSCUSTV21 transaction), open the template
    0ADHOC with Web Application Designer 3.x .
    On Properties select 0ADHOC -> WebItem TAB:
    > Check the box "Force Variable Screen Display"
    However, If you are using BI Java Web, and the SAP default template (you can check via RSCUSTV27 transaction), open the template 0ANALYSIS_PATTERN with Web Application Designer 7.0.
    On WEBTEMPLATE properties -> -> WebTemplate Paramenters TAB:
    > Check the Box Display Variable Screen to ON.
    This will solve the issue.
    Best regards,
    Edward

  • DBMS_CRYPTO grant missing after a full import, is this expected?

    Folks,
    We just did a full export of a production database using expdp.
    $ expdp directory=DATA_PUMP_DIR dumpfile=Full.dmp logfile=Full.log metrics=Y full=Y
    We then did an import on another system using impdp.
    $ impdp directory=DATA_PUMP_DIR dumpfile=Full.dmp
    Both DBs are 11gR2. 11.2.0.1 on the source system, 11.2.0.3 on the target system.
    While testing one of our applications we noticed that a couple of functions didn't compile for one of our applications. Those functions referenced DBMS_CRYPTO.
    Further testing revealed that our main application user was missing grant execute privs on DBMS_CRYPTO. After granting execute on DBMS_CRYPTO to the application user, everything worked fine.
    All other grants (and there are a lot of them) came across just fine (as far as we can tell so far).
    Is there a reason why a grant on DBMS_CRYPTO would get 'missed' during an import?
    Thanks,
    Rich

    For schema level import, there could be some privileges missing, check:
    Missing Object Level Grants After Data Pump Schema Level Import [ID 795784.1]
    But your case, full import. Can you generate sqlfile with only grants and check whether that privilege is there in dump file:
    impdp full=y dumpfile=Full.dmp INCLUDE=GRANT directory=DATA_PUMP_DIR

  • Help me trooubleshoot hsodbc with SQL Server

    Hi,
    I need ideas on how I can find the problem I have with setting up a generic connectivity to SQL Server
    via a database link and heterogeneous services.
    Oracle version is 10.2.0.1.0 on Windows Server 2003
    I create a SYSTEM DSN to a SQL Server 2000.
    The DSN tests "successfully".
    I used a third party query tool (SQL Assistant) to query the SQL Server db using the DSN and it works fine.
    I added this to the tnsnames.ora file
    myconn =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = myoracleserv)(PORT = 1521))
    (CONNECT_DATA=(SERVICE_NAME=myconn))
    (HS=OK)
    I added this to the listerner.ora file:
    (under the "SID_LIST_LISTENER =" portion)
    (SID_DESC =
    (SID_NAME = myconn)
    (ORACLE_HOME = E:\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc)
    I created a file called initmyconn.ora under /hs/admin
    with this in it:
    HS_FDS_CONNECT_INFO = myconn
    HS_FDS_TRACE_LEVEL = odbc
    then I created the database link
    create database link myconn
    connect to myuser
    identified by mypwd
    using 'myconn';
    When I run a simple query, I get
    ORA-28545 error diagnosed by Net8 when connecting to an agent
    Unable to retrieve text of NETWORK/NCR message 65535
    ORA-02063: preceding 2 lines from MYCONN
    TNSPING works fine.
    I don't have any logs in hs/trace/
    I also successfully installed 3 other HS connections to SQL Server on the same machine, they all work.
    Any help in troubleshooting this?
    thanks,

    The 28545 error is a configuration error in the SQL*Net layer - HSODBC executable isn't spawned and thus you do not get a hsodbc trace/log file.
    To analye the issue, please provide the listener status (lsnrctl status).

  • 10.2.0.1 installation problem on redhat 4 (ORA-12547: TNS:lost contact)

    Hi,
    I tried to install Oracle 10.2.0.1 on a RedHat 4 box. Both, Oracle and RedHat are 64 bit versions. The installation was fine but the database creation (with dbca) could not create the database because of this error: ORA-12547: TNS:lost contact
    I can not find any errors in the installation log. Only this warnings in the make.log:
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmccol.a(nmccole.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuft.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufw.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbufu.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(snmcbufm.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/libnmcbuf.a(nmcbuff.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(nmadbg.o)' is incompatible with i386:x86-64 output
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib//libnmadbg.a(snmadbg.o)' is incompatible with i386:x86-64 output
    mv -f /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/nmccollector0
    mv /opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/nmccollector /opt/oracle/oracle/product/10.2.0/db_1/bin/
    Has anyone an idea? Or a hint how to encircle the problem?
    Best regards,
    Dirk

    If you execute "uname -mpi" and output value is x86_64 then you didn't install all required packages.
    /usr/bin/ld: warning: i386 architecture of input file `/opt/oracle/oracle/product/10.2.0/db_1/sysman/lib/snmccolm.o' is incompatible with i386:x86-64 outputAccording to this message you are missing some 64bit package.
    To find the missing package execute following command to list installed packages and post the output:
    rpm -qa --qf '%{name}-%{version}-%{release}.%{arch}\n'|egrep 'compat|glibc|gcc|libstdc'|sortMessage was edited by:
    Ivan Kartik
    Too late... :-(

  • URGENT!!!!  - Reading Archived Data from a Report.

    Hi,
    The data, prior to 15 months, of some tables (BSEG, BSAK),
    used in the report YGF11347 has been archived.
    Previously this report YGF11347 was run for vendor payment information for any time frame
    through FBL1N.  So any vendor line items from 2004, 2005, 2006 and current year,
    all data elements were available to be extracted and displayed on the report.
    Recently the Check Amount is missing when executing the report for payments made prior to
    04/01/2006. This is because of archiving the data prior to 15 months.
    My requirement is tht i need to display this archived data also in the report "YGF11347".
    Can anyone please help me on this issue.
    Regards,
    Akrati

    hi
    good
    check this link, hope this would help you to solve your problem.
    http://www.ams.utoronto.ca/Assets/output/assets/ixos_637070.pdf.pdf
    thanks
    mrutyun^

  • I got the trace... why do I need that?

    Hi Techs
    Question might seems to be little stupid but I got a concern in the middle of night.
    I know how to generate at 10046 level trace. I do that using below:
    execute sys.dbms_system.set_ev(SID,SERIAL, 10046, LEVEL, '');
    I know there are other alternates to this as well like oradebug.
    I know all level of tracec 4, 8 and 12... and also I know how to generate tkprof of particular trace file and what to look into it.
    What I dont know is:
    1) Ok. So my 10046 trace is showing block by block read of table scan with wait event... usually I see db sequential read.
    Now I would like to know why should I generate this report as I do not know how many number of blocks It was supposed to read and how much blocks it has read in actual. eg:
    suppose I have a 10GB table for which a query reads almost 1GB data in it.
    I assume my query will retrieve this 1GB data by reading 10000 blocks. (I am assuming here. I dont know if there is any method using which I can determine that)
    But when I generate a 10046 level trace I see that query has read 20000 blocks.
    So, I have a difference of 10000 blocks. What I am trying to point out is that how would I know that number of blocks my query has read was supposed to be read.
    How can I be sure that my query is reading actual data related to my query and not wasting time by reading some unwanted blocks.
    Hope I am a bit clear with my confusion. I just wanted to understand like why do we generate 10046 level trace then If we dont know If trace has happened at perfect level without reading any junk or unwanted blocks. There might be a situation when my stats are invalid(old) and query is performing search on unused blocks.... just to see if data is there..
    Please suggest.
    Thanks
    Amrit

    the trace file can & should be processed using the "tkrpof" utility
    bcm@bcm-laptop:~$ tkprof
    Usage: tkprof tracefile outputfile [explain= ] [table= ]
                  [print= ] [insert= ] [sys= ] [sort= ]
      table=schema.tablename   Use 'schema.tablename' with 'explain=' option.
      explain=user/password    Connect to ORACLE and issue EXPLAIN PLAN.
      print=integer    List only the first 'integer' SQL statements.
      aggregate=yes|no
      insert=filename  List SQL statements and data inside INSERT statements.
      sys=no           TKPROF does not list SQL statements run as user SYS.
      record=filename  Record non-recursive statements found in the trace file.
      waits=yes|no     Record summary for any wait events found in the trace file.
      sort=option      Set of zero or more of the following sort options:
        prscnt  number of times parse was called
        prscpu  cpu time parsing
        prsela  elapsed time parsing
        prsdsk  number of disk reads during parse
        prsqry  number of buffers for consistent read during parse
        prscu   number of buffers for current read during parse
        prsmis  number of misses in library cache during parse
        execnt  number of execute was called
        execpu  cpu time spent executing
        exeela  elapsed time executing
        exedsk  number of disk reads during execute
        exeqry  number of buffers for consistent read during execute
        execu   number of buffers for current read during execute
        exerow  number of rows processed during execute
        exemis  number of library cache misses during execute
        fchcnt  number of times fetch was called
        fchcpu  cpu time spent fetching
        fchela  elapsed time fetching
        fchdsk  number of disk reads during fetch
        fchqry  number of buffers for consistent read during fetch
        fchcu   number of buffers for current read during fetch
        fchrow  number of rows fetched
        userid  userid of user that parsed the cursor

  • File and boolean attribute on item

    Hi,
    I work with Oracle9iAS Portal PL/SQL API (9.0.2.6).
    I define an item type (CAID = 213/ ID = 37399) with several attributes. When I try to create/modify an item I have problems with boolean attributes and file attributes.
    In case of boolean attributes, I'm not able to set the value to true. I try with several values (IS_ON, True, 1) but the attribute is still set to false. Is there anything wrong with the value I assign to the attribute before creating the item ? When I try to create the item and then modifying the attribute, the value stay to false.
    For the file attributes, I use the upload_blob function inside wwsbr_api and the file appear in the wwdoc_document table. I set the file attribute value with the return value of the upload_blob function.
    When I call the add_item_post_upload, an error occurs (ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException : -29532)
    Is this a bug or not ?
    Thanks Eddy.
    For help see my sample code below :
    (ID of attribute, page, region are correct. I also test each type of attribute separately)
    declare
    l_master NUMBER;
    l_store portal.wwsto_api_session;
    l_custom_attribute portal.wwsbr_type.array := portal.wwsbr_type.empty;
    l_custom_attribute_id portal.wwsbr_type.array := portal.wwsbr_type.empty;
    l_custom_attribute_caid portal.wwsbr_type.array := portal.wwsbr_type.empty;
    l_custom_attribute_data_type portal.wwsbr_type.array := portal.wwsbr_type.empty;
    l_str VARCHAR2(100);
    l_Blob BLOB;
    l_filename VARCHAR2(100);
    begin
    -- set context
    portal.wwctx_api.SET_CONTEXT('ctx','ctx01','');
    -- load a session (Allow use of set_Attribute ...)
    DBMS_OUTPUT.put_line('Load session');
    l_store := portal.wwsto_api_session.load_session('ctx','ctx');
    -- set parameters
    -- item type = 'Item_ed'
    l_store.set_attribute('ITEM_TYPE', 37399); -- Item type id
    l_store.set_attribute('ITEM_CAID', 213); -- Item type caid (page group owner of item type)
    l_store.set_attribute('PAGE_GROUP_ID', 213); -- Page group
    l_store.set_attribute('FOLDER_ID', 37179); -- Page within page group
    l_store.set_attribute('REGION_ID', 3216); -- Region id within page
    -- see wwv_user_corners to determine template of page
    -- see wwsbr_all_folder_regions for region display_name and region id (for template)
    -- Get date format to insert right date string
    SELECT DISTINCT value
    INTO l_str
    FROM v$nls_parameters
    WHERE parameter = 'NLS_DATE_FORMAT';
    dbms_output.put_line('date format ins : ' || l_str);
    -- define attributes (for example, id are hardcoded
    DBMS_OUTPUT.put_line('Define attributes');
    -- 1080 = PRODUCT_CODE
    l_custom_attribute(1) := 'MEHI';
    l_custom_attribute_id(1) := 1080;
    l_custom_attribute_caid(1) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(1) := 'text';
    -- 1081 = PRODUCT_AUTHOR
    l_custom_attribute(2) := 'ESTAT';
    l_custom_attribute_id(2) := 1081;
    l_custom_attribute_caid(2) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(2) := 'text';
    -- 1469 = LANGUAGE
    l_custom_attribute(3) := 'fr';
    l_custom_attribute_id(3) := 1469;
    l_custom_attribute_caid(3) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(3) := 'text';
    -- 3 = title
    l_custom_attribute(4) := 'title value';
    l_custom_attribute_id(4) := 3;
    l_custom_attribute_caid(4) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(4) := 'text';
    -- 50 = wwsbr_text_
    l_custom_attribute(5) := 'wwsbr_text_ value';
    l_custom_attribute_id(5) := 50;
    l_custom_attribute_caid(5) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(5) := 'text';
    -- 1464 = Release date
    l_custom_attribute(6) := TO_CHAR(TO_DATE('21-JAN-2004 10:00 AM', 'DD-MON-YYYY HH12:MI PM'),l_str);
    l_custom_attribute_id(6) := 1464;
    l_custom_attribute_caid(6) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(6) := 'date';
    -- 1108 = download
    l_custom_attribute(7) := 'http://www.oracle.com/';
    l_custom_attribute_id(7) := 1108;
    l_custom_attribute_caid(7) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(7) := 'url';
    -- 1485 = CDROM
    l_custom_attribute(8) := '1';
    l_custom_attribute_id(8) := 1485;
    l_custom_attribute_caid(8) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(8) := 'boolean';
    -- 1111 = PAGE_NB
    l_custom_attribute(8) := '1';
    l_custom_attribute_id(8) := 1111;
    l_custom_attribute_caid(8) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(8) := 'number';
    -- 1783 = COVER_IMAGE
    -- get image
    SELECT BANNER
    INTO l_Blob
    FROM metadata_tbl
    WHERE PRODUCT_CODE = 'caa10000';
    -- upload image in repository
    l_filename := portal.wwsbr_api.upload_blob('BANNERupload',l_Blob, 'image/pjpeg');
    DBMS_OUTPUT.put_line('filename : ' || l_filename);
    l_custom_attribute(9) := l_filename;
    l_custom_attribute_id(9) := 1783;
    l_custom_attribute_caid(9) := portal.wwsbr_api.SHARED_OBJECTS; -- = 0
    l_custom_attribute_data_type(9) := 'file';
    DBMS_OUTPUT.put_line('Insert item starts');
    l_master := portal.wwsbr_api.add_item_post_upload(
    p_caid => l_store.get_attribute_as_number('PAGE_GROUP_ID'),
    p_folder_id => l_store.get_attribute_as_number('FOLDER_ID'),
    p_display_name => 'Insert : MEHI',
    p_type_id => l_store.get_attribute_as_number('ITEM_TYPE'),
    p_type_caid => l_store.get_attribute_as_number('ITEM_CAID'),
    p_region_id => l_store.get_attribute_as_number('REGION_ID'), --to set or default
    p_display_option => portal.WWSBR_API.IN_PLACE,
    -- p_category_id in number default general_category,
    -- p_category_caid in number default shared_objects,
    -- p_perspectives in g_perspectiveidarray default g_perspectiveidemptyarray,
    -- p_perspectives_caid in g_caid_array default g_empty_caid_array,
    -- p_author in varchar2 default wwctx_api . get_user,
    -- p_image_name => l_filename,
    -- p_image_alignment in varchar2 default align_left,
    -- p_description in varchar2 default null,
    -- p_keywords in varchar2 default null,
    -- p_file_name =>l_filename, --in varchar2 default null,
    p_text => 'text field',
    -- p_url in varchar2 default null,
    -- p_plsql in varchar2 default null,
    -- p_plsql_execute_mode in varchar2 default null,
    -- p_plsql_execute_user in varchar2 default null,
    -- p_folderlink_id in number default null,
    -- p_folderlink_caid in number default null,
    -- p_publish_date in varchar2 default null,
    -- p_expire_mode in varchar2 default permanent,
    -- p_expiration in varchar2 default null,
    -- p_master_item_id in number default null,
    -- p_hide_in_browse in number default no,
    -- p_checkable in number default no,
    -- p_parent_item_id in number default 0,
    p_attribute_id => l_custom_attribute_id,
    p_attribute_caid => l_custom_attribute_caid,
    p_attribute_data_type => l_custom_attribute_data_type,
    p_attribute_value => l_custom_attribute
    DBMS_OUTPUT.put_line('Insert item ends. Item identifier : ' || l_master);
    -- Invalidate cache from SQLPLUS
    portal.wwpro_api_invalidation.execute_cache_invalidation;
    DBMS_OUTPUT.put_line('Cache invalidated');
    -- Drop session
    portal.wwsto_api_session.drop_session('ctx','ctx');
    -- Clean context
    portal.wwctx_api.clear_context;
    COMMIT;
    exception
    WHEN portal.wwctx_api.AUTHENTICATION_EXCEPTION THEN
    DBMS_OUTPUT.PUT_LINE('AUTHENTICATION_EXCEPTION : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.CANNOT_INSERT_DOCUMENT THEN
    DBMS_OUTPUT.PUT_LINE('CANNOT INSERT DOCUMENT : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.DUPLICATE_FOLDER THEN
    DBMS_OUTPUT.PUT_LINE('DUPLICATE_FOLDER : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.DUPLICATE_ID THEN
    DBMS_OUTPUT.PUT_LINE('DUPLICATE_ID : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.DUPLICATE_NAME THEN
    DBMS_OUTPUT.PUT_LINE('DUPLICATE_NAME : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.FOLDER_VERSIONING_IS_AUDIT THEN
    DBMS_OUTPUT.PUT_LINE('FOLDER_VERSIONING_IS_AUDIT : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.FOLDER_VERSIONING_IS_NONE THEN
    DBMS_OUTPUT.PUT_LINE('FOLDER_VERSIONING_IS_AUDIT : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.ILS_DISABLED THEN
    DBMS_OUTPUT.PUT_LINE('ILS_DISABLED : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.ILS_DISABLED_FOR_ITEM THEN
    DBMS_OUTPUT.PUT_LINE('ILS_DISABLED_FOR_ITEM : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_CAID THEN
    DBMS_OUTPUT.PUT_LINE('INVALID CAID : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_CATEGORY THEN
    DBMS_OUTPUT.PUT_LINE('INVALID CATEGORY : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_EXPIRE_DATE THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_EXPIRE_DATE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_EXPIRE_DATE_FORMAT THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_EXPIRE_DATE_FORMAT : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_EXPIRE_NUMBER THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_EXPIRE_NUMBER : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_FOLDER THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_FOLDER : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_FOLDER_ID THEN
    DBMS_OUTPUT.PUT_LINE('INVALID FOLDER ID : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_ITEM_ID THEN
    DBMS_OUTPUT.PUT_LINE('INVALID ITEM ID : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_ITEMTYPE THEN
    DBMS_OUTPUT.PUT_LINE('INVALID ITEMTYPE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_MOVE THEN
    DBMS_OUTPUT.PUT_LINE('INVALID MOVE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_NAME THEN
    DBMS_OUTPUT.PUT_LINE('INVALID NAME : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_NUMBER THEN
    DBMS_OUTPUT.PUT_LINE('INVALID NUMBER : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_PERSPECTIVE THEN
    DBMS_OUTPUT.PUT_LINE('INVALID PERSPECTIVE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_PLSQL_EXECUTE_USER THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_PL/SQL_EXECUTE_USER : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_PUBLISH_DATE_FORMAT THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_PUBLISH_DATE_FORMAT : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_PUBLISH_DATE_VALUE THEN
    DBMS_OUTPUT.PUT_LINE('INVALID_PUBLISH_DATE_VALUE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.INVALID_USERNAME THEN
    DBMS_OUTPUT.PUT_LINE('INVALID USERNAME : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.ITEM_CREATION_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('ITEM_CREATION ERROR : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.ITEM_NOT_FOUND_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('ITEM NOT FOUND ERROR : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.ITEM_UPDATE_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('ITEM_UPDATE_ERROR : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.MISSING_DISPLAY_NAME THEN
    DBMS_OUTPUT.PUT_LINE('MISSING DISPLAY NAME : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.MISSING_ITEM_TYPE THEN
    DBMS_OUTPUT.PUT_LINE('MISSING ITEM TYPE : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.MISSING_NAME THEN
    DBMS_OUTPUT.PUT_LINE('MISSING NAME : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.MISSING_PLSQL_EXECUTE_USER THEN
    DBMS_OUTPUT.PUT_LINE('MISSING plsql execute user : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NAME_TOO_LONG THEN
    DBMS_OUTPUT.PUT_LINE('name too long : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NO_ITEM_REGION THEN
    DBMS_OUTPUT.PUT_LINE('not item region : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NO_MASTER_ITEM_ID THEN
    DBMS_OUTPUT.PUT_LINE('no master item id : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NOT_ENOUGH_PRIVS THEN
    DBMS_OUTPUT.PUT_LINE('not enough privs : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NULL_EXPIRE_DATE THEN
    DBMS_OUTPUT.PUT_LINE('null expire date : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.NULL_EXPIRE_NUMBER THEN
    DBMS_OUTPUT.PUT_LINE('null expire number : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.PERMISSION_DENIED THEN
    DBMS_OUTPUT.PUT_LINE('permission denied : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.PLSQL_REQUIRED THEN
    DBMS_OUTPUT.PUT_LINE('plsql required : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.QUOTA_EXCEEDED THEN
    DBMS_OUTPUT.PUT_LINE('quota exceeded : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.REQD_ATTR_MISSING THEN
    DBMS_OUTPUT.PUT_LINE('reqd attr missing : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.UNKNOWN_ERROR THEN
    DBMS_OUTPUT.PUT_LINE('unknown error : ' || sqlerrm);
    ROLLBACK;
    WHEN portal.wwsbr_api.URL_REQUIRED THEN
    DBMS_OUTPUT.PUT_LINE('url required : ' || sqlerrm);
    ROLLBACK;
    when OTHERS then
    DBMS_OUTPUT.PUT_LINE('OTHERS : ' || sqlerrm || ' : ' || sqlcode);
    ROLLBACK;
    end;

    Hi Eddy:
    On Friday, we put in a TAR with Oracle support about the identical problem. When editing an item using the API, the boolean attributes always reset. The values of the boolean attributes aren't even being changed. The only reason we need to set them again is the limitation of the API where you have to feed all attributes back in.
    So far, Oracle has said it sounds like a bug and they want to know the exact sequence of steps to repeat it.
    Rgds/Mark M.
    Portal 9.0.2.6

  • Values in Search Help

    When I try to search the possible values in the drop-down for a field in Infotype 001 (Pers Area), I get a message that says "No values exist".  In all the other fields the drop-downs contain the list of possible entries.
    It is only in this one field and only for one person.  Other  users do get the correct drop-down, and this person gets drop-downs on the other fields such as Pers Subarea, Cost Centre, etc.  Nothing changed wrt his authorization or wrt to the list of Pers Areas.  The same applies to other Infotypes and reports - just the field Pers Area returns the message of  "No values exist" at the bottom of the screen
    It is possible that a personal list was created in this search help, but now no values are returned and there is no way to get back to the original list.
    Please assist

    Hi Pieter,
    I think you might have authorization issue, if you dont have authorization for for PA then this can be happen.
    you can use T-code  /NSU53 when you in the particular screen then system will give you what authorization object or level your missing. if you sent the screen shot to basis consultant they can find the issue
    or else you can switch on trance for your user ID using T-code ST01 which will give you a log report saying what all authorization your missing while executing that search transacetion or actvities.
    Ask help from basis consultant.
    Regards,
    Dinesh

  • Inserting data from Textarea into database

    I am collecting data from a html form which has textarea and processing it through servlet.
    If I enter text in textarea without breaks(without pressing enter tab) it is being collected and correctly put into database.
    If I enter text with breaks (with pressing enter tabs for entering in separate lines) it is being collected correctly but only one line goes into database.
    How to insert entire text from textarea into database.
    bye
    Kaushik

    problem is not yet solved.
    i am able to print in the sql query and is displayomg all the chars. but missing while executing the statement.
    mysql - 3.23, driver is org.mm..mysql driver
    Can u please look at this another problem:
    I have a keyword and need to search against a table containing 100 fileds.
    select * from table where keyword like '%"+keyword+"%'
    searches only in one field. If I want the search to be performed against all the fields in the table, Is there any solution.
    What I am doing at present is putting all the fields data in a new field and performing like operation on that field.
    but this is very slow.
    thanks and regards
    Kaushik

Maybe you are looking for