OMB plus Creating Locations Modules And Importing the Metadata?

Hi All,
First of all I would like to thank you all of you in advance for all your time and concern. I have serious of questions and I will ask them in 3 different portions as they are slightly different.
How can I implement the steps below using OMB plus? If you could provided sample script and notation it will be highly appreciated.
-- Creating an Oracle Location for a Schema and Registering it
-- Creating an Module and relating it to the location that was created.
-- Importing the metadata for all the objects in this Schema in to this module.
For example,
You have a schema called ORACLE_SRC. I need to create the location and module for this schema and tie them each other. Then I need to import all the metadata for all the objects in this ORACLE_SRC schema. During this import all the preserve statements should be unchecked. And I need to accomplish all these using OMB plus and TCL scripting.
-- Creating an Non Oracle (SQL server 2005) Location for a database and Registering it
-- Creating an Module and relating it to the location that was created.
-- Importing the metadata for all the objects in this Schema in to this module.
For example,
You have a schema called SQLSERVER_SRC. I need to create the location and module for this schema and tie them each other. Then I need to import all the metadata for all the objects in this SQLSERVER_SRC schema. During this import all the preserve statements should be unchecked. And I need to accomplish all these using OMB plus and TCL scripting.
-- Creating an Flat File Location for a folder structure and Registering it
-- Creating an Module and relating it to the location that was created.
For example,
You have a schema called FLATFILE_SRC. I need to create the location and module for this schema and tie them each other.
Thanks again for all your help and concern!
Kind Regards,
Mike

In addition to the performance issue above I have faced an extremely more important problem. When I have used the same logic for importing Materialized views I am getting an error at the last step of the script. It is exactly the same case also for EXTERNAL_TABLE objects. TABLE and VIEW objects are fine. OMBIMPORT command throw the error message below.
PUB04201: Encountered an internal fatal error during processing of oracle module XXX_DMY_DWPROD_TST: unsupported obj type.
I would like to mention that MATERIALIZED_VIEW is the object name I took from OWB scripting Reference guide. I have tried couple other naming conventions too but it didn't work.
Strange thing is If I were to change MATERIALIZED_VIEW to TABLE it works but the materialized view gets imported into 'Tables' folder under the module.
Please help?
     #IMPORT FOR MATERIALIZED VIEWS STARTS
#pull the names of the object inthe schema
     set MVIEWLIST {}
     set sqlStr "select distinct Mview_Name from all_mviews where owner = upper('$DbNm') order by Mview_Name"
     #execute the query
     set oraRs [oracleQuery $oraConn $sqlStr]
     #Loop through the list of objects
     while {[$oraRs next]} {
          set mvwName [$oraRs getString Mview_Name]
          lappend MVIEWLIST $mvwName
     #and close the query
     $oraRs close
     set listCntr 0
     set listTotal [llength $MVIEWLIST]
     set mviewName [lindex $MVIEWLIST $listCntr]
     #First object
     OMBALTER IMPORT_ACTION_PLAN 'IMPORT_ALL' ADD ACTION 'MAT_VIEWS' SET REF SOURCE MATERIALIZED_VIEW '$mviewName' SET REF TARGET ORACLE_MODULE '$ModNm'
     OMBCOMMIT
     puts "$mviewName is being imported"
     incr listCntr
     while {$listCntr<$listTotal} {     
          #Rest of the objects
          set mviewName [lindex $MVIEWLIST $listCntr]
          incr listCntr
          OMBALTER IMPORT_ACTION_PLAN 'IMPORT_ALL' MODIFY ACTION 'MAT_VIEWS' SET REF SOURCE MATERIALIZED_VIEW '$mviewName' SET REF TARGET ORACLE_MODULE '$ModNm'
          OMBCOMMIT
          puts "$mviewName is being imported"
     set listCntr 0
     set listTotal 0     
     #IMPORT FOR MATERIALIZED VIEWS ENDS
          OMBIMPORT FROM METADATA_LOCATION FOR IMPORT_ACTION_PLAN 'IMPORT_ALL'
          OMBDROP IMPORT_ACTION_PLAN 'IMPORT_ALL'

Similar Messages

  • Transaction code to create a text module and import graphics

    Hello everybody
    Can anybody tell me the transaction codes used to create text module and import graphics

    Hi,
    use rstxldmc or se78 for graphics uploading  and SO10
    Reward points if found helpful....
    Cheers,
    Chandra Sekhar.

  • Creating remote objects and passing the retrieved data to modules

    I found at this Adobe tutorial a nice "RemoteService" class that  creates a RemoteObject and contains the functions for handling the  result and fault events. If I wanted to use this approach, how could I  pass the data from the result handler to interfaces that modules from  the main application could use?
    I could put the RemoteService/RemoteObject in the modules, but (in my  opinion- and I could be wrong) the best design seems to be using the  remote calls in the main app and passing the data along to the modules.
    Ultimately, I would like to know what the "best practices" are for creating remote objects and passing the retrieved data to modules
    Thanks!

    public void mouseClicked(MouseEvent e) {
      X x = new X(e.getX(), e.getY());
    }I don't see the difficulty.

  • When I export a AAF file from Protools 9 and Import the file into Logic ProX the drum track is out of sync.  I created the drum loop using NI Maschine.  Has anyone else seem this??

    When I export an AAF file/project from Protools 9 using an external drive and import the AAF into Logice Pro X the drum track does not play correctly.  It is out of sync with the rest of the track.  I created the drum loop as a plugin using Native Instruments Maschine. Has anyone else had this problem??  Also how would I go about exporting the midi tracks from the Protools session.  The midi track does not show when the file is imported to Logic Pro X.  The midi data should export with the AAF file correct??

    Are you using any plugins in Logic?
    In Preferences/Audio  under the General tab, how do you have the plug-in-latency compensation set?

  • I created my first movie using one long video (all photos) clip created in Keynote and imported to Imovie.  I added many music clips, some overlapping. I now want to lay down a new updated video clip, eliminate the original but retain the audio. Can I?

    I created my first movie using one long video (a montage of photos) clip created in Keynote and imported to Imovie.  I added many music clips, some overlapping. I now want to lay down a new updated video clip, eliminate the original video, but retain the audio. Can I?  And if so, how.  I cant seem to
    find the info anywhere in help.

    I would suggest that you go to iMovie/Preferences and make sure that Advanced Tools are enabled.
    Then, you can drag your new video clip on top of your old clip and a popup menu should appear. Choose REPLACE.

  • I have LR 5.  When I'm in the book module and select the option to "Send Book to Blurb" i get an error message saying "The file does not have a program associated with it...."  How do I fix this?

    I have LR 5.  When I'm in the book module and select the option to "Send Book to Blurb" i get an error message saying "The file does not have a program associated with it for performing this action.  Please install a program, or if one is already installed, create an association in the Default Programs control panel."
    How do I fix this?

    Try the following user tip:
    "There is a problem with this Windows Installer package ..." error messages when installing iTunes for Windows

  • Is it possible to export and import the roles and users tables?

    Hi,
    is there any possibility to export and import the role and user definitions?
    We have a SAP MDM repository with a lot of roles and users and also with a lot of changes.
    And now I'm searching for a fast and efficient way of managing the roles and users.
    Thanks and Regards, Melanie

    Hi Melanie,
    There is no export/import functionality for roles and users.  The only way to manage these in an automated way would be to write a program that uses the Java or ABAP APIs.  Both APIs expose functionality to create, update and delete roles and users.
    Hope this helps,
    Richard

  • How to export and import the lsmw

    Hi Friends,
    How to export and import the objects in lsmw
    from dev to qas(quality) systems........
    its urgent.........
    regards,
    venu.

    best way is to create a transport and move it to other enviroments
    There are two ways of Transporting for this. Can choose any one.
    Goto the LSMW Transaction
    1)Extras>Export Projects>(Give the Project name)
    In next screen(Choose what subproject, routines, etc.. you wan to copy then, Export Rules-->Export((Will prompt for file name)
    A text file will be downloaded.
    In the Target System
    Goto LSMW Extras-->Import Projects and give the text file which was downloaded.
    2)Extras-->Generate Change Request
    Assign a change request which is basically a transport request and you can then get this transported from one system to another through the basis route.

  • I cannot open and import the raw pictures, through lightroom 5,5, from th nikon810...

    i cannot open and import the raw pictures, through lightroom 5,5, from th nikon810...

    thank you!
    2014-07-27 21:45 GMT-03:00 ssprengel <[email protected]>:
        i cannot open and import the raw pictures, through lightroom 5,5,
    from th nikon810...
    created by ssprengel <https://forums.adobe.com/people/ssprengel> in *Photoshop
    Lightroom* - View the full discussion
    <https://forums.adobe.com/message/6588935#6588935>

  • How do I suppress messages/loading bars from Import-Module and Import-PSSession?

    Hello,
    How do I suppress messages/loading bars from Import-Module and Import-PSSession?
    I am writing a script that will be using these commands and it makes the script look clunky/scary to novice users.
    Thank you for your time.

    Sorry to bring this back up, but it seems that the ProgressPreference worked for Exchange, but it didn't affect the Active Directory progress bar. Any ideas why?
    Strange, this worked just fine for me (no module loading indication):
    PS C:\Users\mike.admin> $ProgressPreference = 'SilentlyContinue'
    PS C:\Users\mike.admin> Get-ADUser mike.admin | Select Name
    Name
    mike.admin
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)
    I do run the Import-Module command inside a function, but I doubt that would do it because I assume the preference is set scriptwide.
    This will work anywhere.
    $global:ProgressPreference='SilentlyContinue'
    ¯\_(ツ)_/¯

  • How can I email a video clip I downloaded into my iPhoto library to my friends? I tried creating an email and attaching the clip but there is no sound and no picture when the 5 minute attachment "plays." How can I file= export it to them from iPhoto?

    How can I email a video clip I downloaded into my iPhoto library to my friends? I tried creating an email and attaching the clip but there is no sound and no picture when the 5 minute attachment "plays." How can I file=>export it to them from iPhoto?

    Have them install Quicktime on their PC's from Apple's website, that's the easiest fix.

  • Error in Adobe Captivate 4: "unable to decode and import the selected wav - mp3 file"

    Good day!
    I have a problem. When i want to import music file from standart Gallery, i see the mistake: unable to decode and import the selected wav - mp3 file.
    I can't import mp3,wav files...
    In Adobe Help site i have found this: http://help.adobe.com/en_US/Captivate/4.0/Using/WS5b3ccc516d4fbf351e63e3d119e9582190-7fd8. html
    But in my Adobe Captivate 4 directory i don't have file regsvr32 NSAudio.dll.
    Question: where i can download this file?
    Thanks!

    Hi there
    As I recall there were two different "fixes" for audio with Captivate 4. One involved replacing the dll and another had something to do with installation problems on Windows XP. So give the link below a try.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    Begin learning Captivate 5 moments from now! $29.95
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    I want to know what I need and then how to take a pdf form I created in word and add the blue boxes so that anyone can type into my form

    Hey john@adobe,
    Could you please specify how exactly have you created your form.
    You might need to have Acrobat installed on your computer to convert a word document to PDF.
    Do you have Acrobat installed? If yes, what version? If no, then please try using the trial version of Acrobat DC (latest version) and access its features:
    Download Adobe Acrobat free trial | Acrobat Pro DC
    Also, let me know what kind of blue boxes are you talking about.
    If you want others to edit your PDF form, then you need to make it a fillable form by choosing 'Form Editing' option from Tools pane.
    Let me know more on this so that I can help you out.
    Regards,
    Anubha

  • Do i need acrobat pro to open a pdf i created in quark and reduce the file size?

    do i need acrobat pro to open a pdf i created in quark and reduce the file size?

    i'll try that! thank you.
    Daniel Flavin <mailto:[email protected]>
    June 24, 2014 at 3:23 PM
    >
          do i need acrobat pro to open a pdf i created in quark and
          reduce the file size?
    created by Daniel Flavin
    <https://forums.adobe.com/people/Daniel+Flavin> in /Creating, Editing
    & Exporting PDFs/ - View the full discussion
    <https://forums.adobe.com/message/6493113#6493113>

  • Reg. Particulare table export and import the same table

    Dear Sir
    I am MM consultant, I would like to export only one table and import the same after some request released,how to do this. Please help me.
    I am working in Oracle 10.2.0.2.0 release
    Thanks in advance
    Rajakumar.K

    Hello Raja,
    you want to export some table, perform some changes on the system (releasing a transport) and then reimport the old state of the table? This sounds like a very bad idea. You are inviting desaster and compromise the consistency of your system.
    Go to http://help.sap.com chose your release and enter the search term brspace to find out
    supported ways to reorganize a table.
    Regards,
    Mark

Maybe you are looking for

  • External Hard Drive and Time Machine questions

    Hello, I am new here to the forums and I have looked all over for the answers to two questions that I have regarding external hard drives and the time machine feature. For some background, I recently had a scare (water spill but luckily I had a keybo

  • AMENDMENT NUMBERS WHILE PRINTING OF PURCHASE ORDER.

    Hi Gurus, After Releasing the Purchase Orders, some times wee need to  change the Purchase Order line items or Purchase Order Text and we take the Print out of the Purchase Order.  For such Purchase Orders we want the Amendment Number at the Header L

  • *URGENT* Firmware Problem On Zen To

    Hey, Ok so i was updating my firmware using the latest and legit download from your website when an error occured. Now whenever i boot up my ZEN TOUCH i get "Firmware Problem" and it goes into recovery mode. I have tried updating on 2 different compu

  • OCP 8 to OCP 11g

    Hi All, I have just planned to upgrade my oracle certification. Currently i am OCP 8.0. Couple of Questions 1). Is there any direct upgrade exams for OCP 8.0 to 11g? 2). what learning upgrade path do u suggest for me and why? 3). Is there any possibi

  • HELP!a class item in BOMs for select mat. components in a configurable GMTL

    Hello SAP colleague, Does anyone of you know what be used as a class item in BOMs for PM? 1. I create a class as the components in a configurable bill of material of the category Assembly 2. I create Configurable General Maintenance Task List and ass