FTP transfer in warehouse builder

Hi,
I need to transfer DB2 files to os through FTP.
then after the files should be taken into external tables for the further process.
how do i do it..
regards

Well, you can do this in a two-stage process using a mapping and the process flow.
Your mapping would be defined against an external table as it's source which points to the location on your server where the files will be FTP'd to. Note that this presents the issue that it will be pointed to a file by name, so the new files would need to overwrite the old files, or you would need to do some gymnastics to repoint your external table (has been discussed here - search)
You would use a process flow which first uses an FTP activity to perform the ftp to bring the files over, and then calls the mapping to load the data. If you need to do any pre-processing or renaming of these files, you would probably do that via a shell script activity (check your docs, and there have been discussions here about them)
Bear in mind that normally OWB does not install with permissions enabled to allow the FTP, Shell, and SQL*Plus objects to run for security reasons (backdoor to the server). The steps to enable those activities is to modify the file Runtime.properties located in
<owb-home>/owb/bin/admin/ on the Oracle Home running the Control Center service, not the client, and then bounce the Control Center service using:
<owb-home>/owb/rtp/sql/stop_service.sql
<owb-home>/owb/rtp/sql/start_service.sql
Step 1: Stop the Control Center service by running the following script from SQL*PLUS <owb-home>/owb/rtp/sql/stop_service.sql as the Runtime Repository owner
Step 2: Open the <owb-home>/owb/bin/admin/Runtime.properties file in an editor. To enable Shell, Ftp or Sqlplus activity, you need to change the value of the property. You should only enable the activity (or activities) which are required.
property.RuntimePlatform.0.NativeExecution.FTP.security_constraint = DISABLED
property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = DISABLED
property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint = DISABLED
to
property.RuntimePlatform.0.NativeExecution.FTP.security_constraint = NATIVE_JAVA
property.RuntimePlatform.0.NativeExecution.Shell.security_constraint = NATIVE_JAVA
property.RuntimePlatform.0.NativeExecution.SQLPlus.security_constraint = NATIVE_JAVA
Step 3: Start the Control Center service by running the following script from SQL*PLUS <owb-home>/owb/rtp/sql/start_service.sql as the Runtime Repository owner
Cheers,
Mike

Similar Messages

  • Idea on Warehouse builder

    Hi
    Im new to Warehouse builder and as of now, i've installed Oracle10G warehouse builder. Now i've started working on OWB Client. But i dont know the original purpose of it and other components present in it. Can anybody pls guide me the work flow of warehouse builder and its components. Please guide me on this or give me some reference docs or the work flow to easily understand it. I've the documents that come along with installation but that seems to be too huge and a difficult one to follow for the beginner. so pls give some guidance
    Regards
    S. Kokila

    Indeed, OWB is an ideal tool for this.
    The ETL process you need to transfer from one database to another can be implemented using OWB. The name, Warehouse Builder, can be a little misleading. You do not have to be building a data warehouse, but OWB is still the tool for the job.
    You can use OWB to design the star schema target, design and implement the ETL process (Extraction, Transformation and Loading) to transfer the data from the OLTP schema(s) to the star schema(s) or straight into Oracle OLAP.

  • How to perform auto update in staging database using warehouse builder ?

    Hi ,
    here our client requirement is?
    our client want to transfer data from their production database to staging database using warehouse builder.and also what ever the update occur in production database
    that must be reflected in staging database.
    here we are transfering data from product-db to staging using etl(maping--insert/update operator )
    it is transfering fine.but it is not automaticaly updating in staging db with new update in production database?
    can any body give me the details how to achive it.
    Thanks & regards,
    k azamtulla khan.

    Hi,
    firstly there are two threads for the same issue from youself(excluding this one) which is a waste of others time so kindly refrain from doing so and use one thread.
    OWB: how can automatic updation  perform in staging database using OWB
    OWB: how to use insert/update table operator for target table
    secondly, with regards to the options , here are some options:
    1. Use trigger for update.
    2. Use materialized view(refresh on commit)
    3. Use oracle advance queing mechanism (OAQ) for queing the recent inserted/updated records.
    Kindly close other threads and maintain just one thread.
    Regards
    Message was edited by: Rado
    user647181

  • Problem in import of MetaData file in Oracle Warehouse Builder 9.2

    My Problem is Related to Oracle WareHouse Builder.My system's configuration is following :-
    Machine : P4
    Operating System :Windows XP
    ORacle : Version 9.2
    Oracle WareHouse Builder 9.2
    Ram :1GB
    SGA Size :Approximately 650M
    I have 2 MetaData files which I have to import into OWB.
    First file's size is 9M.It got imported properly in 4 minutes without any error.
    2nd File's Size is 30M.when
    I start importing this MEtaData file.It goes upto 35% in Progress Bar.But after that it does not show any improvement.
    I have left the machine running with this option upto 24 hours.
    But nothing happened .It still shows only 35%.
    I have checked log file/Trace file/Alert log files ,but there is no error in these files.
    If any body have any solution about it,Please reply ASAP.I am stucked in this problem from last 7-8 days.
    Waiting for reply
    Thanks & Regards
    Harvinder Singh

    Thanks for your reply Igor.
    As posted the OWB 10.1.0 software is running against a 9.2.0.8.0. database, so OWB still uses DBMS_JOB instead of DBMS_SCHEDULER in this database. In addition I already tested scheduling a simple job to run an OS command as suggested in note 365539.1 , and job scheduling is working fine.
    There are no invalid objects in this database.
    Yasmin

  • Scheduling in Warehouse Builder

    Hi all,
    There is an urgent requirement for scheduling in warehouse builder in my project. Can any one provide me the doucument for the scheduling processes in warehouse builder.

    Hi
    There's 2 ways I've done this:
    1 Use the scheduler in OWB - you need to license the Enterprise ETL option but then it's just a case of reading the manual and setting it up. You will need to have Oracle Workflow installed which is a bit more
    involved but there's lots of posts about that elsewhere on the forum.
    2 Use DBMS_SCHEDULER to run your processes or mappings. Read this blog at Rittman Mead: [http://www.rittmanmead.com/2005/04/28/scheduling-an-owb-90492101-mapping-or-process-flow-using-dbms_job/]
    Set up the function and then call it via a pl/sql block which can be scheduled. Very quick to get set up and doesn't need a license.
    Hope that's enough to get you started
    Pete

  • FTP Transfer: based on filename it needs to be moved to different directory

    Hi,
    I am doing a FTP transfer of file from one location to another. In this scenario, based on filename the file needs to be moved to Directory A or Directory B.
    Is this possible having a single receiver file adapter?
    Regards,
    Ashish

    Hi Ashish
    What you can do is
    1. You can pick the file from location and use variable substitution to deliver the file on base of filename. But the limitation is folder name should have some characters common to filename as well.
    2. You can write file to a temperory location and then execute OS command to move the files to appropriate folders
    3. Create two communication channels and enhanced receiver determination to find our which folder based on filename at runtime.
    Thanks
    Gaurav

  • Problem in DB Link creation ( Oracle warehouse builder 3i  )

    I am facing a problem in DB Link creation.
    Backend: Oracle 8i Server on my machine
    DW Software: Oracle warehouse builder 3i ( client , repository asistant.....)
    Operating system: Windows NT 4 SERVICE PACK 6
    I wants to use the scott database( default database given by oracle ) as my input source.
    How can I create the DB LINK ( for scott database) ?
    How can I create the DB LINK ( for any other database) ?
    Should I need to add anything in Setting of"ODBC DATASOURCE ADMINISTRATION"
    ==================
    Settings done:
    ==================
    DB Link Name :scott
    Host name
    Host name: my machine's ip address
    port number: 1521
    oracle sid: prashant ( my oracle sid)
    user name:scott
    password:tiger
    ==================
    Gives error:
    ==================
    Testing...
    Failed.
    ORA-02085 Database link %s connects to %s
    *Cause:   a database link connected to a database with a different name.
    The connection is rejected.
    *Action:   create a database link with the same name as the database it
    connects to, or set global_names=false.
    Please change it to false by doing :
    first option:
    Log in the database with DBA privilege and use the command:
    alter system set GLOBAL_NAMES = false
    second option:
    Change the GLOBAL_NAMES to false in database system parameter file, init.ora
    ==================
    Options tried:
    ==================
    1. I tried to change GLOBAL_NAMES = false but still not able to create the DB LINK.
    2. As per suggestion of one the friend
    "A file named "Logon.Properties" under the directory $OWB_HOME/wbapp
    in this file please set the property
    OWBSingleUserLockUsage = false"
    I tried the same but it is still not working.
    How should I proceed further.
    I am expecting URGENT FEEDBACK.
    Reply me on : [email protected]
    From
    Prashant

    I solved the problem.
    Procedure I followed :
    UNINSTALL ORACLE WRAEHOUSE BUILDER SOFTAWARE.
    'GLOBAL_NAMES = FALSE' in init.ora file.
    RESTARTED MY MACHINE.
    INSTALL THE ORACLE WRAEHOUSE BUILDER SOFTAWARE.

  • Im trying to publish a web gallery to BC, my settings seem correct but I'm still getting an  error: FTP transfer failed ' unknown error'. Techs on BC, say FTP working fine. Please help!

    Hey peeps,
    Im trying to publish a web gallery to be hosted on BC. Despite having what seem the correct settings im getting an error: FTP transfer failed ' unknown message'. Have checked with techs on BC. They say FTP working fine that end.
    Any suggestions?

    Have you tried connecting to another FTP server in Lightroom?
    For example, if you get a free Flickr account, can you login to it and upload a file to it?
    If you can't upload to any server, then you have a general FTP-in-Lr problem, but if problem is only with BC then, well, it's time to start scrutinizing the BC settings..
    PS - All my FTP'ing plugins have an enhanced FTP settings test feature designed to help you debug FTP settings, so another option is to download one of them, for example:
    robcole.com - FTPAggregator
    and experiment with settings tester:
    To get here, you have to click 'View / Edit Additional Settings' (in plugin manager), then choose 'New' or 'Edit' from 'Sync Pairs' drop-down menu.
    If test is unsuccessful, enable verbose logging (top section of plugin manager), and review the log file after test, or send to me.
    If you have a problem running plugin, please contact me directly:
    robcole.com - Contact Me
    Rob

  • Problem in 10g warehouse builder installation

    I installed 10g warehouse builder on windows xp but when I was trying to deploy the mapping it show a error .
    VLD-2771: System privileges may not allow extraction from source EMP.
    please help me out of this problem

    Hello,
    You might build mapping where you manually configure some target/source object to have database schema and/or database link. In this case OWB warns you that mapping could fail due to lack of access privileges to that object.
    But if you explicitly grant appropriate privilege to mapping’s owner – that’s OK. Mapping will work fine but your will still get this warning during validation/deployment.

  • A bug in the warehouse builder regarding mappings of dimensions

    Hi there
    I do not know if this is the right place to submit a possible bug. Anyways - here goes.
    Warehouse builder client: 10.1.0.2.0
    Warehouse builder repository: 10.1.0.1.0
    I'm creating a dimension, having one level attributes property as a varchar2(30). Thus it has a length of 30. Now, later on I decide this was an error. I update the property to a number, deploys, and reconcile the dimension inbound in the mapping. From now on, it will give an error, since it remembers the length. And a number has a size, not a length. If I remove the dimension from the mapping, and inserts it again, the error still occurs.
    By the way, I am able to reproduce this.
    Anyone who has experienced this, and can blame the stupid user (me) or classify this as a bug?
    Yours
    Kim Andersen

    Hi Igor
    The "error" is actually a "warning":
    Warning: VLD-1004: Column length of ASD_ASDASD is longer than the target column length.
    where ASD_ASDASD is the dimension property, which I altered. It is annoying, though, to have warnings on the list, that aren't needed. And I also spent considerable time thinking that was the error in a mapping, whereas it was a stupid mistake made by me somewhere else :)
    If it's a registered bug, do I get to win some branded Oracle candy?! :)
    Yours
    Kim

  • Oracle Warehouse Builder 10.1.0.4 on Windows 2008 - 64 bits

    Hi Gurus.
    I'm currently working with a customer who wants to migrate all their database-servers to Windows 2008 on 64-bits processors. They're using Oracle Database Enterprise Edition 10g Release 2 (10.2.0.4) and Oracle Warehouse Builder (10.1.0.4). The OWB-clients will still run on Windows XP. I've used the "Certify"-funcionality on Metalink, but it doesn't really answer my questions. (It does* ansver some of my questions, but it also raises a few new ones....)
    My main question is: Can you run serverside OWB 10.1.0.4 on Enterprise Edition 10.2.0.4 for Windows 2008 64-bits?
    Thanks in advance:-)
    Best regards
    Helge
    Edited by: user613304 on Mar 6, 2009 11:10 PM

    No.
    Oracle Warehouse Builder version 10.1.x was desupported on 16-JUL-2007.
    The desupport notice is available on Metalink (Note 376384.1).
    The Warehouse Builder installation as part of the 11.1.0.7 installation should be certified, but I cannot find specifics.

  • Oracle warehouse builder - OWB & Oracle 10g Db on SuSE

    hi folks,
    i have Oracle 10g db on my laptop; and it runs great!
    but since i am trying to gain skills in data warehousing and business inteligence, and after reading about oracle warehouse builder, i decided to install it on my laptop as well.
    but i can not get my head around the docs for installing OWB.
    is the only requirement for OWB to have an OWB_ORACLE_HOME environment variable on linux? how do we start OWB service automatically?
    has anyone installed OWB with oracle on the same pc?
    i would appreciate your comments.
    thanks in advance,
    Nicolas

    Thanks Andreas,
    i have printed and followed the advice on these documents.
    that is how i have got confused about this OWB_ORACLE_HOME.
    i would very much appreciate if could provide me with some brief description of which environment variables are needed for OWB installation.
    regards,
    nicolas

  • Oracle Applications Release 12 and Oracle Warehouse Builder 10gR2

    Hi
    I'm trying to deploying process flows to Workflow but I get the following error:
    RPE-02054: The version of Oracle Workflow is incompatible with this Control Center. Required 2.6.3, but found 2.6.0.
    Comment I found on another thread: "As far Workflow Versions with Oracle Applications is concerned, it is always 2.6.0. Workflow is not identified with its 2.6.x versioning in Oracle Applications. The 2.6.x.x versioning is purely for Workflow Standalone."
    Oracle Warehouse Builder Client: 10.2.1.31
    Oracle Warehouse Builder Repository: 10.2.0.1.0
    Oracle Applications Release 12
    Any help would be appreciated.

    May be the excerpt from the other thread is a response I posted.
    So, when you say, deploying process flows to Workflow, I do not understand what you are doing exactly? If this involves the Oracle Warehouse Builder you may want to explain a little more in detail since I do not understand how OWB works with Workflow. But as far as I have heard, it is Workflow standalone that is packaged with OWB but you are deploying into Oracle Applications.
    What is the version of Oracle Workflow Builder you are using?
    Is the steps you are doing certified to be done with Oracle Applications R12?
    Thanks

  • Oracle Warehouse Builder 10.1.0.4

    Hi All,
    I am searching for Oracle Warehouse builder 10.1 release which is compatible with Oracle database 10gR2 on solaris x86 server.
    I have found softwares for solaris sparc but nothing seems available for oracle 10gR2 on solaris x86.
    OWB 10.1.0.3 is compatible with oracle database 10gR1 and owb 10.1.0.4 and owb 10.1.0.5 are only compatible with 10gR2.
    Currently we are facing some problem with Owb 10.2.0.1 so we have to relay on owb 10.1 release.
    Can any one help me to find link for downloading
    OWB 10.1.0.4 or 10.1.0.5 for solaris x86 server...
    Thanks

    I am still unable to find any owb 10.1.x.x release for solaris x86 environment.
    Do any one have any link for this??
    Message was edited by:
    Fkhalid

  • In urgent need of Warehouse Builder 10.1.0.1 (alternatively 10.1.0.2)

    Can anyone please point me to a downloadlocation where I can find Warehouse Builder 10.1.0.1 (or 10.1.0.2) for Windows ?
    On the Oracle download-page, only version 10.1.0.4 is available.
    regards
    Henrik Poulsen

    Yes I am looking for release 1.
    The link provided is for 10.1.0.4 - I am looking for 10.1.0.1 or 10.1.0.2
    regards
    Henrik Poulsen

Maybe you are looking for

  • Posting outgoing payment in foreign currency

    Dear all, I post a invoice with exchange rate 1USD = 0,95 EUR After I post outgoing payment with exchange rate  1USD = 0,92 EUR I receive a meassage " Exchange rate diffirent account is incomplete for account 331111 ( My recon.account of vendor) curr

  • Flash Player Freezes on Online Games

    I'm not entirely sure if this is an adobe flash player problem, but I think it is...possibly. We just upgraded our computers to Windows 7 32 bit. We work with kids so they like to play a lot of those online free games, like those on gamefudge or addi

  • How can I create text templates on Droid Maxx?

    How can I create text templates or automatic responses on my Droid Maxx?

  • Move in error

    hi friends   i  got an error in  movein  process while i  click  billing  push button  ..it says the contract not  billable and the reason  is No rate was found for the period 15.09.2008 to 15.09.2008 i maintained  01.01.2008 as the date  through out

  • MOSS MA not found

    Hi, when i try to create profile synchronization connection on ok im getting MOSS MA not found error. i have check both forefront services are running , i have restarted them using services.mnc. i have also stop and start user profile service and syb