OWB OMB Plus scripting

Hi all
Can You help me , I'm finding some documentation about scripting in OWB Plus.
Thank You Brano

http://www.oracle.com/technology/products/warehouse/index.html
Please use the OWB forum for future questions on OWB.
Warehouse Builder

Similar Messages

  • OMB Plus Script for creating a project

    Hi,
    I am totally new to this OMB Plus.
    Ok. My concern over here is we have been working on some new Mappings. However now for the testing purpose these Maps would be deployed on some other schema with pure Deployment process.
    So i found that while importing the Maps it encountered me an error, the reason was that it was trying to find a project which doesnot exists as its new Source. Ideally importing the Mpas would have created the project automatically but it gave me error.
    Now, to overcome this i thought why not use the OMB Plus script in order to overcome this issue. So i want to creat a .tcl script which will run and will create a project and then once created i may able to import the maps or the complete project without any error.
    So could you please help me with some commands, because on the internet nowhere is mentioned how to create a project or to import a non-existing project.
    Please Help!!!!

    Hi Experts,
    I tried the above link it is really usefull.
    However, when i execute the below statement i m getting an error at the step 2.
    Step1:
    OMBCONNECT <USER_NAME>/<PASSWORD>@<HOST NAME>:<PORT NO>:<SERVICE NAME>
    Step2:
    OMBCREATE PROJECT 'CPP_CPEPLUS'
    Error: oracle.wh.repos.sdk.exceptions.WBException: OWB_NS_FATAL_ERROR100ORA-01403: no data found
    PS: I successfully connected the Step1.
    Please Help!!!!
    Regards,
    BB

  • OMB Plus Scripts

    Hi all,
    I am a newbie to OWB.I have some trouble in doing OMBCC MAPPING_NAME command.
    This is the exact thing which i got.
    OMB*Plus: Release 11.1.0.6.0
    Copyright (c) 2000, 2007, Oracle. All rights reserved.
    OMB+> OMBCONNECT rep_owner/[email protected]:1521:erepos USE WORKSPACE 'DE
    V_WORKSPACE'
    Connected.
    OMB+> OMBLIST PROJECTS
    DWH_EREPOS EREPOS MARC_EREPOS MY_PROJECT PUBLIC_PROJECT STG_TO_PROSPECT_CONTACT
    OMB+> OMBCC 'DWH_EREPOS'
    Context changed.
    OMB+> OMBLIST ORACLE_MODULES
    DWH_PROSPECT DWH_PROSPECT_STG STG_TO_PROSPECT
    OMB+> OMBCC 'DWH_PROSPECT_STG'
    Context changed.
    OMB+> OMBLIST MAPPINGS
    M_API M_BTCUSTPREFERRED_STG M_DNCHANGE_REQUEST M_INPUT_FEEDFILE_NAD M_SRC_MOVE_F
    ILE_BAT M_STG_CONSENT_CRF M_STG_CONTACT_CRF_V2 M_STG_CONTACT_CRF_V_SHOW_TELL
    OMB+> OMBCC 'M_API'
    OMB01051: Path M_API must include a folder as the last step.
    Could anyone tell me where i went wrong....
    Thank you...

    Hi
    OMBCC is only for folder objects (such ad projects and modules), mappings are not folders. If you want to get mapping details you can use OMBRETRIEVE MAPPING command.
    For example;
    OMBRETRIEVE MAPPING 'M_API' GET TABLE OPERATORS
    See doc for more details;
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e14406/chap19015.htm#FFHHAEHC
    Cheers
    David

  • Oracle warehouse builder 10g r2 .  omb plus scripting

    Hi all,
    im new to this forum,can anybody help me how to learn omb scripting n also expert in owb. help me. will be available 24/7.

    Oracle Warehouse Builder Training
    http://www.oracle.com/technology/products/warehouse/htdocs/OTN_Training.html
    OWB10g R1 tutorial:
    http://www.oracle.com/technology/obe/obe_bi/Lesson14_Extending_OWB_through_Scripting/Extending_OWB_through_Scripting.htm
    OWB10g R2 tutorial (developing Experts):
    http://www.oracle.com/technology/obe/10gr2_owb/10gr2_owb_extend/extensibility/extensibility.htm
    OWB11g R1 tutorial (developing Experts):
    http://www.oracle.com/technology/obe/11gr1_owb/owb11g_update_extend_knowledge/less6_experts/less6_experts.htm
    TCL Tutorial:
    http://www.tcl.tk/man/tcl8.5/tutorial/tcltutorial.html
    http://en.wikipedia.org/wiki/Tcl
    OWB documentation:
    OWB9i (Scripting guide):
    http://download.oracle.com/docs/html/B12187_02/toc.htm
    OWB10g R1 (Scripting reference):
    http://download.oracle.com/docs/cd/E10926_01/doc/owb.101/b12152/toc.htm
    OWB10g R2 (Scripting reference):
    http://download.oracle.com/docs/cd/B31080_01/doc/owb.102/b28225/toc.htm

  • Automation using OWB OMB Plus Scipt

    Hi Everyone,
    I am trying to automate the configuration of Maps using OMB Script. However the below TCL script runs however I am trying to add some more Validation like while it should trim spaces while accepting the map names, i should be able to match the test like it was possible using substr() trim(), concatenate any text. I searched everywhere how was unable to do so. Please help.
    #=====================================================================
    # Developers Name     : Ravindra Remje
    # Script Name          : owb_auto_review.tcl
    # Purpose of Scripts     : Displays the current configured properties on OWB Maps
    # Scripting Language     : OMB scripts
    # Date          : 17th September 2010
    #=====================================================================
    puts " Connecting to repository... "
    OMBCONNECT OWB_ABC_123/OWB_ABC_123@localhost:1521:HOME
    puts " Connecting to project..."
    OMBCC '/ABC_ABC'
    puts " Connecting to target module..."
    OMBCC 'ABC_TGT_MOD'
    puts "Current Context [OMBDCC] "
    puts "**********YOUR CURRENT CONTEXT IS AN ORACLE TARGET MODULE*************"
    puts ""
    set i 1
    set OMBCONTINUE_ON_ERRORR TRUE
    # create the log file and display OMB commands and its results in file.
    # set OMBLOG D:/review.log
    # create the file and writes the output of screen into the file.
    set fname [ open "d:/review_file.log" w]
    foreach map [OMBLIST MAPPINGS] {
         if { $i > 0 } {
         if {$map == "ABC_W_ADDRESS_D" ||
              $map == "ABC_USER_D"} {
    puts $fname "REVIEW ON MAP $i : $map"
         puts $fname ""
         # HINTS
         foreach tab [OMBRETRIEVE MAPPING '$map' GET TABLE OPERATORS] {
         puts $fname "TABLE: $tab "
         set var21 [OMBRETRIEVE MAPPING '$map' OPERATOR '$tab' GET PROPERTIES(LOADING_HINT)];
         puts $fname " Loading hint                :     $var21 "
         set var22 [OMBRETRIEVE MAPPING '$map' OPERATOR '$tab' GET PROPERTIES(EXTRACTION_HINT)];
         puts $fname " Extraction hint          :     $var22 "
         # puts $fname "====================================================================="
         puts $fname ""
                                            # foreach tab ends
         # MAIN PROPERTIES
         set var1 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(DEPLOYABLE)];
         puts $fname " Deployable               :     $var1 "
         set var2 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(STEP_TYPE)];
         puts $fname " Step Type               :     $var2 "
         # RUNTIME PARAMETERS
         set var3 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(DEFAULT_OPERATING_MODE)];
         puts $fname " Default Operating Mode          :     $var3 "
         set var4 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(BULK_SIZE)];
         puts $fname " Bulk Size                    :     $var4 "
         set var5 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(DEFAULT_AUDIT_LEVEL)];
         puts $fname " Default Audit Level          :     $var5 "
         set var6 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(MAXIMUM_NUMBER_OF_ERRORS)];
         puts $fname " Maximum number of errors          :     $var6 "
         set var7 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(COMMIT_FREQUENCY)];
         puts $fname " Commit Frequency               :     $var7 "
         set var8 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(DEFAULT_PURGE_GROUP)];
         puts $fname " Default Purge Group          :     $var8 "
         set var9 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(ANALYZE_TABLE_SAMPLE_PERCENTAGE)];
         puts $fname " Analyze table sample percentage     :     $var9 "
         set var10 [OMBRETRIEVE MAPPING '$map' GET PROPERTIES(MAXIMUM_NUMBER_OF_ERRORS)];
         puts $fname " Maximum number of errors          :     $var10 "
         # CODE GENERATION OPTION
         set var11 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(BULK_PROCESSING_CODE)];
         puts $fname " Bulk processing code          :     $var11 "
         set var12 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(PARALLEL_ROW_CODE)];
         puts $fname " Parallel row code               :     $var12 "
         set var13 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(ANALYZE_TABLE_STATEMENTS)];
         puts $fname " Analyze table statements          :     $var13 "
         set var14 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(OPTIMIZED_CODE)];
         puts $fname " Optimized code               :     $var14 "
         set var15 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(CORRELATED_COMMIT)];
         puts $fname " Correlated commit               :     $var15 "
         set var16 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(NO_COMMIT)];
         puts $fname " No commit                    :     $var16 "
         # set var17 [OMBRETRIEVE MAPPING 'ABC_USER_D' GET PROPERTIES(ERROR_TRIGGER)]; (Property ERROR_TRIGGER of ABC_USER_D does not exist)
         # puts $fname " Error trigger               :     $var17 "
         puts $fname ""
         puts $fname "====================================================================="
                             # if {$map...} ends
                   # if { $i > 0 } ends
         incr i
         # foreach map ends
    close $fname
    puts "Disconnecting from the repository..."
    OMBDISC

    Thank you Oleg for your reply.
    Well this thing did work, however there are some special characters being entered. For example if there are few spaces in my output it will replace it with some special character in my output file in place of that spaces; like it will create a small box like icon.
    Now what i am trying to get the output in an .xls or .csv. If you look into the code i am appending everything i require line by line in my output file. So my question is that is it possible to put everything in the same format which is possible in .txt file output.
    Regards,
    Ravi

  • How to stop a scheduled job using OMB*Plus ?

    Hello everyone,
    I use a OMB*Plus script to deploy a project in various environments. This includes scheduled jobs.
    In this context, I need to stop the schedules of the previous versions to avoid a script crash.
    I found the OMBSTOP command thad could do, but I need to retrieve the job ID of the schedule I want to stop. And I don't know how to get the Job ID.
    I could get it from a previous launch and save it somewhere, but it wouldn't work if the schedule was manually stopped and restarted. Maybe is there a command that lists the running / scheduled jobs and their IDs? I didn't find it.
    Thanks in advance for your help.
    Cedric.

    Frankly, I cannot see where this is available via pure OMB+, however you could back-door it if if you can figure out how to get these values from the public views (I would guess from the "Scheduling Views" section at http://download-east.oracle.com/docs/cd/B31080_01/doc/owb.102/b28225/toc.htm).
    Then you could use my SQL library from OMB+ to get these values and stop the schedules before deploying. you can save this file as omb_sql_library.tcl and then just "source /path/to/omb_sql_library.tcl in your own script to make the functions available in your script.
    {code}
    package require java
    # PVCS Version Information
    #/* $Workfile: omb_sql_library.tcl $ $Revision: 1.0 $ */
    #/* $Author: $
    #/* $Date: 03 Apr 2008 13:43:34 $ */
    proc oracleConnect { serverName databaseName portNumber username password } {
    # import required classes
    java::import java.sql.Connection
    java::import java.sql.DriverManager
    java::import java.sql.ResultSet
    java::import java.sql.SQLWarning
    java::import java.sql.Statement
    java::import java.sql.CallableStatement
    java::import java.sql.ResultSetMetaData
    java::import java.sql.DatabaseMetaData
    java::import java.sql.Types
    java::import oracle.jdbc.OracleDatabaseMetaData
    # load database driver .
    java::call Class forName oracle.jdbc.OracleDriver
    # set the connection url.
    append url jdbc:oracle:thin
    append url :
    append url $username
    append url /
    append url $password
    append url "@"
    append url $serverName
    append url :
    append url $portNumber
    append url :
    append url $databaseName
    set oraConnection [ java::call DriverManager getConnection $url ]
    set oraDatabaseMetaData [ $oraConnection getMetaData ]
    set oraDatabaseVersion [ $oraDatabaseMetaData getDatabaseProductVersion ]
    puts "Connected to: $url"
    puts "$oraDatabaseVersion"
    return $oraConnection
    proc oracleDisconnect { oraConnect } {
    $oraConnect close
    proc oraJDBCType { oraType } {
    #translation of JDBC types as defined in XOPEN interface
    set rv "NUMBER"
    switch $oraType {
    "0" {set rv "NULL"}
    "1" {set rv "CHAR"}
    "2" {set rv "NUMBER"}
    "3" {set rv "DECIMAL"}
    "4" {set rv "INTEGER"}
    "5" {set rv "SMALLINT"}
    "6" {set rv "FLOAT"}
    "7" {set rv "REAL"}
    "8" {set rv "DOUBLE"}
    "12" {set rv "VARCHAR"}
    "16" {set rv "BOOLEAN"}
    "91" {set rv "DATE"}
    "92" {set rv "TIME"}
    "93" {set rv "TIMESTAMP"}
    default {set rv "OBJECT"}
    return $rv
    proc oracleQuery { oraConnect oraQuery } {
    set oraStatement [ $oraConnect createStatement ]
    set oraResults [ $oraStatement executeQuery $oraQuery ]
    # The following metadata dump is not required, but will be a helpfull sort of thing
    # if ever want to really build an abstraction layer
    set oraResultsMetaData [ $oraResults getMetaData ]
    set columnCount [ $oraResultsMetaData getColumnCount ]
    set i 1
    #puts "ResultSet Metadata:"
    while { $i <= $columnCount} {
    set fname [ $oraResultsMetaData getColumnName $i]
    set ftype [oraJDBCType [ $oraResultsMetaData getColumnType $i]]
    #puts "Output Field $i Name: $fname Type: $ftype"
    incr i
    # end of metadata dump
    return $oraResults
    # SAMPLE CODE to run a quick query and dump the results. #
    #set oraConn [ oracleConnect myserver orcl 1555 scott tiger ]
    #set oraRs [ oracleQuery $oraConn "select name, count(*) numlines from user_source group by name" ]
    #for each row in the result set
    #while {[$oraRs next]} {
    #grab the field values
    # set procName [$oraRs getString name]
    # set procCount [$oraRs getInt numlines]
    # puts "Program unit $procName comprises $procCount lines"
    #$oraRs close
    #oracleDisconnect $oraConn
    {code}
    So you would want to connect to the control center, query for scheduled jobs, stop them, and then continue on with your deployment. I assume that you also need to pause and check that an scheduled job in mid-run has time to exit before moving ahead. You could do a sleep loop querying against system tables looking for active sessions running mappings and waiting until they are all done or something if you really want to bulletproof the process.
    Hope this helps,
    Mike

  • Oerr facility for OMB Plus errors

    oerr facility for OMB scirpting errors
    Hello,
    is there a facility to troubleshoot errors encountered running OWB scripts ?
    My below command failed with MMM1034 error :
    OMBCREATE ORACLE_MODULE 'SRAV_MODULE' \
    SET PROPERTIES (DESCRIPTION, BUSINESS_PROPERTIES) VALUES \
    ('Target Module for testing relational objects' , 'Rel_Objects')
    MMM1034: Property BUSINESS_PROPERTIES does not exist.
    ===========
    Now, how do I troubleshoot this error? Is there a document with all the errors listing of MMM.
    I tried 'oerr MMM 1034' but it complained with "unknown facility" error.
    I did not find anything in the OWB scripting doc. What other documents can I refer to learn more about OMB plus scripting ?

    Patrick,
    thanks for your response.
    Yes, that fixed it. Is there any kind of reference book for all error listings and their fixes ? The scripting reference do not mention anything about error messages.
    Now, this is my new problem. The 1st script is fine, creates the table with 1 column. When I extend the script to create 2 columns, it complains.
    =====
    OMBCREATE TABLE 'SRAV_TBL_CHILD' \
    SET PROPERTIES (DESCRIPTION) VALUES \
    ('This table connects to TBL_PARENT') \
    ADD COLUMN 'ID1' \
    SET PROPERTIES (DATATYPE) VALUES ('NUMBER')
    =====
    OMBCREATE TABLE 'SRAV_TBL_CHILD' \
    SET PROPERTIES (DESCRIPTION) VALUES \
    ('This table connects to TBL_PARENT') \
    ADD COLUMN 'ID1' \
    SET PROPERTIES (DATATYPE) VALUES ('NUMBER') \
    ADD COLUMN 'COL2' \
    SET PROPERTIES (DATATYPE , NOT_NULL, DESCRIPTION) VALUES \
    ('NUMBER',1,'COL2 is the second col of PK')
    ======
    OMB00001: Encountered <EOF> at line: 1, column: 250. Was expecting one of: "("
    What am I missing ? When it says, column 250 - is it the 250th character of the complete script, as it seems there is no 2nd line in the scripting - everything in the sccript is in 1 line. Is there a way we can break the line into many, so debugging becomes easy. Instead of saying Line 1 column 250 - it would be better if it says line 4 column 10.
    Please advice.
    Thanks
    Sravan

  • OMS Plus script needed to change target table load hint

    Greetings
    Environment:
    Metadata Repository - 10.1.0.4 currently but going to 10.2.0.3 soon running client on Windows XP Pro and repository on AIX 5.3
    I need an OMB Plus script to find all the maps where the target table(s) have a Loading Type of either INSERT/UPDATE or UPDATE/INSERT and I want to remove the APPEND loading hint.
    I have suffered with attempts at using OMB Plus long enough.
    Also, is there a way in either 10.1 or 10.2 to set the default action of that attribute to NOT include the APPEND hint?
    Thanks very much in advance.
    -gary

    Hi Gary,
    you can get loading type with command
    OMBRETRIEVE MAPPING 'MAP_NAME' OPERATOR 'TABLE_OP' GET PROPERTIES (LOADING_TYPE)
    and loading hint with command
    OMBRETRIEVE MAPPING 'MAP_NAME' OPERATOR 'TABLE_OP' GET PROPERTIES (LOADING_HINT)
    In this thread you can find tcl script for identifying target or source tables/views in mapping
    Re: Q : OMBPLUS, find TARGET TABLE
    Regards,
    Oleg

  • Update the TCL-version used by OWB Scripting OMB Plus

    While implementing scripts under OMB Plus, I need to use/import some already existing TCL-libraries. This libraries need a TCL-version 8.2 or higher. But the TCL-version installed with the OracleWarehouseBuilder is 8.0.
    How can I update the TCL-version used by OWB Scripting (OMB Plus)?
    thanks

    Hi
    I would also like to know how to do this as on certain platforms some basic TCL commands don't work when run in scripts so upgrading the TCL version should hopefully fix this.
    Thanks In Advance
    Ian

  • Inserting sql scripts in OWB 10g using OMB PLUS

    Hey burleson, thanks for the reply..
    Infact i am new to OWB and my question can be very silly to you.
    Infact i have 1 source table in OWB named 'SALGRADE' which contains data and i have 1 target table named 'TARGET_SALGRADE' which has the same structure as the source table.
    The script i have run and tested is as such :
    INSERT INTO TARGET_SALGRADE
    (GRADE,
    LOSAL,
    HISAL)
    SELECT
    GRADE,
    LOSAL,
    HISAL
    FROM SCOTT.SALGRADE;
    I have tested it in sqlplus and the update has been done.
    Can you please tell me how do i proceed in OMB PLUS and how do i write the script there??
    Regards,
    Amrish

    You can run SQL scripts using the SQLPLus activity in a process flow.
    But the traditional mechanism to move data in OWB is using mappings. The post below might be interesting if you know SQL to understand how mappings are constructed;
    http://blogs.oracle.com/warehousebuilder/2007/08/sql_and_owb_accelerated_map_co.html
    Cheers
    David

  • Registering OWB-user without Designer and OMB Plus?

    Is there any way, to register an owb-user via sql or PL/SQL?
    Reason: The (customer-)dbas donĀ“t allow to use an OMB Plus/TCL-script or the OWB Designer in the production environment :-(

    Do you want to register a location?
    If that's the case:
    What version of OWB are you on? If you're on versions lower than 10gR2, you could create an extra runtime connection to the production environment in your test or acceptance environment, register the production locations from the deployment manager and deploy the connectors.
    I don't know how to do this in 10gR2
    Good luck in fooling the DBA's ;-)

  • OWB PRO out there : is it possible SQL to execute OMB*PLUS from Database ?

    Hi,
    With 11g out : is there any expert who sucessfully integrate pl/sql routine to call OMB. Here's the point : You have an APEX application and you design your stuff and at one point you wish you just have to press a button and generate a first draft of your design in the OWB repository, and then developpers can have a frame to start designing from your perspective.
    Also, imagine you have an APEX form to approve the testing of a design or process flow or both, and when you press the i approve button, you get call an OMB*Plus routine that do all the export->import reconcile and deploy thing!
    I don't think i'm alone to need this kind of stuff. So since OWB is Java, and Oracle database speek Java : is it possible to think of a quick solution ?
    Thank you all.
    Message was edited by:
    bpaquet

    Hi bpaquet,
    As you know OMB+ is TCL extension, and as i know OMB is not integrated into RDBMS.
    I think, there can be several solutions.
    1. Execute shell scripts from db using dbms_pipe package.
    2. Execute shell scripts using some java external procedure.
    3. Create some OS scheduled job (crontab), which will check some values in DB and execute OMB scripts.
    Regards

  • Problem using OMB*Plus

    Hello,
    I'm getting this error when trying to connect to design repository via OMB*Plus:
    "OMB01118: Could not connect to repository! PRS-00306: Internal Error: Could not undo reservation for client .
    Please contact Oracle Support with the stack trace and details on how to reproduce it."
    Here's the interesting part:\
    1) I CAN connect to the same repos. from OWB client AND
    2) I can connect to this repository from a different box using OMB*PLus.
    Further, OMB*PLus itself on the box in question is not screwed up, as I can connect to repos. on other boxes!
    What could the problem be?
    Thanks in advance,
    Alex.

    I went further with investigating my scripting problem:
    OMBCONNECT OWBRT92USER/[email protected]:1521:EDW USE REPOSITORY 'OWBRT92' USE MULTIPLE_USER_MODE
    OMB01118: Could not connect to repository! Database connection error!
    So I tried to alter pieces of my connect statement:
    OMBCONNECT OWBRT92USER/[email protected]:1521:wrong USE REPOSITORY 'OWBRT92' USE MULTIPLE_USER_MODE
    API0420: Error message: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNN
    UM=153092608)(ERR=12514)(ERROR_STACK=(ERROR=(CODE=12514)(EMFI=4))))
    API0424: Please check if the the Oracle Service Name is correct.
    Obviously, connect string to database is OK !
    OMBCONNECT OWBRT92USER/[email protected]:1521:EDW USE REPOSITORY 'OWBRT92' USE MULTIPLE_USER_MODE
    API0420: Error message: ORA-01017: invalid username/password; logon denied
    And obviously, repository user is well identified !
    Since I tried using either 'SINGLE_USER_MODE', 'MULTIPLE_USER_MODE' and nothing and it brings the very laconic same OMB01118 message, I guess it has to deal with "use repository clause
    I tried to alter it to see what happens:
    OMBCONNECT OWBRT92USER/[email protected]:1521:EDW USE REPOSITORY 'WRONG' USE MULTIPLE_USER_MODE
    ...but it brings the very same OMB01118 message.
    Now I tried to connect to development repository:
    OMBCONNECT OWBDEV92/[email protected]:1521:EDW USE REPOSITORY 'OWBDEV92' USE MULTIPLE_USER_MODE
    Connected.
    Well, cool, 'means I can connect to devt. repository but I want to deploy to runtime and if I usE:
    OMBDEPLOY SPECIFICATION FROM C:\TEMP\deploytest.xml
    it yields:
    OMB05608: Connection to Runtime Platform has not been made.
    Well, what can I do ?
    Documentation B12187_02_Warehouse Builder Scripting Reference.pdf (chap. 2-12, page 48) mentions a OMBCONNECT_RUNTIME command that does not exist and the example is a strict copy of OMBCONNECT (even the example does not use OMBCONNECT_RUNTIME)
    OMB+> OWMBCONNECT_RUNTIME
    invalid command name "OWMBCONNECT_RUNTIME"
    I'm really stuck.
    Does anyone else connect to a runtime repository to deploy from a xml file ?
    Thanks

  • Execute process flow with OMB*Plus

    Hello,
    somebody know how to execute a process flow designed with OWB 9.0.4.8.21 within OMB*Plus?
    Thanks,
    Pedro

    Currently it is not possible to execute Process Flows or Mappings from OMB. OMB is to be used mostly as a metadata manipulation and processing platform, not for run-time management.
    What you could do is to put OMB metadata operation commands and runtime execution commands one after the other in a shell script and then run everything from this shell script (if this is what you are trying to do).
    Regards:
    Igor

  • 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'

Maybe you are looking for

  • Unable to take recovery to end of the log

    I got the below error. When i am trying to take recovery of a database to end of the log.(i.e, without taking the tail log backup). I am posting the details of that error also here. Microsoft .Net framework error Unhandled exception has occurred in a

  • Mac won't go past the white screen and apple logo

    My one year old mac won't turn on, it comes up with the white screen with the apple logo, after a few seconds a loading bar comes up and after it finishes loading the mac just turns off. When I turn it back on it just does the same thing. I tried res

  • Off topic question  - Apple ID profile

    I don't know where else to post this. I just spent an hour looking around Apple.com trying to find a place to log in so I could update my email address. I never did find a place to do it until I went to the forums. There, I logged in so I could creat

  • Payment file stucture GEMINI for Czech Rep

    I received from a bank in Czech Rep a format for local payments that is not the same as the structure GEMINI that SAP delevered. Is GEMINI the standard sruture for Czech Rep and should all bank accept this? In that case we have to develop a new struc

  • Audio book - DVD

    Hi All I am creating an audio book as dvd. Client likes to put the text of the book no syncing with the audio is required. Each page text is converted as an image. The user has the option to manually jump from one image to the another. While user is