How to set "From Location" in OMBPLUS

Hi,
additional question:
After import of a non_oracle location with database link the field "from Location" is not set. I need to set it to OWB_REPOSITORY_LOCATION.
How can i do in in OMBPLUS?
Regards
Helga

Hi Helga
See the code referenced here;
Re: OMBCREATE LOCATION from dblink - Available properties?
In the UI when you create a location X of type database link, from location Y using dblink Z, then a connector from Y is created to X behind the scenes. So from scripting you have to create this....
OMBCREATE LOCATION 'X' SET PROPERTIES (TYPE,VERSION,CONNECTION_TYPE) VALUES ('ORACLE_DATABASE','11.2','DATABASE_LINK')
OMBCREATE LOCATION 'Y' SET PROPERTIES (TYPE,VERSION) VALUES ('ORACLE_DATABASE','11.2')
OMBCREATE CONNECTOR 'Y/X' SET PROPERTIES (DATABASE_LINK_NAME) VALUES ('LINKNAMEHERE') SET REF LOCATION 'X'
Cheers
David

Similar Messages

  • How to set up location services on ipod touch

    how to set up location services on ipod touch

    Go to Settings>Privacy and turn it on.
    For location the iPod uses the location of nearby wifi routers that are in Apple's database. You do not have to be connected to the network/router to use that router's location. Thus, if the iPod does not know its location it appears that the iPod can't see a nearby router that is in Apple's database. Apple continuously updated their database based on info they obtain from iPhones. No one has been able to find a way to inform Apple of a router or correct is location.
    You can confirm that by going to place with a know located router like Starbucks or McDonalds

  • How to set database location for stored procedure

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    I've already found out that setting location is not only my problem, but I can't understand the correct decision. We using CR to create reports, accessing the data in MSSQL by ODBC.
    Previously (up to version 8) I set location directly, editing the "Table" field in "Set Location" form. Command after report creation was:
    Proc(DBNAME.dbo.PROCEDURE_NAME;1)
    I erased "DBNAME.dbo.", so the correct command was
    Proc(PROCEDURE_NAME;1)
    After that, the report can run on any database name, any ODBC datasource with any owner name of procedure.
    Now we had to upgdate to CR 11 Developer Edition.
    Here I can't erase database location. But when I change database location to ODBC datasource for another database, the properties of stored procedure "Catalog" and "Owner" remain the same as they initiated when report was created! So, when report runs, it call
    exec OLD_DB_NAME.dbo.PROCEURE_NAME;1 ....
    So, the report doesn't work on customer database, because it has different name.
    How can I erase any database location in the report?We run reports using API from Gupta Team Developer applications, may be it is possible to set database location by API before running report?
    Plese help, any tips are usefull.

    Post Author: Pavel
    CA Forum: Data Connectivity and SQL
    When I set location to another database (i.e. another ODBC datasource) by clicking Update button, "Catalog" property is not changing! It remains unaltered. I had to remove procedure from report and then add procedure from another database, so there was a lot of formatting fileds after that.
    This is not a right decision. I didn't solved current problem, I only temporary patched it.
    The correct desision is to set location programmatically from application.But function PEGetNthTableLocation returns empty strings in CR11, or I incorectly declared this function (from CR8.5):
    BOOL CRPE_API PEGetNthTableLocation ( short printJob,  //handle to print job short tableN,  //number of table struct PETableLocation FAR *location     //structure pointer);typedef struct PETableLocation {    WORD StructSize;    char Location [PE_TABLE_LOCATION_LEN]; //256    char SubLocation[PE_TABLE_LOCATION_LEN]; //256    char ConnectBuffer[PE_CONNECTION_BUFFER_LEN]; //512} PETableLocation;

  • How to set a location of a JFrame using mouseListener?

    Hi,
    I was wondering how i could set the location of a JFrame using the mouseListener? I know when i want to show a JPopMenu i can do:
    pop.setLocation(e.getX(), e.getY());
    pop.setInvoker(null);
    By using .setInvoker(); I can show the jpopup on the position that i clicked my mouse but this method is not available to the JFrame.
    Should i do this with the Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); instead? I was wondering if there is an easier way to do this. If not i can code a workaround but thats not my first choice.
    Thanks

    CaptainMorgan08 wrote:
    deAppel wrote:
    CaptainMorgan08 wrote:
    Why do you need setInvoker() for a JFrame? What's wrong with just setLocation()?The problem is that i want to show my frame where i clicked my mouse but when i get the x,y from the mouselistener getX/Ymethods the frame doesn't show up on the location where i clicked with the mouse, instead it shows the frame in the location x,y NOT relative to the mouse.I see. Well if you're using Java 6, you can use the getXOnScreen() and the getYOnScreen() methods from MouseEvent.
    http://java.sun.com/javase/6/docs/api/java/awt/event/MouseEvent.html#getXOnScreen()
    Otherwise you'll need to add the x and y coordinates of whatever component you're clicking on.I'm using Java 6, I tried your suggestion but i get the same value with getX/Y and getX/YOnScreen()

  • How to set the location of a button  (in an applet)

    Hello
    How do i set the location of the button
    forexample if i want to create a button in the middle of the applet, how would i do that
    Thanks :)

    supahsain08 wrote:
    Well i did this
    Triangle.setLocation(50, 100);
    (where Triangle is a buton)
    it doesn't do anything, stays at the same placeIt's all about context here and there are still many unknowns here that can effect your result and that you have not told us or shown us. My suggestion to you is to consider posting an SSCCE (Short, Self Contained, Correct (Compilable), Example, a condensed program similar to your current program in that it demonstrates the problem at hand, but is the smallest bit of code that still compiles and has no extra code that's not relevant to your problem. For more info on SSCCEs please look here:
    [http://homepage1.nifty.com/algafield/sscce.html|http://homepage1.nifty.com/algafield/sscce.html]
    Also, when posting your code, please use code tags so that your code will retain its formatting and be readable. To do this, you can will need to paste already formatted code into the forum, highlight this code, and then press the "code" button at the top of the forum Message editor prior to posting the message. You may want to click on the Preview tab to make sure that your code is formatted correctly. Another way is to place the tag [code] at the top of your block of code and the tag [/code] at the bottom, like so:
    [code]
      // your code block goes here.
      // note the differences between the tag at the top vs the bottom.
    [/code]or
    {code}
      // your code block goes here.
      // note here that the tags are the same.
    {code}good luck, pete

  • How to set the location of a button

    Hello
    How do i set the location of the button
    forexample if i want to create a button in the middle of the applet, how would i do that
    Thanks :)

    Do not make duplicate posts.
    http://forum.java.sun.com/thread.jspa?threadID=5293505&messageID=10240164#10240164

  • How to set FROM ADDRESS for EMAIL activity in Process Flow

    Hi all,
    Can any one tell how to set(which address) FROM ADDRESS for EMAIL activity in Process Flow?
    Thanks,
    Suvvi

    Did you set what OWB guide says:
    To execute a process flow with an email activity, you may need to access different host machines and ports. New security measures implemented in Oracle Database 11g Release 1 restrict access to hosts and ports. You must explicitly grant access to hosts and ports that the email activity accesses using the DBMS_NETWORK_ACL_ADMIN package.
    For example, the user OWBSYS needs to send an email through the mail server mail.example.com using port 25. The DBA must perform the following steps:
    1. Create an Access Control List (ACL) for the user OWBSYS using the following command:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.CREATE_ACL
    (’acl_for_owb_cc.xml’,’ACL for Control Center’,’OWBSYS’,’CONNECT’);
    The ACL has no access control effect unless it is assigned to network target.
    2. Assign the Access Control List (ACL) to a network host, and optionally specify a TCP port range. Use the following command:
    EXECUTE DBMS_NETWORK_ACL_ADMIN.ASSIGN_ACL (’acl_for_owb_cc.xml’,’mail.example.com’,25)
    3. Commit the changes made using the COMMIT command.

  • How to set/change location of DBF files?

    Hi,
    I would like to connect programatically my report to DBF file and it is needed to specify location of dbf files. Is possible to handle with it? (Crystal Reports 2008 SP3 Full version, VS 2008)
    Tomas

    You will have to set the location for each table. I believe something along these lines:
    Dim myreport As New CrystalReport1
    ' Set the 'Location' property for each table in your database.
    myreport.Database.Tables(0).Location = "C:\mydb\table1.dbf"
    myreport.Database.Tables(1).Location = "C:\mydb\table2.dbf"
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • How to set database location in the crystal report X1 from the Source code.

    Dear All,
    I am using Crystal report X1 for report generation.Now I am setting the database location manually in the crystal report. How can I Set the database location from the Source code.
    Awaiting for your reply.
    Thanks in advance.
    Regards,
    Rahaneef T

    Here's a routine that also searches for subreports to set the log on info. Simply remove that aprt to set the main report logon info:
    IDatabaseTablePtr pTable;
    //get first table
    pTable = m_Report->Database->Tables->GetItem(1) ;
    long lTableCount = m_Report->Database->Tables->Count;
    for( long lTable=1; lTable<=lTableCount; lTable++ )
         pTable = m_Report->Database->Tables->GetItem(lTable);
         pTable->ConnectionProperties->DeleteAll();
         pTable->ConnectionProperties->Add("DSN", "Name of your DSN");
         pTable->ConnectionProperties->Add("Database", "Demo");
         pTable->ConnectionProperties->Add("Password", "sa");
         pTable->ConnectionProperties->Add("User ID", "1Oem2000");
    // Log on the tables of the subreports.
    long lSectionCount = m_Report->Sections->Count;
    for( long lSection=1; lSection<=lSectionCount; lSection++ )
         ISectionPtr pSection = m_Report->Sections->Item[lSection];
         long lSubreportCount = pSection->ReportObjects->Count;
         for( long lSubreport=1; lSubreport<=lSubreportCount; lSubreport++ )
              IReportObjectPtr pSubreportObject = pSection->ReportObjects->Item[lSubreport];
              CRObjectKind crObjectKind;
              pSubreportObject->get_Kind(&crObjectKind);
              if( crObjectKind == crSubreportObject )
                   ISubreportObjectPtr SubReportPtr = pSubreportObject;
                   IReportPtr pSubReport = SubReportPtr->OpenSubreport();
                   long lTableCount = pSubReport->Database->Tables->Count;
                   for( long lTable=1; lTable<=lTableCount; lTable++ )
                        pTable = m_Report->Database->Tables->GetItem(lTable);
                        pTable->ConnectionProperties->DeleteAll();
                        //pTable->ConnectionProperties->Add("DSN", "dwcb12003");
                        pTable->ConnectionProperties->Add("Database", "CrystalEport_DB");
                        pTable->ConnectionProperties->Add("Password", "sa");
                        pTable->ConnectionProperties->Add("User ID", "1Oem2000");
    If that doesn't work you need to tell us what is the error you are getting and paste in the code you are using.

  • How to set storage location in Nokia lumia 820 for...

    Hi,
    I would like to know if and how to define the storage location in my Nokia lumia 820.
    I have recently purchased a micro SD card by Kingston and would like to download and install apps, like games who require more storage then my Nokia 820 supports(8GB).
    I saw that the only available option set is to choose the the storage for music + videos and pictures from settings/phone storage but no option set could be found for the apps or others.
    Please help me with some guidelines or with a proper workaround as I tried unsuccessfully to find the understanding for this in various resources.
    Thank you for considering my request.
    Vlad Zaicescu
    Solved!
    Go to Solution.

    You can't install applications, Games on the SD Card. Only other thing that you may save on the SD Card is the Maps ..but you need THIS application. Need to log-in using the same credentials that you use on this forum to download it ...

  • How to set storage location in iMovie 10?

    iMovie refuses to import my video files and instead gives the following error message: "No storage location set: Cannot start ingest because there is not storage location set. Please set one under Storage in Preferences and try again." However, when I select iMovie Preferences, there are only two possible commands (Clip: Apply slow-motion automatically) and (Theater: Automatically upload content to iCloud [grayed out]) neither of which appear particularly helpful in this context. In any case, when I import single clips these are "automatically" stored in updated projects, so why will this not work more generally? Many thanks

    I've been able to store the contents of my camcorder on the Mac's HD. I've tried importing the clips from there and get the same result, whether I try to import one or several clips at once, it replies with the same error message as to the missing storage location/instructions. Interestingly, it will nonetheless import the first (or only) one of the clips that I highlight on the import screen.
    When you suggest dragging the files, from where do you mean? The clips per se don't appear in the finder, but only on the import page. The finder show only various fragmented files that aren't complete clips (eg. separate video and index, even sound files), which is too much of a pain to deal with...
    It's true that my original iMovie library was created from an upgrade, but I have since deleted the contents and attempted to reload the clips. Are you suggesting deleting the library completely and starting again, or should I just try creating another event and using that? Don't see why that shoudl work better than "updated projects", but perhaps it's worth a try...
    Thanks again

  • How to set  default 'location' in Serial number setup

    Hi Expert,
                       We are using SAP B 8.81 PL-10. we want to set by default location like "Bangalore" In Serial Number setup.How can we do this.Please suggest me.
    Thanks & Regards
    Alok Kumar

    Hi Ambesh,
                        Thanks For your response. Here we are using 10 warehouse and all warehouse having same location like' Bangalore'.No currently we are not using any FMS.
    Regards
    Alok Kmar

  • How to set Report Location by RAS SDK without configurating CCM in CR Serve

    Dear all
    When I use the RAS SDK with CR Server Embedded 2008, I found that when I use the Java code to open a report like below:
    String localRptPath = "rassdk://C:
    oem.rpt";
    reportClientDoc.open(localRptPath,OpenReportOptions._openAsReadOnly);
    But I must set the Report Directory from the default value(a specified location after CRSE installation)to " * " in CCM of the RAS Server like below:
    Right click the RAS Server -> Choose "Propertites" -> Choose "Parameter" -> Change "Option Type" to "Server" -> set the Report Directory from the default value to " * "
    Then I can open the report, otherwise I must put the report under the Default Location of the Report Directory.
    So customer need a way which can set the report location directly in RAS SDK and without configurating the Report Direcroty in CCM?
    Thanks in advance.
    David

    Dear all
    I encounter some strange situation when editing the "Report Directory":
    In my Vmware, there are 2 "ReportDirectoryPath" under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\Server\LocalConnectionMgr
    and
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Server\LocalConnectionMgr
    I can only edit the "ReportDirectoryPath" in the former location and then take effectively in the CCM. And if I modify the "ReportDirectoryPath" in the latter location, it can not take effect.
    But in customer machine, customer install CR2008 and CRASE2008, and customer can edit the value in the registry, but after customer uninstall the CR2008 and CRSE2008 then reinstall CRSE2008 only, the registry structure is different, there is not HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\, so customer can only edit the "ReportDirectoryPath" under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Server\LocalConnectionMgr
    And it can work effectively.
    And I can not rebuild this.
    So I found that when there are 2 location of the "ReportDirectoryPath", I can only modify it under:
    HKEY_LOCAL_MACHINE\SOFTWARE\Business Objects\Suite 12.0\Report Application Server\Instances\bouser.RAS\Server\LocalConnectionMgr
    So my question is:
    Why the registry structure is different after reinstall the CRSE2008?
    Because customer need the firm registry location to modify it.

  • How to set "from" field in Versamail 4.0.1 EAS / Palm Centro Verizon

    I have set up a Palm Centro to sync via Activesync using Versamail 4.01.00. All seems to be working normally but there doesn't seem to be a place to set the senders proper first and last name as the sender. When I send an outbound message the recipient receives the message from login "username" instead of "Firstname Lastname". Anyone know where to change this?
    Thanks,
    Rob
    Post relates to: Centro (Verizon)

    Check under Preferences / Reply Options
    Post relates to: Treo 700p (Verizon)

  • How to set from field in template

    Hi all,
    We are using templates that always should be SentOnBehalfOf but as you can imagine it is often forgotten to change the from field ...
    Is there a way to set the from field to a pre-defined value? I don't get it done. Thanks for any suggestion.

    Glad to hear that you found the solution. Thank you for sharing it here, it will be helpful to other community members who encounter similar problem.
    Cheers,
    Steve Fan
    TechNet Community Support

Maybe you are looking for