OWB Paris and OMB Scripting

Will my OMB and tcl scripts written in OWB 10g (for metadata management and deployment to production) upgradable when I go to next version of OWB code named 'Paris'?
Thanks and Regards,
Ayaz.

Hi Maurice. It seems like Oracle is trying to reduce number of licenses with the OLAP option, since it should be possible to have both OLTP and OLAP systems in the very same instance.
In the other hand, Oracle seems to want more money for "advanced ETL options", such as scheduling, metadata management, bla bla bla...
But those "advanced" functions seems to me as something every ETL tool should provide. For free...

Similar Messages

  • Creating Configuration in OWB 11gR2 using OMB+ Scripts

    Hi All,
    Please help how to create a configuration pointing to another OWB Repository using OMB+ scripts.Also how to change the Active Deployment Location for a module using OMB+ Script.

    Hi
    Here is how you can add a new location to a module and set its configuration setting to this location (ADC);
    OMBALTER ORACLE_MODULE 'TGT_MOD' ADD REF LOCATION 'ADC'
    OMBALTER ORACLE_MODULE 'TGT_MOD' SET PROPERTIES (DB_LOCATION) VALUES ('ADC')
    http://download.oracle.com/docs/cd/E11882_01/owb.112/e14406/chap3015.htm#DADFHBGE
    Not sure if this is what you are after? To create a new configuration pointing to your own control center;
    OMBCREATE CONTROL_CENTER 'MYCC' SET PROPERTIES ( etc...
    OMBCREATE CONFIGURATION 'MYCONFIG'
    OMBCC 'MYCONFIG'
    OMBCREATE DEPLOYMENT 'MYCONFIGDEPLOY' SET REF CONTROL_CENTER 'MYCC'
    Cheers
    David

  • Reverse owb objects to omb script

    Hi all,
    Has anyone ever developed something like that? I was thinking of developing an expert that could help me revert mappings and process flows into omb scripts so i can easily do new developments that most of the time just need to use a different table as source or something like that...
    If someone has already done that and would like to share it that would be great.
    Best regards,
    Bruno

    One thing to bear in mind is that while it is POSSIBLE to write a script to parse each object, figure out all of the dependencies, and generate a script that would recreate that object, there is one significant aspect which would be lacking.
    Geometry.
    There is no way via OMB to specify object location, so when you open your newly created mapping all of the canvas objects will be neatly stacked one atop the other in the center of the canvas.
    Not a huge deal to drag them all around and make the mapping readable, but still something you will need to do.
    That or you need to write in the SQL code to copy out the existing geometry, and then update it back after rebuilding using SQL calls, but this is entirely unsupported - especially if you were trying to work across OWB versions.
    Cheers,
    Mike

  • Calling oracle function in OMB script

    Hi
    Can anyone please tell me how can i get the returned value of an oracle function in OMB script. or how can i get the value into OMB variable and use it.
    Basically i want to set the properties of OWB mapping via OMB script.
    Following OMB code sets the max error limit of a mapping.
    OMBALTER MAPPING 'MAP_DATA' SET PROPERTIES (MAXIMUM_NUMBER_OF_ERRORS) VALUES ('100')
    i dont want to hard code the value 100 rather i want this value to be returned from a function.
    If it is not possible then plz tell me how can i set MAXIMUM_NUMBER_OF_ERRORS property of OWB mapping via sql or pl/sql.
    Any type of clue will be highly appreciated.
    Best Regards

    Here is my bare-bones OMB SQL Library to allow you to do pure SQL calls from within OMB+. All I have ever used it for is to run queries, so I don't have a library procedure for calling a function, however if your function is SQL-callable (e.g. select my_func() from dual) then it would work. Either that or you'll want to augment this library to build a procedure that will call and return the results from a java preparedStatement. It's something I've been meaning to do, but haven't got around to it yet.
    All you should need to do is save this as it's own tcl file and then source it at the top of your own script, or embed it into your script.
    EDIT: Here is a page with some sample code on using java.sql.CallableStatement to call a Pl/SQL procedure from Java which should certainly do the trick for you in conjunction with the basic session control in my library.
    http://www.exampledepot.com/egs/java.sql/CallProcedure.html
    Cheers,
    Mike
    package require java
    #file omb_sql_library.tcl
    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 $oraConnEdited by: zeppo on Nov 25, 2008 7:19 AM

  • Creating dimension in OMB script with only 1 level and no hierarchy

    Hi all,
    I have created some dimensions in the OWB client, that map straight 1-on-1 to a table. Those dimensions have only 1 level 'TOTAL' and no hierarchies.
    I am trying to create those dimensions using an OMB script, but it seems that when I bind the dimension level to a table, it =expects= me also to bind hierarchy levels to the table! However I have (dont want/need) a hierarchy?!
    The error message is:
    OMB00001: Encountered DIMENSION_KEY at line: 1, column: 2309. Was expecting one of: <EOF>
    The OMB code I have is:
    IMPLEMENTED BY SYSTEM STAR \
    DIMENSION_KEY BOUND TO COLUMN 'DIM_CAUSE_KEY' \
    LEVEL 'TOTAL' BOUND TO TABLE 'DIM_CAUSE' \
    LEVEL_ATTRIBUTE 'DIM_CAUSE_KEY' OF LEVEL 'TOTAL' BOUND TO COLUMN 'DIM_CAUSE_KEY' \
    LEVEL_ATTRIBUTE ...
    LEVEL_ATTRIBUTE ...
    After the LEVEL_ATTRIBUTEs the statement ends, so I say nothing about any hierarchies.
    If anybody could give me a hint, that would be much appreciated!!
    Ed

    It is finally solved...
    The keyword "SYSTEM" in "IMPLEMENTED BY SYSTEM STAR" shoudn't be there...
    Unfortunately I was overlooking that in the oh-so-clear syntax diagram in the OWB API and Scripting Reference..... )-;
    Let's move on.
    Cheers,
    Ed

  • OMB script to remove DBLink and Schema configuration from mapping

    In OWB903 we have used prefixes for most of our tables used in mappings. (By right clicking on the mapping, choosing configure and then setting the Schema/DB Link for each table under "Sources and Targets")
    We are now in the process of upgrading to OWB 904, and because of the way OWB 904 handles locations we would like to remove the prefixes from the mapping configurations. Our project consists of 100+ mappings, so it would be nice if it was possible to do this by runing a OMB script.
    I would appreciate it very much if anybody can come up with an example of how to do this.

    Roald,
    Here is an example of a OMB script that renames all the tables in a project (to run a script, you have to open the OMBPlus application and enter 'source <filename>' on the prompt, where filename is the name of the file containing the script):
    # rename.tcl
    # Renames the names of tables, mappings, cubes and dimension for a project.
    # Prefixes the names with 'WH_'
    # Please update the connection information here.
    # The connect string format is repository_user/repository_pwd@hostname:port:service_name
    # Connecting to the repository:
    OMBCONNECT owb904/owb904@localhost:1521:ora9201
    puts "Connected to repository."
    # Setting the project and prefix variables (set project name here):
    set MProject MY_PROJECT
    set wh WH_
    #Open the project
    # Entering into the Project (CC = Changing Context):
    OMBCC '$MProject'
    set module_list [OMBLIST ORACLE_MODULES]
    # Loop to enter into each project module:
         foreach i in {$module_list}{
              puts "Working on module: $module_list ."
              OMBCC '$module_list'
              set table_list [OMBLIST TABLES]
    # Loop to prefix the name of each table in the current module:
                   foreach j in {$table_list}{
                        puts "     Working on table: $table_list ."
                        OMBALTER TABLE '$j'
                             RENAME TO '$wh$j'
    puts "Done."
    # Saving the changes:
    OMBCOMMIT
    # Disconnecting from the repository:
    OMBDISCONNECT
    As you know, OMBPlus is based on the TCL scripting language. For more info on TCL, take a look at:
    http://www.scriptics.com
    Also, for more info on the OWB specific commands, take a look at the Users guide.
    Regards:
    Igor

  • Error while listing tables using OMB script

    Hi All,
    I'm just trying to list certain tables in OWB that contain a specific column but the following script I wrote is not working:
    foreach tablename [OMBLIST TABLE TMP*] {
    set columnlist [OMBRETRIEVE TABLE '$tablename' GET COLUMNS];
    if {[lsearch $columnlist 'ID'] != -1} {
    puts "Table: $tablename";
    It returns the next error message:
    OMB01036: Object type must be plural.
    I've been searching for any documentation about this error but haven't found anything.
    Any help would be highly appreciated as I'm starting to learn about OMB scripts.
    Regards,
    Mauricio

    I tried that before and I got this error:
    OMB00001: Encountered TMP* at line:1 column:16. Was expecting one of: <EOF> <QUOTED_STRING>...
    It is strange because I wrote the code based on oracle documentation examples (Introduction to OMB Plus).
    I also tried removing the "TMP*" just to see if that worked, even though I only want to check for tables which name start with TMP, and at least it doesn't return any error but It doesn't list any table either (and I'm pretty sure there are tables that satisfy the conditions). The script right now is:
    foreach tablename [OMBLIST TABLES] {
    set columnlist [OMBRETRIEVE TABLE '$tablename' GET COLUMNS];
    if {[lsearch $columnlist 'ID'] != -1} {
    puts "Table: $tablename";
    I guess the solution must be simple but I can't see it. Any help?

  • Deploying mappings by changing Source/production system using OMB Scripting

    Hi Mark,
    I am now trying to deploy my mappings from DEVELOPMENT environment to PRODUCTION environment.
    Now my mappings are point to DEVELOPMENT Source System and DEVELOPMENT target system. When I deploy these mappings should point to PRODUCTION Source System and PRODUCTION target System.
    I could get some help from the forum for deploying the mappings point to PRODUCTION target system, but I couldnt find any help how to change the Source System Location. I have exported all my mappings (.xml files) in the C:\OWBDeploy directory.
    How do we register and unregister a location using OMB Scripting?
    How to write a batch deployment action without using deployment manager?
    Provide a example to deploy the mappings using OMB script
    for both source and target systems locations.
    I am using Oracle 9.2, OWB 9.2.0.2.8, OWF 2.6 and OMB 9.2.0.2.8.
    Regards,
    Shreedhar

    Below script will deploy all the mappings in a module. It can be used with filter condition like mappings which start with ‘M_D’ or ‘M_F’ also. Above script will deploy mappings very effectively comparing with GUI. Frequent problem in OWB mapping execution ‘ TASK not found’ error will not occur, if we deploy the mappings using above scripts.
    Steps to Deploy All Mappings in a Module
    Start the OMB PLUS from Command Prompt or Start Menu
    Change the context to the respective Project
    Connect to Design Repository
    Register the Location Properties if the deployment is happening first time in the target schema.
    Change the context to the respective Module
    Use foreach and OWBCREATE command to create a Deployment Plan for Droping if any previous deployment for all mappings
    Use foreach and OWBCREATE command to create a Deployment Plan for Newly Deploying the Mapping
    Use foreach and OWBDEPLOY command to run the Drop Deployment Plan
    Commit
    Use for each and OWBDEPLOY command to run the Create Deployment Plan
    Example
    OMBCONNECT mis_owb904_rep/[email protected]:1521:ulyut03s
    OMBCC '/IGMS_MIS_GEMNCAP_FOC'
    OMBCONNECT RUNTIME 'ST_DWH_RUNTIME_FOC' USE PASSWORD ‘MIS_RT_OWNER’
    OMBREGISTER LOCATION 'ST_LOC_CURRENTMISTARGET_FOC' SET PROPERTIES (Host, Port, Service, Schema, Password) \
    VALUES ('10.202.148.176', 1521, 'ULYUT01M','MIS_OWNER', 'MANAGER')
    OMBCC '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET'
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.DROP' ADD ACTION '$mappingname.DROP' \
    SET PROPERTIES (OPERATION) VALUES ('DROP') SET REFERENCE MAPPING \
    '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.DROP'
    OMBCOMMIT;}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBCREATE TRANSIENT DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE' ADD ACTION '$mappingname.CREATE' \
    SET PROPERTIES (OPERATION) VALUES ('CREATE') SET REFERENCE MAPPING \
    '/IGMS_MIS_GEMNCAP_FOC/CURRENTMISTARGET/$mappingname';}
    foreach mappingname [OMBLIST MAPPINGS] {
    OMBDEPLOY DEPLOYMENT_ACTION_PLAN '$mappingname.CREATE'
    OMBCOMMIT;}

  • Setting PREFIX for DIMENSION_TABLE using OMB Scripting

    I'm trying all day to find a way to set PREFIX for DIMENSION_TABLE
    using OMB script without success and I'm a little confused now.
    First of all Scripting Reference does not mention about PREFIX
    property so maybe there is no way to achieve what I want. Consequently
    it would mean that GUI interface is "stronger" than OMB Scripting.
    Secondly I don't understand why when I issue following command in OMB
    Plus:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTY_DEFINITIONS
    I get nothing (empty output, no errors) and when I execute:
    OMBDESCRIBE CLASS_DEFINITION 'DIMENSION_TABLE' GET PROPERTIES
    (STEREOTYPE, IS_ABSTRACT, DESCRIPTION)
    I get:
    class false {}
    First result suggests that there are no properties for DIMENSION_TABLE
    and second proves that there are at least three.
    Is there some type/properties inheritance here?
    Can someone explain me this and tell how can I:
    1. find all valid types (I would like to set prefix for LEVEL,
    LEVEL_ATTRIBUTE, etc. too)
    2. find all properties for these types
    regards
    Tomasz Gajewski

    You misunderstood me. I don't want to rename DIMENSION_TABLE. When creating DIMENSION_TABLE with gui I set NAME and PREFIX for each DIMENSION_TABLE and LEVEL.
    PREFIX for level is used later during deploy to distinguish attributes from different levels.
    Example. If I have a level named LEVEL_NAME with prefix LN and an attribute of it named ID than table generated for this contains column LN_ID.
    When I create DIMENSION_TABLE using OMB Script prefix is set same as name (default behaviour that I can't change) and it is to long to use.
    Scripting Reference doesn't mention about PREFIX property. Should I assume that the only way to change these values are through OWB GUI?
    regards
    Tomasz Gajewski

  • OMB Script for deploying

    Hi,
    I'm trying to write an OMB script (9.0.4.8.21) to (re)deploy a project. I'm having trouble with the operation property on OMBALTER DEPLOYMENT_ACTION_PLAN. I'm trying 'RECREATE' or 'REPLACE' but neither of those works. Do I have to code it to explicitly DROP and then CREATE?
    The OMB scripting guide and OMBHELP do not provide much other than the syntax. Is there another resource where I can find more examples and information about the commands and the options available?
    Thanks,
    -Kelly

    Scripting for deployment only supports DROP and CREATE, but not redeploy in OWB 9.0.4. You can do a DROP followed by a CREATE to achieve the same effect as REPLACE. One of our candidate features for OWB's major release in early 2004 is to include support for REPLACE, UPGRADE and EXECUTE.

  • OMB Script - Run a process flow (OMBSTART) with input parameters.

    I have a process flow with one input parameter : PF_SCHEMA_NAME. This is a string, literal value = false.
    While running this from the OWB Control center UI, it prompts for value of parameter.
    I need to execute this process flow using OMB script.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    This gives following error:
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN 'OWF_LOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('ADVIEWPROD')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 668:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 626:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP

    Thanks David for your reply.
    But your suggestion did not work. I am still getting the same error.
    OMBSTART PROCESS_FLOW 'WMREPORT_INCR_DAILY_FCT_SIMP' IN '$OWFLOCATION' OVERRIDE CUSTOM_PARAMETER ('PF_SCHEMA_NAME') VALUES ('"ADVIEWPROD"')
    Starting Execution WMREPORT_INCR_DAILY_FCT_SIMP
    RPE-01003: An infrastructure condition prevented the request from completing.
    RPE-01038: Failed to evaluate expression declare "$LOOP_DETECT$" NUMBER :
    ORA-06550: line 1, column 651:
    PLS-00201: identifier 'ADVIEWPROD' must be declared
    ORA-06550: line 1, column 608:
    PL/SQL: Statement ignored
    Completing Execution WMREPORT_INCR_DAILY_FCT_SIMP
    Can you please help?

  • OMB Script: Need help to spot what's wrong

    I have been trying to find out why the outer foreach loop in the following OMB script (log follows) doesn't go to the next iteration. It just exits after getting the lineage for the first target table (i.e., stderr has nothing). Same behavior against different modules. I am too new to Tcl to know what debugging tool is at my disposal. Any help will be appreciated:
    set OMBLOG c:/temp/Lineage.tcl.log
    # connect to the OWB repository
    OMBCONNECT xxx/xxx@xxx:1521:xxx USE REPOSITORY 'OWB_REP_OWN';
    # change context to the module
    OMBCC 'xxx/xxx/xxx';
    set tableList {}
    set tableList [OMBLIST TABLES '.*_FINAL']
    set i 1
    foreach tableName $tableList {
    set columnList {}
    set columnList [OMBRETRIEVE TABLE '$tableName' GET COLUMNS]
    set j 1
    foreach columnName $columnList {
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE '$tableName' COLUMN '$columnName';
    incr j
    incr i
    OMBDISCONNECT;
    The first few lines on the log are:
    OMBLIST TABLES '.*_FINAL'
    AE_FINAL CM_FINAL CO_FINAL DA_FINAL DM_FINAL DP_FINAL DS_FINAL DV_FINAL EG_FINAL EX_FINAL IE_FINAL LB_FINAL LS_FINAL MH_FINAL ML_FINAL PC_FINAL PE_FINAL PP_FINAL PR_FINAL QS_FINAL RELREC_FINAL RS_FINAL SC_FINAL SG_FINAL SS_FINAL SUPPAE_FINAL SUPPDS_FINAL SUPPMH_FINAL SUPPPE_FINAL SUPPQUAL_FINAL SU_FINAL VS_FINAL
    OMBRETRIEVE TABLE 'AE_FINAL' GET COLUMNS
    STUDYID DOMAIN USUBJID AESEQ AEGRPID AEREFID AESPID AETERM AEMODIFY AEDECOD AECAT AESCAT AEOCCUR AEBODSYS AELOC AESEV AESER AEACN AEACNOTH AEREL AERELNST AEPATT AEOUT AESCAN AESCONG AESDISAB AESDTH AESHOSP AESLIFE AESOD AESMIE AECONTRT AETOXGR AESTDTC AEENDTC AESTDY AEENDY AEDUR AEENRF VISITNUM VISIT OCTA_SEQ
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE 'AE_FINAL' COLUMN 'STUDYID'
    {{COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID} {MAPPING /xxx/xxx_C0402_DEV/AE_FINAL_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_FINAL/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{ATTRIBUTE /xxx/AE_AE_PM/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_C0402_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_C0402_DEV/AE_INTERIM_MAP} {COLUMN /xxx/xxx_C0402_DEV/AE_AE_INTERIM/STUDYID}} {{COLUMN /xxx/xxx_DEV/AE_SOURCE/PROT} {MAPPING /xxx/xxx_DEV/AE_INTERIM_MAP} {ATTRIBUTE /xxx/AE_AE_PM/PROT}}

    I haven't looked in too much detail, but I think you are missing some brackets. You need to close brackets before you increment the loop. Try:
    foreach columnName $columnList {
    OMBLINEAGE DEPENDENCYTYPE 'DATAFLOW' TABLE '$tableName' COLUMN '$columnName';}
    incr j
    You will need to do the same thing at the other points in your script.

  • How to execute OMB scripts from the command prompt of OS

    Hi
    I want to deploy the mapping from one environment to other environment using OMB script language. But I dont want to run the OMB scripts from OMB plus COmmand prompt?
    All I need is , is there any way/scripts to access OMB command prompt from the general command prompt of the OS Machine?
    or Can I call this OMB command from java program but not JDeveloper?
    It would be a great help for me by sharing your knowledge?
    Cheers
    Pradeep

    This way from MS-DOS:
    set ORACLE_HOME=c:\oracle\OWB10gR2 (change to your Oracle Home)
    call C:\oracle\OWB10gR2\owb\bin\win32\OMBPlus.bat C:\...\my_script.tcl > C:\...\my_log.log
    my_script.tcl contains something like this:
    set OMBLOG "c:\\...\\some_kind_of.log"
    # Disconn just in case you have called a previous script
    OMBDISC
    source C:\\...\\script_with_omb_procedures.tcl
    OMBCC my_project
    OMBCONNECT CONTROL_CENTER "USER/PASSWORD@HOST:PORT:SERVICE" USE REPOSITORY 'MY_REPOSITORY_OWNER'
    OMBDCC
    DEFAULT_CONTROL_CENTER MY_CONTROL_CENTER
    proc_from_script_with_omb_procedures
    exit
    Hope this helps you to begin.
    Instead of using script_with_omb_procedures.tcl you can have your procedures directly inside my_script.tcl, but I like using a script apart to reuse my procedures.

  • OWB paris install on 10g rel1 RAC cluster

    We are trying to install OWB paris on our 10.1.0.4 RAC cluster using OCFS. When launching OUI without setting oracle home the OUI prompts to install on both nodes, the install fails because it is trying to use the database oraInventory.
    as below
    Error in invoking target 'isqlldr' of makefile
    '/u01/app/oracle/OraHome_2/rdbms/lib/ins_rdbms.mk'. See
    '/u01/app/oracle/oraInventory/logs/installActions2005-07-11_10-28-24AM.log' for details.
    Metalink suggested the following:
    Note:317510.1
    Create a seperate oraInventory folder and oraInst.loc file for OWB and specify the file oraInst.loc as parameter while invoking the installer.
    Re-install the OWB in a new ORACLE_HOME i.e altogether in a new location and don't install on top of database ORACLE_HOME.
    In addition to new location(ORACLE_HOME), create a new Inventory and inventory location file as follows.
    1. Set the new location for installing OWB like
    export ORACLE_HOME=/u01/app/oracle/product/owb
    ensure that the location /u01/app/oracle/product/ exists.
    2. Create a diectory oraInventory inside the ORACLE_HOME
    3. Create a file oraInst.loc pointing to oraInventory in $ORACLE_HOME by doing:
    echo "inventory_loc=$ORACLE_HOME/oraInventory" > oraInst.loc
    Note: the directory oraInventory and file oraInst.loc will be present under ORACLE_HOME
    4. Invoke the installer by providing the parmater as
    ./runInstaller -invPtrLoc $ORACLE_HOME/oraInst.loc
    When we do this, the OUI does not prompt to install on both nodes.. how can we work around this?, do we have to install owb on each individual node individually?

    Hello.
    I had the same problem as you did. But i managed to install OWB on both nodes with user equvalents set and by slightly modifying the steps from metalink as follows:
    unset ORACLE_HOME (if it is set)
    create owb directory
    create oraInst.loc in owb
    create oraInventory directory in owb
    export ORACLE_HOME=/u01........./owb_1
    ./runInstaller
    (note no command line parameters so it picks up the other node)
    Basically if you specify the oraInst.loc it goes tot he oraInventory direct instead of doing checks (one of which for the cluster)
    Hope this helps.
    Thanks
    Vix

  • OWB R1 and Asynchronous CDC

    Can I use OWB R1 with Oracle's asynchronous Change Data Capture feature to provide a real-time data warehousing solution?

    Hi Davis
    There is a general cookbook on CDC here:
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_cdc_cookbook_0206.pdf
    And a useful OWB/CDC illustration here:
    http://www.rittmanmead.com/2006/04/14/asynchronous-hotlog-distributed-change-data-capture-and-owb-paris/
    The setup is very much administrative and an expert would be very useful to cover the cookbook for OWB and CDC.
    Cheers
    David

Maybe you are looking for

  • How can I execute a  .bat  file from inside a java application

    I have a .bat file which contains an executable file(.exe) and some input and output file names. What commands can I use to execute this bat file from my java application.

  • Deploying weblogic server 9.1 application

    Receiving the following error when deploying a weblogic application. Caused by: weblogic.common.resourcepool.ResourceSystemException: The driver oracle.jdbc.OracleDriver does not accept URL "jdbc:oracle:thin:@hostname:1521:DBSID" Can someone explain

  • Thomson Treasura - replace with Electronic Bank Statement

    Hi All, We are planning to implement EBS in our co and replace an external Software called Thomson treasura. I would like to know what sort of reports are availble through the EBS in SAP. Thomson treasura gives the ability to generate several reports

  • Problem with select queries

    Dear Friends, I have written the below select queries to get the shipment details for a given date range. select vbeln lddat   into table itab   from likp   where lddat in l_r_date2 .   if not it_ldt[] is initial.     select fknum fkpos rebel     int

  • What kinds of graphics do you convert to PDF, and why?

    I work on new ideas for Document Services. Many people convert graphics to PDF, and we'd like to know more. What kinds of graphics do you convert to PDF? And why? Are there features we could add to Create PDF that would be useful to you? Please let u