Why should i set  global_name=*'TRUE'*

if I create public database link its should be TRUE, What's the logic here ?
SQL>show parameter global_name;
NAME TYPE VALUE
global_names boolean FALSE
SQL>create public database link mydba connect to scott identified by tiger using 'ORCL';
Database link created.
SQL> select * from emp@mydba
select count(*) from emp@mydba;
COUNT(*)
14
Even i set global_name='FALSE' i can create public database link. then
why should i set global_name=*'TRUE'*

>
if I create public database link its should be TRUE, What's the logic here ?
>
Says who? That isn't true at all. You don't have to see it to TRUE
>
Even i set global_name='FALSE' i can create public database link. then
why should i set global_name=*'TRUE'*
>
You do NOT have to set it to true but you can if you want your links to have the same name as the DB they connect to.
http://docs.oracle.com/cd/B28359_01/server.111/b28320/initparams088.htm
See the Database Reference
>
GLOBAL_NAMES specifies whether a database link is required to have the same name as the database to which it connects.
If the value of GLOBAL_NAMES is false, then no check is performed. If you use or plan to use distributed processing, then Oracle recommends that you set this parameter to true to ensure the use of consistent naming conventions for databases and links in a networked environment.
>
The CREATE DATABASE LINK section of the SQL Language Doc tells you what that setting means.
http://docs.oracle.com/cd/B28359_01/server.111/b28286/statements_5005.htm
>
If the value of the GLOBAL_NAMES initialization parameter is TRUE, then the database link must have the same name as the database to which it connects. If the value of GLOBAL_NAMES is FALSE, and if you have changed the global name of the database, then you can specify the global name.
>
If global_name is TRUE then, as the doc says, 'the database link must have the same name as the database to which it connection.

Similar Messages

  • Why in COM, set smth true, stays true even after System.exit?

    I am using "Jacob" to do COM calls. When I alter the "ShowAll" property of Word.Application and I set it to true, it will then forever be true even if I exit the application AND quit the word application. If I set it to false, the same thing happens, it will always be so. The code to call/set this is:
    (NOTE: This uses classes I made to wrap the Dispatch calls)
    Word wordApp = new Word();
    Documents docs = wordApp.getDocuments();
    Document doc = docs.open("D:\\JavaProjects\\Test.doc");
    //GET VIEW
    View wordView = wordApp.getActiveWindow().getView();
    //PRINT THE VIEW PROPERTIES
    System.out.println("Show All: " + wordApp.getActiveWindow().getView().isShowAll());
    System.out.println("Show Paragraphs: " + wordApp.getActiveWindow().getView().isShowParagraphs());
    //SET THE VIEW PROPERTIES
    wordView.setShowAll(false);
    wordView.setShowParagraphs(true);
    //PRINT THEM AGAIN
    System.out.println("Show All: " + wordApp.getActiveWindow().getView().isShowAll());
    System.out.println("Show Paragraphs: " + wordApp.getActiveWindow().getView().isShowParagraphs());
    doc.close(Document.DO_NOT_SAVE);
    wordApp.quit(new Variant[] {});
    System.exit(0);The actual Dispatch calls are:
    //NO IDEA WHY THIS IS, BUT SHOWALL = TRUE IS -1, AND FALSE IS 0
    private final static int SHOW_ALL_TRUE = -1;
    private final static int SHOW_ALL_FALSE = 0;
    /** SETSHOWPARAGRAPHS **
    * Sets the property (boolean) ShowParagraphs.
    public void setShowParagraphs(boolean showParagraphs)
         Dispatch.put(this, "ShowParagraphs", new Boolean(showParagraphs));
    /** ISSHOWPARAGRAPHS **
    * Returns Boolean of whether or not this is set to show paragraphs.
    public boolean isShowParagraphs()
         return getBooleanValue(Dispatch.get(this, "ShowParagraphs"));
    private boolean getBooleanValue(Variant variantBoolean)
         //MAKE IT AN INTEGER AND GET ITS int VALUE
         int intVariant = new Integer(variantBoolean.toString()).intValue();
         //RETURN IF IS SHOW ALL
         return (intVariant == View.SHOW_ALL_TRUE);
    }I'm wondering if the problem is that I get back either -1 or 0 and if maybe that means something else?

    1: Properties persistence is not a DEFECT but a FEATURE . It was implemented in MS Word so users could change MS word WITHOUT HAVING TO DO IT EACH TIME THEY START IT UP.
    2: Don't you intialise all your variables in your code after you instanciated them ? I am sure you do so and therefore the persitence feature you described should not be annoying you at all. It is not necessary to intialise variables in the BASIC langage but that does not mean you should not do it.
    3: (-1) was chosen arbitrary by Microsoft as the TRUE value for Boolean datatype and 0 the value for FALSE when they designed Visual Basic. This is not a problem if you write code properly
    I recommend you test bool variable in any langages using the following test:
    (myBool <> 0)
    HAVE A THINK ABOUT IT
    Finally,
    you need to understand what you are working with before you complain about it.
    Argument for Argument sake is not good and if you think MS word is a bad program just don't use it. go and write your own word processor in JAVA.
    GOOD LUCK
    I WISH TO APOLOGISE FOR ANY POSSIBLE SPELLING OR GRAMMATICAL MISTAKES I COULD HAVE MADE IN THIS REPLY. ENGLISH NOT BEING MY FIRST LANGUAGE.

  • Why does my preferred search engine gets hide set to True in search.json after every update to Firefox?

    I use DuckDuckGo as my preferred search engine. Everytime Firefox gets updated it dissappears from the drop down menu of search engines. I found in search.json that the Hide value would be set to True. By changing it to False and restarting Firefox DuckDuckGo would be back, until the next update. Why is this happening? It is an extension available from the Mozilla/Firefox extension/addons site.

    First of all, thank you for providing troubleshooting info (Troubleshooter addon), have you tried the searchreset tool.
    * https://addons.mozilla.org/en-US/firefox/addon/searchreset/

  • Typing a phrase in the Address Bar of Firefox 3.6 used to lead me to the relevant website, but this doesn't happen in FF4, even though keyword.enabled value is set to true in the config page. Why doesn this happen?

    In the about:config page the keyword.enabled value is set to "true". And the keyword.URL value is set to "default". When I type a phrase in the Address Bar, a page with a Yahoo! search result opens unlike intuitively loading the relevant page using Google. Why is this happening?

    To use the Google's browse by name feature as used in Firefox 3.6, set keyword.URL to this link:
    [http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= http://www.google.com/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q=]

  • ORA-02069: global_names parameter must be set to TRUE for this operation

    I have 10g database and a schema 'TMAPP'
    And I have two table in TMAPP as
    create table user_menu_privs
    company_code           varchar2(5),
    bu_code      varchar2(12),
    user_group      varchar2(30),
    user_group_type      varchar2(1),
    menu_option_code number(5),
    enabled varchar2(1),
    query_only varchar2(1),
    default_lang varchar2(3),
    created_by      varchar2(10),
    created_on      date,
    updated_by      varchar2(10),
    updated_on      date,
    constraint pk_user_menu_privs primary key (company_code,bu_code,user_group,user_group_type,menu_option_code),
    constraint fk_user_menu_privs foreign key (company_code,bu_code,user_group,user_group_type)
    references user_group(company_code,bu_code,user_group,user_group_type)
    create table user_dst
    company_code           varchar2(5),
    bu_code      varchar2(12),
    userid varchar2(10),
    user_group      varchar2(30) ,
    user_group_type      varchar2(1) ,
    font_size      number(2) ,
    font_name      varchar2(100) ,
    address_id number(10),
    created_by      varchar2(10),
    created_on      date,
    updated_by      varchar2(10),
    updated_on      date,
    constraint pk_user_dst primary key (company_code,bu_code,userid,user_group,user_group_type),
    constraint fk_user_dst foreign key (company_code,bu_code,user_group,user_group_type)
    references user_group(company_code,bu_code,user_group,user_group_type)
    I have another database 11g with a schema TMAPP.
    Here I have created a database link 'to_dev' is connecting to the 10g db
    using this I can connect and see the data from 10g TMAPP
    I have created two views
    create or replace view user_menu_privs as
    select *
    from user_menu_privs@to_dev
    where user_group in
    (select user_group from user_dst
    where user_group_type='F');
    create or replace view user_dst as
    select * from user_dst@to_dev;
    and I executed
    delete from user_menu_privs
    where menu_option_code=108;
    I am getting the error
    ORA-02069: global_names parameter must be set to TRUE for this operation
    after that I set the global_names in 11g as TRUE
    then I am getting another error as
    ORA-02085: database link TO_DEV connects to DEV.REGRESS.RDBMS.DEV.US.ORACLE.COM -- that means link is not wokring
    Please help
    Dennis
    Edited by: DJ on Mar 13, 2012 5:49 AM
    Edited by: DJ on Mar 13, 2012 5:51 AM
    Edited by: DJ on Mar 13, 2012 5:53 AM
    Edited by: DJ on Mar 13, 2012 5:55 AM
    Edited by: DJ on Mar 13, 2012 5:56 AM

    OP wrote
    >
    But you said
    create a database link in 11g database with 11g database global name and put 11g database global_name=true.
    and put 10g database golba_name=false;
    >
    That isn't what I said at all. Reread my first reply. The first part is a copy of what you had stated.
    >
    ORA-02069: global_names parameter must be set to TRUE for this operation
    after that I set the global_names in 11g as TRUE
    >
    And then I said
    >
    That is because when global_names is TRUE, the database link name MUST be same as the global db name of the database to which the link connects to.
    You need to drop the database link and recreate it using the global name of the database it connects to.
    'link name MUST be same as the global db name of the database to which the link connects to.' - I didn't say 11g.
    And I didn't say 'put 11g database global_name=true' because you had already done that! 'after that I set the global_names in 11g as TRUE.
    1. 11g - global_names MUST be TRUE
    2. 11g - database link name MUST be the same as the global db name of the database to which the link connects to - 10g global db name
    3. 10g - gloibal_names setting is irrelevant

  • Why should we add the components of JAppet to Container object ?

    why should we add the components of JAppet to Container object ? Because we are able to run the program by adding the components to the JApplet directly without using any container objects. Both with using and without using container to add components are giving the same outputs. So why we need to add them to container ? Thanks for all replying

    we are able to run the program by adding the components to the JApplet directly without using any container objectsSort of true. JApplet does have an add() method. And you can use that method rather than using getContentPane() and adding things to the Container it returns. But this method does not add things to the applet "directly without using any container objects".
    The [API documentation|http://java.sun.com/javase/6/docs/api/javax/swing/JApplet.html] explains: "JApplet contains a JRootPane as its only child. The contentPane should be the parent of any children of the JApplet. As a convenience add and its variants, remove and setLayout have been overridden to forward to the contentPane as necessary. This means you can write:
    {code}
    applet.add(child);
    {code}
    And the child will be added to the contentPane. The contentPane will always be non-null. Attempting to set it to null will cause the JApplet to throw an exception"

  • Why should Adobe Reader fail to print because of settings in the Edit/Preferences?

    AdobeReaderDocumentCouldNotPrint.txt
    Glyn Price Tue 17 March 2015
    Why should Adobe Reader fail to print because of settings
    in the Edit/Preference?
    Adobe Reader XI Version 11.0.10
    MS Window 7
    File > Print > Print
    I got the error message:
    The document could not be printed
    I googled this error message and used the following
    solution that worked i.e. it then printed successfully.
    Edit >  Preferences
    Category: Security(Enhancement)   'Enable Protected  Mode at Startup'
    It was checked, changed it to unchecked.
    Category: Documents    'View documents in PDF/Mode'
    It was set to 'Only for PDF/A'
    Set it to 'Never'
    Exited Adobe Reader and restart it. Then it printed.
    I had a look on another computer system (Adobe Reader XI Version 11.0.10
    and MS Window 7) and on this different computer I could print
    without doing the above two changes.
    I'm a bit puzzled. Why preferences on one system were not
    needed on a different system?

    Here is an elaborate method of troubleshooting this problem. There may be a simpler method if anybody wants to suggest one.
    There is a general technique that is helpful in this situation. I can't give you complete instructions here, and I haven't tested this with regard to bluetooth devices, but here's the gist of it.
    Create a second log-on account for your music projects. Configure it so that when you log in to the new music account, the drivers needed for the Bluetooth devices don't load. You do this in System Preferences: Accounts.
    When it's time to do music, log out of your usual account and onto the new one.
    When you install drivers for any peripheral, you have the option of installing them "for all users" or only for the user account that is active during the installation.
    This governs whether the drivers go in root/library or root/Users/your name/library.
    If drivers are in root/library, they will load whenever the Mac is booted up and will run for all users.
    But if drivers are loaded in root/Users/your name/library, they will only load if you log in as "your name". If you have a second account called root/Users/music account/, and you log in under that, the drivers in "your name" will not load. Get it?
    To get this working right you need to be knowledgeable about moving or deleting files in the /library/ directory and subdirectories, and you need to be careful because you can unwittingly cause some damage if you are not careful.
    There is also the root/System/library directory, and in general you should never mess around with anything in there or you might hose your system.
    In summary, I would start by using the installer programs for your BlueTooth devices and DE-installing all drivers. Reboot. Log back in as your usual user account. Then RE-install each driver and see if the installer program gives you the OPTION to installl for all users or just for this user. Choose the latter. Then log on to your new Music account and see if the problems go away.

  • Status of Last Action is "Failed"  when StartScriptEnabled is set to true

    Hi,
    I have set StartScriptEnabled to true in nodemanager.properties file and restarted managed server through console. After restart, eventhough the managed server state is "Running", the status of last action is "FAILED". When I stop the server through console, the state is showing as "FAILED_NOT_RESTARTABLE" although I can start the server after this message.
    Can someone help me why I'm seeing these messages when I set StartScriptEnabled is set to true. If I set this to false, I'm not seeing the "FAILED" messages.
    The only error I see is the below error in nodemanager.log file.
    <Sep 14, 2010 3:49:34 PM> <Warning> <Exception while starting server 'ms01': java.io.IOException: Server failed to start up. See server
    output log for more details.>
    java.io.IOException: Server failed to start up. See server output log for more details.
    at weblogic.nodemanager.server.ServerManager.start(ServerManager.java:303)
    at weblogic.nodemanager.server.Handler.handleStart(Handler.java:542)
    at weblogic.nodemanager.server.Handler.handleCommand(Handler.java:119)
    at weblogic.nodemanager.server.Handler.run(Handler.java:66)
    at java.lang.Thread.run(Thread.java:619)
    Thanks

    All the managed servers are running in without any errors. The only error I see is failed in node manager log. I don't see any error or warnings in stdout and stderr logs even if debug is enabled.
    Edited by: nlrreddy on Sep 15, 2010 9:50 AM

  • Method CreateChildren in ApplicationControllBar class called twice after setting dock=true

    Hi during creating of a custom ApplicationControllBar
    component in ActionScript I probably found a (nasty) bug?!
    package net.neijman.julia.jaContainers
    import mx.containers.ApplicationControlBar;
    public class JAApplicationControlBar2 extends
    ApplicationControlBar
    public function JAApplicationControlBar2(): void
    this.dock = true;
    super();
    override protected function createChildren(): void
    trace("CREATECHILDREN EXECUTED");
    When I am using my simple custom component in my application:
    <jaContainer:JAApplicationControlBar2 />
    The trace message trace("CREATECHILDREN EXECUTED"); is
    executed twice (meaning CreateChildren is called twice BUT ONLY
    AFTER SETTING dock = true (see constructor). When setting dock =
    false CreateChildren is executed once. I want to build a framework
    on the standard components (depending heavily on the
    CreateChildren-method).
    In other words, creating dynamic components in the docked
    ApplicationControlBar in the method CreateChildren results in a
    double placement in the DisplayList.
    Has anyone has a clue what's going wrong here? (my
    workarround for now is to start the createChildren method with
    removeAllChildren();)
    Thanks Tom Neijman

    Interesting. I would file it as a bug here:
    http://bugs.adobe.com/jira/secure/Dashboard.jspa
    And then see what happens. If it's not a bug, you'll probably
    get a decent reason why this occurs in the bug notes.
    matt horn
    flex docs

  • InputText renders as just text when readOnly set to true

    Apparently when a <af:inputText> component's readOnly attribute is set to true, the component renders as plain text rather than a text box whose readOnly attribute is set to true. Oracle's ADF tag definition site makes no mention of this 'feature' (http://www.oracle.com/technology/products/jdev/htdocs/partners/addins/exchange/jsf/doc/tagdoc/core/inputText.html) but I remember reading it somewhere, I believe in some of the documents that came with an ADF faces download.
    And if I had not happened to come across this information somewhere, I would otherwise think this was a bug. But either way, I don't think this is the way it should perform. If I specify a field on a page to be inputText, I expect it to be a text box, regardless of whether I want it readOnly or not. I think its a bad assumption on ADF's part to completely change the rendering of the component.
    I want to render text inside a textbox on a page, but make it read only. And I am using it within the confines of a <af:forEach> so I am using the var parameter, and thus am forced to use Oracle's components so the forEach var parameter is recognized. So it appears to me I cannot render the field how I want. I dont see any other Oracle components to render this.
    Is this going to be changed or is there a way to submit something to Oracle to have this addressed?

    FYI...if I use the disabled attribute instead, thankfully the component still renders as a textbox. Obviously it renders grayed out, but at least I still get a textbox with text in it.
    But the readOnly attribute still, I feel, performs badly. So my question still stands, are there plans to change it or can it be addressed? Maybe when Apache takes full control of the library, it will be changed...

  • Cpufrequtils: Why should I care, and acpi-cpufreq vs. p4_clockmod

    I'm a cpufrequtils newbie. In the years I've been running Arch on my laptop, I've never set it up.
    I wonder, why should I care about cpufrequtils? What should I know about the technology as a laptop user? Does the fact that I rarely unplug make a difference?
    I also wonder what module I should be using for frequency scaling. The cpufrequtils article recommends acpi-cpufreq, but the article for my specific laptop recommends p4_clockmod (for some unspecified reason).
    Any insight would be greatly appreciated. Thanks in advance!

    Just modprobe both acpi-cpufreq and p4-clockmod, only one of them should be able to load.
    the article wrote:
    For older Intel CPUs, the command above may return with:
    FATAL: Error inserting acpi_cpufreq ([...]/acpi-cpufreq.ko): No such device
    In this case, replace the kernel module acpi-cpufreq with speedstep-centrino, p4-clockmod or speedstep-ich.
    CPU frequency scaling saves power and keeps your processor cooler. It's worth using on a desktop or a server, not just a laptop.
    If you use the ondemand governor, and add:
    (sleep 5 && echo 11 > /sys/devices/system/cpu/cpufreq/ondemand/up_threshold)
    to /etc/rc.local, you'll have basically zero performance loss. Usually it scales up the CPU at 95%, with this it will do it at 11% (you can't go lower atm).
    You can load the  "cpufreq_stats" module and see what it's doing with cpufreq-info. You should notice your laptop fan spin down quite a bit once you set it up.
    If you have a watt meter, you can take out the battery and see the power use drop from something like 17w to 12w.
    Last edited by thestinger (2010-11-26 05:18:31)

  • Error : Offline Mode is SET to "True"

    I have clustered enviroment . I ran the Package by executing Dtsx File and it got the error  "product level is insufficient..." then i found that i need to install remaing SSIS Component. After Instaling those Component . while i was running the package again it is giving the Error "Package Failed becasue Offline Mode is set to True. When i Check in Design it was False. So Why Suddenly it is Throwing that Error.
    Plsease Help me on That

       Hi,
          There is another option to set the work offline mode with out opening the project itself. I think in your case it is better to set this property prior to open the project, why because after changing in the solution still you find some errors related to work offline. So I think it is better to follow the steps in the given link to set work offline mode without opening the project.
         http://agilebi.com/cs/blogs/jwelch/archive/2009/05/12/setting-work-offline-without-opening-the-project.aspx
    Lakshman

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

  • Why should we calculate cumulative balance as per posting period?

    Hi,
    I dont know whether we can pose this type of questions here or not.
    Why should we calculate cumulative balance as per the posting period?
    How is it going to work?
    Hope I will get an answer. Thank you

    Hi, you've got a couple of issues with the formula the biggest being that EARLIER() needs to be used in an iterator so should be contained in a FILTER() here. Suspect you also don't need the ALL().
    That said, I think you might be over complicating the problem. Based on you output at the bottom, all you really need to do this is a flag on each order to say whether or not that order date matches the latest order date in that year for that customer. Assuming
    you add a column for year you could use something like:
    =
    IF (
    [Date]
    = CALCULATE (
    MAX ( [Date] ),
    FILTER (
    'Q3 Data Set',
    [Customer ID] = EARLIER ( [Customer ID] )
    && [Year] = EARLIER ( [Year] )
    "Y",
    "N"
    Jacob | Please mark helpful posts and answers

  • Problems in registering Locations with global_name = true.

    Hello,
    I am facing problems registering locations using ombplus. Here is what I did.
    OMB+> OMBCREATE LOCATION 'TEST_LOCATION' SET PROPERTIES (TYPE, VERSION, DESCRIPTION, BUSINESS_NAME) VALUES ('Oracle Database', \
    '10.2','This is a location', 'TEST_LOCATION' )Location TEST_LOCATION created.
    OMB+> OMBCOMMIT
    Commit complete.
    OMB+> source c:/code/ombscripts/qa-bofarac/allinit.tcl
    C:/Code/OMBScripts/QA-BOFARAC/ImportParam.txt
    OMB+> OMBALTER LOCATION 'TEST_LOCATION' SET PROPERTIES ( HOST, PORT, SERVICE_NAME , SCHEMA, CONNECT_AS_USER,PASSWORD, VERSION, UOID,DATABASE_NAME) \
    VALUES ( '$HOST', $PORT,'$SERVICE', '$TgtDBUser', '$TgtDBUser', 'TgtDBPWD','$
    dbversion','true','$SERVICE');
    Location TEST_LOCATION altered.
    OMB+> OMBCOMMIT
    Commit complete.
    OMB+> OMBREGISTER LOCATION 'TEST_LOCATION' REUSE
    Location TEST_LOCATION is invalid and could not be deployed.
    OMB+> OMBALTER LOCATION 'TEST_LOCATION' SET PROPERTIES ( PASSWORD ) VALUES ('ENT_STAR')
    Location TEST_LOCATION altered.
    OMB+> OMBCOMMIT
    Commit complete.
    OMB+> OMBREGISTER LOCATION 'TEST_LOCATION' REUSE
    Location TEST_LOCATION registered.
    OMB+>
    Please note that I am setting global_names option in LOCATION objec by setting UOID
    = 'true' . Is this correct ? I am using OWB 10.2.0.8
    Am I missing any step before registering location ?
    Please let me know. Any help is appreciated.
    Thanks
    Madhavi

    Hi Madhavi,
    You said:
    OMB+> OMBALTER LOCATION 'TEST_LOCATION' SET PROPERTIES ( HOST, PORT, SERVICE_NAME , SCHEMA, CONNECT_AS_USER,PASSWORD, VERSION, UOID,DATABASE_NAME) \
    VALUES ( '$HOST', $PORT,'$SERVICE', '$TgtDBUser', '$TgtDBUser', 'TgtDBPWD','$
    dbversion','true','$SERVICE');
    Did you leave out the "$"-character for the TgtDBPWD variable in purpose? Could this be the source of your problem?
    Regards,
    Ed

Maybe you are looking for