Need TCL for the "Use Global Names" checkbox when creating Location(s)

We have a TCL script that creates OWB locations as part of our automated install and build process. Recently we switched to using GLOBAL NAME = TRUE on our databases (to implement Oracle Streams). In order to create a location and successfully register the location in the GUI, we need to manually check the "Use Global Names" checkbox and then enter the fully qualified name to successfully connect and register. We need to be able to code this into our TCL scripts to get this location creation and registration done programmatically, but we've reviewed the API coding guide and found nothing. So far, our SR on Oracle support hasn't turned up much either.
Just wondering if anyone else out there has had any success with locations with Global Names enabled, using TCL...?
And it's: OWB 10gR2.
Thanks,
Jim

From my installation script which deals with databases with both global names settings:
       if [string match TRUE $dbGlobalNames] {
           OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD, DATABASE_NAME) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS','$DATA_LOCATION_SRVC' )
       } else {
           OMBCREATE LOCATION '$DATA_LOCATION_NAME' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME, HOST, PORT, SERVICE, CONNECT_AS_USER, PASSWORD) VALUES ('ORACLE_DATABASE','$DATA_LOCATION_VERS','ERS Datamart Code User','$DATA_LOCATION_NAME', '$DATA_LOCATION_HOST','$DATA_LOCATION_PORT','$DATA_LOCATION_SRVC', '$DATA_LOCATION_USER','$DATA_LOCATION_PASS')
       }Addding a value to the DATABASE_NAME property lets OWB know that this a case where GLOBAL_NAMES=TRUE as you wouldn't populate that value otherwise. OWB then will check that checkbox for you.
Cheers,
Mike

Similar Messages

  • Need help understanding the local caching of jnlp when creating it via jsp

    I'm trying to deploy an app via Web Start. I have occasions when I need to pass arguments, so I'm using JSP to create the JNLP and optionally write arguments.
    I need some help in figuring out how to cover my different use cases with as few different jnlps as possible and am confused about the local cacheing logic.
    Use 1
    Initial install: I pass an init=yes url param which writes a preferences file <argument> to be passed to my app. I don't want this argument cached in my jnlp, as this will overwrite the user's preferences on subsequent launches.
    Use 2
    Subsequent offline launches: no url params passed.
    Use 3
    Launch via html link (in a CMS): passes a file=<filename> url param which creates a file <argument> for my app to open. Again, I don't want this argument cached, otherwise launching from, say, the desktop shortcut will reopen this file.
    Can anyone explain how best to cover these three use cases?
    TIA!

    Did you solve this cache problem? I have a similar issue where I don't want it to use the arguments over again...

  • To see the username and datetime who/when created and who/when last updated the record

    Excel Addin and Web UI future:
    We need to see the username and datetime who/when created and who/when last updated the record.
    We need these columns in tables (as shown columns with status error)
    from Moscow with money

    Vincent,
    By the way, Just this week
    we have +20 MDS-users
    from Moscow with money

  • ORA-04054 : using variable substitution for the database link name

    Hi,
    I need to use variable substitution for the database link name.
    Here is my command :
    declare
    GET VARCHAR2(50);
    begin
    select OIA_GET_DESIGNATION into GET from INFODRI.OMA_IN_ARTICLES;
    for rec in (select * from [email protected]_GET_DESIGNATION)
    LOOP
    dbms_output.put_line('TEN_CODE vaut : '||rec.ten_code);
    END LOOP;
    exception
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('ERREUR ORACLE DETECTEE : '||rec.OIR_CUR);
    DBMS_OUTPUT.PUT_LINE('Message Erreur : '||SUBSTR(SQLERRM,1,245));
    :crd := -1;
    end;
    When I run this programm, I receive the error :
    ORA-04054: database link REC.OIA_GET_DESIGNATION does not exist
    When I replace :
    for rec in (select * from [email protected]_GET_DESIGNATION)
    by :
    for rec in (execute immediate 'select * from tensions@'||rec.OIA_GET_DESIGNATION)
    I receive the error :
    PLS-00103 : Encountered the symbol "IMMEDIATE" while parsing.
    What can I do to resolv my problem ?
    Regards,
    Rachel

    What is the name of the DB Link and the name of the object you are selecting
    from?
    I find it easier to create a view on the remote object then use that in selects.
    e.g,
    Link Name = MyLink
    Object_name = Addr_Loc
    create or replace VIEW Rem_Addr_Loc AS
    select * from addr_loc@mylink;
    In the code I then use the view
    begin
      for C_Rec in (select * from Rem_Addr_loc)
      loop
         dbms_output.put_line('Rec: '|| C_Rec.Col1);
      end loop;
    end;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    Need solution for the following sync error: "iTunes could not sync calendars to the iPad "iPad name" because an error occurred while sending data from the iPad"

    I want to add that I deleted all the old back-ups and created a new back-up without any issues except sync problem.

  • How to find workarea ID for the work area name.

    Hi Experts..
    How to find workarea ID for the work area name.(Work area name CCIHT_WAH-WAID and I want to fetch characteristic data from table AUSP matching the OBJEK field,but I only have Work area name).Can anybody help me to find tables or relationship between Workarea ID and Workarea name for the same.I am using TCODE - CHIB02.Once I select a workarea and click on IHS Data button,I get data for that workarea.I need to find where this data comes from and How is this fetched.
    Points would be rewarded for helpful answers..
    Thanks
    Kunal Halarnakar

    U want to fetch the workarea description ?
    we can fetch it from CCIHT_WALD table with the RECN value.
    The informations are stored in AUSP table with the characterstic(ATINN) value.

  • RE : need assistance for the BAPI between Web methods and SAP

    *Hi All,*
    *I need help regarding the integaration between webmethods and SAP by using BAPI_PROJ_MAINTAIN.*
    *Details:*
    *From webmethods side they are maintaining 2 fields called Region and Sub region with parent and child hirearchy*
    *From SAP side we are maintaining the only one field called subregion.*
    *Need clarification:*
    *can we map field : subregion from webmethods to field : subregion in SAP without maintaing any parent and child hierarchy?*
    *Any imapact will be there on SAP system like Data loss and mismatch of the existing fields.*
    Thanks & Regards
    Raju M
    9944531233

    Between webpages is quite simple.  It sounds like your Xacute Query template and BLS are configured to receive the properties, so make sure the web page containing your applet uses an irpt extension and then add the following lines within your applet tags to receive the tokens for the query:
    <PARAM NAME="Param.1" VALUE="{LowRange}">
    <PARAM NAME="Param.2" VALUE="{HighRange}">
    Then call your page with a URL like:  ...Page.irpt?LowRange=0&HighRange=100
    If you look at the web page examples in the Module Library template downloads here on SDN you'll see examples like this, as well as others.

  • Who could give the license for the use of the songs?

    Hey guys
    Does anybody know the real names or authors of the songs "Dogma" and "Strategy" (both under "Intense" list) and also "peach Cobbler" (under "Cheerful")?
    Basically, I need to know who could give the license for the use of these songs. Do you know any companies that license them or is Apple?
    Thank you
    Sinisa

    Apple's license agreement says:
    You may use the Apple and third party audio loop content (“Audio Content”),
    contained in or otherwise included with the Apple Software, on a royalty-free basis, to create your own original
    soundtracks for your video and audio projects. You may broadcast and/or distribute your own soundtracks that were
    created using the Audio Content, however, individual samples, sound sets, or audio loops may not be commercially or
    otherwise distributed on a standalone basis, nor may they be repackaged in whole or in part as audio samples, sound
    libraries, sound effects or music beds.
    So you're fine as long as you add something to the loops or jingles - what's forbidden is to distribute one of them as a song. But that's probably not what you want to do.

  • *UPDATED 7/15/04* Complete guide to bioses, drivers, and needed files for the MSI K8N Neo Platinum

    Complete newbie's guide to bioses, drivers, and needed files for the MSI K8N Neo Platinum:
    Last Updated: Thursday July 15th, 2004
    Bioses:
    (In order of date released.)
    1.1b3 - (Download)
    - Pre-1.1, given to reviewers to use in their reviews and benchmarks.
    - Less stable, but supposedly you get slightly better overclocks.
    1.1 Official - (Download)
    1. This is AWARD BIOS release
    2. This BIOS fixes the following problems of the previous version:
    - Memory always run DDR 200 when install single side DDR on DIMM2 & DIMM3.
    - Windows 2000 can't format the RAID IDE HDD when plug in Promise 378 controller.
    1.2b5 - (Download)
    1.2b7 - (No Download Yet)
    1.2b10 - (Download)
    - First attempt to fix false temperature readings. Fixes it for some people with Newcastle cores and doesn't fix it for anybody with Clawhammer cores.
    1.2b12 - (Download)
    - Second attempt to fix false temperature readings. Fixes it for some people with Newcastle cores and some people with Clawhammer cores.
    1.3b1 - (Download)
    - Another attempt to fix temperature problems?
    - Possibly fixes cold boot/power light issues?
    1.2 Official - (Download)
    1. This is AWARD BIOS release
    2. This BIOS fixes the following problems of the previous version:
    - System can't resume from S3 sometimes when install USB device.
    - Support K8 Sempron CPU.
    - Turn off keyboard LED in S3.
    --Quick Guide for flashing BIOS, provided by MSI--
    1. Create a MS-DOS boot diskette, then copy the the .exe and the bios file to the floppy disk. Both of these files can be found in the package you downloaded.
    2. Press "Delete" and go to BIOS setup while computer bootup.
    Check BIOS advanced features and see if BIOS flash write control is enabled
    (This option must be enabled. If you can not find this setting, it means the BIOS can be
    flashed.)
    3. Boot from MS-DOS boot diskette and get a:\> prompt.
    4. Type "", then press ENTER
    5. The flash program will then ask "Do you want to save BIOS?", please press "N" for no. The when you see Press 'Y' to program or 'N' to Exit, please press "Y" to continue.
    6. After flashing complete, remove floppy and reset the system .
    7. Press DELETE or F1 when prompted at first reboot after flashing.
    8. Load BIOS optimized defaults, then save settings and exits.
    Drivers & Needed Files:
    (Note: All these drivers are for Windows XP.)
    Leaked Nvidia nForce3 Chipset Drivers Version 4.40
    (Please use at your own risk, these are LEAKED drivers. Password for the .zip file is "ocworkbench rules". Also, you will need to rename the WinXP_2K folder in IDE to either WinXP or Win2K else the installer doesn't pick it up.) Thanks for the link Wonkanoby!
    *NEW* Leaked Nvidia nForce3 Chipset Drivers Version 5.03
    More leaked drivers? Seems some parts of the drivers are older and some are newer.
    1. Windows XP Service Pack 1A (Web Install) -or- Windows XP Service Pack 1A (Full Install)
    2. Microsoft DirectX 9.0b (Web Install) -or- Microsoft DirectX 9.0b (Full Install)
    3. Nvidia nForce3 Chipset Drivers Version 4.24
    4. AMD Athlon 64 Processor Driver Version 1.1.0.14
    5. Nvidia Video Card Driver Version 56.72 -or- Omega Nvidia Video Card Driver Version v1.5303
    (The Omega drivers are third party drivers optimized for gaming, most prefer these over the standard Nvidia drivers.)
    5. ATI Video Card Driver Version 4.7 -or- Omega ATI Video Card Driver Version 2.5.51
    (The Omega drivers are third party drivers optimized for gaming, most prefer these over the standard ATI drivers.)
    6. Onboard Sound Driver (Realtek AC'97 Audio Codec) Version A3.61
    It is HIGHLY reccomended that you install the drivers/needed files in the order listed above. Please note that there are two #5's because you either install one or the other depending on your video card, do not install both of them.
    You will come across a problem here though. You can't install the chipset drivers without installing the Windows service pack and DirectX first, but the Windows service pack and DirectX installs need the internet to download files and you won't have working internet until you install the chipset drivers. Here's what I did to get around this. Instead of downloading the web install versions of Windows service pack and DirectX, download the full version and and put them along with all the other drivers on a backup hard drive or burn them to a CD, this way you will have all the drivers you need when it's time to install them and none of them will require the internet to download files.
    Another note when installing drivers. Apparently the Nvidia chipset drivers also come with drivers for the onboard sound, but people seem to agree that the Realtek onboard sound drivers are better. When you are installing the Nvidia chipset drivers, just be sure to uncheck the box for sound drivers when it asks you which drivers you would like to install. Now you can safely install the Realtek drivers without any chance of conflicting sound drivers. Thanks for the tip Wonkanoby!

    Quote
    Originally posted by RLiu818
    Quote
    Originally posted by Deviation56
    Quote
    Originally posted by RLiu818
    You CAN install the nforce drivers BEFORE installing SP1.  The only requirement to install the nforce drivers is DX9.
    So is SP1 still recommended to install before the nforce drivers?
    The installer still reccomends to install it beforehand for full USB 2.0 functionality... I would have put what you said in there but I wanted to keep it as simple as possible.  
    oh.  IIRC the installer just says USB 2.0 will be fully functional after SP1 is installed.  So after you install SP1 you go into device manager and u click update driver and it will auto search and update the driver.
    Simplicity-wise, i guess its pretty much equal.  It might take less preparation to just copy DX9 full onto a CD and install that first, then nforce driver, then right away you have yoru internet connection.
    but i dunno.. i guess i will try it your way this time when my RMA"d board comes.
    i will be fomratting and doing a fresh install later on today and will let you know if i come across any problems

  • HT1349 My Macbook Pro was stolen and I need the serial number. How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks :)

    How would I find this? I need it for the police report so if I could get answers soon that would be great, thanks

    Lanlani wrote:
    ... It there any other solution ?
    Consider using this site: http://www.stolenlostfound.org/
    This is Apple's official word on the subject:
    Reporting a lost or stolen Apple product
    If you have lost or found an Apple product, please contact your local law enforcement agency to report it. Although Apple does not have a process to track or flag lost or stolen product, you can use My Support Profile to find a list of serial numbers for items purchased or registered with your Apple ID.

  • I would like to upgrade my OS to the latest version.  I now have 10.6.8 and my machine has 1Gb of memory.  Need 2Gb for the new OS.  Is is possible (and practical) to add memory to a machine that's five years old?

    I would like to upgrade my OS to the latest version.  I now have 10.6.8 and my machine has 1Gb of memory.  Need 2Gb for the new OS.  Is is possible (and practical) to add memory to a machine that's five years old?

    You can put two 2gb RAM sticks in your model 2,1 but it can only use 3,3gb. This is a hardware limitation and cannot be changed.
    http://en.wikipedia.org/wiki/3_GB_barrier
    http://www.everymac.com/systems/apple/macbook_pro/faq/macbook-pro-core-2-duo-3-g b-memory-limitation-details.html
    OWC tests have found that there is a slight speed increase with having two 2gb sticks in rather than one 1gb and one 2gb. Your model is in the gray lines at the bottom of the graph. http://eshop.macsales.com/shop/Memory_Benchmark/Apple_MacBook/
    You can buy Lion for $29 from the App Store witht a model 2,1 MacBook. Lion will require at least 2gb of RAM but really needs 4gb to run smoothly. As for programs see this list for compatibility with 10.7 http://roaringapps.com/apps:table
    Lion doesn't run any Power PC programs. To see if you have any Power PC programs go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up select Applications under Software. Then look under Kind to see if any of your applications are listed as Power PC. Universal and Intel will run under Lion.
    Before Mac switched to Intel processors they used Power PC processors from 1994 to 2005. Power PC 601 through 604, G3, G4 and G5. Applications written for the Power PC processors need the application called Rosetta to run on Intel processors. This was part of the Operating System in 10.4 and 10.5 but was an optional install in 10.6. With 10.7 Lion Apple dropped all support for Power PC applications.
    These are good online stores for Mac compatible RAM
    OWC http://eshop.macsales.com/shop/memory/MacBook/DDR2/ - They offer Mac tested RAM at very good prices.
    Crucial Memory http://www.crucial.com/ - good place to buy RAM from all over the world. They also have an excellent memory selector that allows you to choose memory based on your computer's model
    Data Memory Systems http://www.datamemorysystems.com/apple-memory.asp - another good, cheap place to buying RAM if you live in the U.S.
    Here are instructions on replacing RAM in a MacBook with a removable battery. http://homeoffice.consumerelectronicsnet.com/articles/viewarticle.jsp?id=44404
    If you don’t have the tools to open up the MacBook OWC has a set for $5
    http://eshop.macsales.com/item/OWC/TOOLKITMHD/

  • Restrictions for the use of MapKit in a paid iOS6 app that caches map tiles.

    Can anybody advise what restrictions exist for the use of MapKit for a paid app that caches map tiles for off-line use.  The app is targetted at iOS6 and above.  I haven't found any clear answers on this,
    Is there a cost associated with using map tiles if you charge more than $0 for the app?  I understood that this could not be done for free in iOS 5 due to Google licence terms.
    Also, under the iOS6 Apple Maps licence, can map tiles be cached for off-line use?
    Many thanks to anyone who has the answer to these questions.  A link to a document from Apple would be fantastic.
    Geoff

    Just in case you didn't already go there and see it, there is a specific developer forum for discussing MapKit and some other things I can't talk about in a public place.  Look for a developer forum that mentions maps in the name and that'll be it.  The people there can answer your question if it hasn't already been answered.

  • Restriction for the use of last_record in 10g forms

    Hi,
    When I was working on Forms 6i with the query in the trigger When_new_form_instance:
    go_block('ABC');
    execute_query;
    last_record;
    first record;
    go_block('DEF');
    execute_query;
    last_record;
    first record;
    It worked and gave correct data on frontend.
    When the same was used in 10g forms, it gave incorrect data.When we removed last_record from the query, it worked.
    Could somebody tell me is there some kind of restriction for the use of last_record in 10g forms? If yes, what kind of?
    Thanks,
    Neha

    When I set Query All records to Yes.
    Surprisingly it gives incorrect data.
    This is what is bothering me.
    As i said earlier i was using last_record for
    navigation purpose to fetch all the records from the
    database and then first_record to highlight the first
    record.
    You don't need to do that, that is poor programming logic. Instead change the block property Query All Records and set it to Yes.
    This will fetch all the records from the database and the highlight will be on the first record;
    Regards,
    Tony

  • No authorization for the component (query name)!

    Hello all,
    when i am publishing the query in web, the following error message is displayed!
    "No authorization for the component (query name)!"
    i had installed and configured everything here, so the person responsible for authorization is none other than me. what i shud do now? shud i add any other authorization profile to the username created? or still any configuartion is required?
    please let me know!
    Thanks,
    Ravi

    Hi ARK,
    thanks for the info.
    i had assigned SAP_ALL and SAP_NEW profiles to the user.
    let me say clearly that when i am executing the Query in the designer it is working fine,no issues in Bex browser too. but when i want to publish safely exexuted query in web (clicking the button publish the query in web) i am getting the above mentioned error!
    do suggest me what is the authorization profile that is needed to serve my purpose?
    hope this time i am clear!
    Ravi

  • How to find the Datasources for the given table names ?

    Hi All,
    I have an urgent requirement where I ned to find the names of BW Datasources, created for the given table names.
    Both the tables and Datasources are in BW system only. I can see the table in SE11 but I am unable to find its associated Datasources in the 'Where Used List'.
    Is there any method ?
    Will assign points to satisfactory answers.
    Regards,
    Srinivas

    Hi,
    Check this thread on how to find the DS.
    I have the field name, please help me find the data source.
    Once you identify your DS you find which all Data targets are fed by trying to see the " Show data flow" in RSA1 for this data source.
    Hope this helps.
    Thanks,
    JituK
    Edited by: Jitu Krishna on Apr 30, 2008 11:52 AM

Maybe you are looking for

  • Open Webdynpro ABAP application from UWL

    Hello Experts, The requirement is we need to open the Custom Webdynpro ABAP application when the user clicks on the UWL tasks instead of ITS based screen. We have created a custom workflow task. Then we maintained the task entry with Webdynpro ABAP a

  • What is repair request

    hi this is ramireddy

  • Filesystem won't mount in rc.sysinit

    My RAID card won't mount with the other filesystems in rc.sysinit, it displays mount: special device /dev/sda1 does not exist. However, I took it out of fstab and added the line mount -t reiserfs /dev/sda1 /var/lib/mysql to rc.multi, so it mounts the

  • Example of accessing relational data in Tangosol Cache

    Hi, I was hoping for an example for how I can access a tangosol cache with an SQL like query. It would be great to see how to do something like: select field3 from table where field1='value' and field2='value' pat

  • How bad is a 5.99 APR on a 72 month

       Just wanted some opinions.  How bad of an interest rate is 5.99 on a 72 month used car loan up to 50k ?