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

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

  • 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;}

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

  • Set Desname for PDF using Oracle Applications

    We are running Oracle Applications 11i, 8i database on a Unix box and use windows 2000, internet explorer, acrobat 6.0 to run, and view the reports.
    I just finished redesigning a Oracle report to output to PDF instead of printing on a preprinted form.
    The user has requested that the output file (Report) be saved to a specific directory on a server that is on the windows platform.
    The report is being run from the concurrent manager inside of Oracle Applications, which seems to be over writing my desname that is specified in my report (rdf). Our current workaround is that the user opens the file in acrobat and save it to the desired directory, which they have to set manually for each session.
    Is there a way to run a report on UNIX and output the report to a windows directory?
    Thanks in advance...

    There is a better workaround than opening an saving on desktop...I have never tried this but have an idea...that would work 100%.
    The standard configuration of apps 11i is that the output file is placed in $APPLCSF/out and its on the Unix Box...but if u have apps running on NT environemnt then just share the file system of $APPLCSF with the desktop...Pretty simple....
    If apps is running on Unix then u need to install software like Samba on Unix so that the desktop will be able to share the file system of unix on desktop....
    Try it out...
    Best of luck

  • HP 6300 all in one can't set up for wireless use

    can't set up for wireless use

    That is because the printer does not support wireless connectivity to a router.  You can with an optional Bluetooth adapter to one computer wireless.  However since this has an Ethernet connection you can connect it to your router via this or you can use the below information to convert your Ethernet wired printer to wireless.
    Connect wireless printer anywhere, convert from wired, bypass failed radio, add WPA2 security.
    http://h30434.www3.hp.com/t5/Printer-Networking-an​d-Wireless/Connect-your-wireless-printer-when-away​...
    Say thanks by clicking the Kudos Thumbs Up to the right in the post.
    If my post resolved your problem, please mark it as an Accepted Solution ...
    I worked for HP but now I'm retired!

  • Windows 8.1 - How to enable "Require additional authentication at startup" for bitlocker using powershell script?

    I need help to do this using powershell scripts on Windows 8.1?
    OS : Windows 8.1 Enterprise
    TPM Chip : None
    Enabling bitlocker on OS drive with a password at boot time is a 2 step process.
    1) Edit the Group Policy (gpedit.msc) - Administrative Templates -> Windows Components -> BitLocker Drive Encryption -> Operating System Drives ->
    Require additional authentication at startup -> Allow bitlocker without a compatible TPM
    ref : http://www.7tutorials.com/how-enable-bitlocker-without-tpm-chip-windows-7-windows-8
    2) Enable Bitlocker on c driver using manage bitlocker snapin
    I need help to do this using powershell scripts?
    I researched on the forums but ran into an issue.
    I found that Group policy commandlets can be used to do step 1.  
    I am getting the error : "ins have been registered for Windows PowerShell version 4" when I try to do the following in windows 8.1
    Add-PSSnapin GroupPolicy
    Import-Module GroupPolicy -Verbose

    Hi TinkerBotFoo,
    I’m writing to just check in to see if the suggestions were helpful. If you need further help,
    please feel free to reply this post directly so we will be notified to follow it up.
    If you have any feedback on our support, please click here.
    Best Regards
    Anna
    TechNet Community Support
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Setting permissions for scanner use

    Hello,
    My USB scanner is a Canon Lide 35 and it had been working perfectly in arch. After  a recent update (don't know exactly which because do not use scanner so often), the device is detected and device is set in /dev/bus/usb/005/00x. The problem is that the permissions are not set correctly, I assume by udev?, and my normal user cannot use the scanner because the device remains as owned by root.root and not 0664, group=scanner, as specified in the sane udev rules (/etc/udev/rules.d/53-sane.rules). The rules file is with the new syntax, i.e., ATTRS instead of SYSFS and so forth. My user belongs to the "scanner" group. I have the feeling it is something related with the udev rules but Im not sure what. Here is the relevant line:
    # Canon CanoScan LiDE 35 | Canon CanoScan LiDE 40 | Canon CanoScan LiDE 50
    ATTRS{idVendor}=="04a9", ATTRS{idProduct}=="2213", MODE="0664", GROUP="scanner", ENV{libsane_matched}="yes"
    The latest update where kernel stuff and udev stuff were updated resulted in:
    kernel-headers-2.6.24.3-1  udev-119-1...
    Any help greatly appreciated,
    Regards,
    Felipe.

    It appears that udev has problems with rules matching by idVendor when system is up and running but everything is ok if device was online during boot. Please check out this bug http://bugs.archlinux.org/task/9935 and comments. If You have the same problem then please vote for this bug and/or post a comment.
    Thank You.

  • Set Variant for RHINTE00 using RS_CREATE_VARIANT

    HI All,
    I want to set variant only for employee id select option in report RHINTE00 using RS_CREATE_VARIANT. Since there is no direct access to Select Option so how can i achieve it.
    Thanks,
    Shailesh S. Malkar.

    Hi,
    Please reffer below code for implemeting 'RS_CREATE_VARIANT'
    *----- varid
      move sy-mandt             to i_varid-mandt.
      move 'RPCTXFU0'           to i_varid-report.
      move var_name1            to i_varid-variant.
      move sy-uname             to i_varid-ename.
      move sy-datum             to i_varid-edat .
      move sy-uzeit             to i_varid-etime.
      move 'A'                  to i_varid-environmnt.
    *----- varit
      move sy-mandt             to i_varit-mandt.
      move sy-langu             to i_varit-langu.
      move 'RPCTXFU0'           to i_varit-report .
      move var_name1            to i_varit-variant.
      concatenate 'Customer Variant'(o01) var_name1 into i_varit-vtext.
      append  i_varit.
          call function 'RS_CREATE_VARIANT'
             exporting
                  curr_report               = 'RPCTXFU0'
                  curr_variant              = var_name1
                  vari_desc                 = i_varid
             tables
                  vari_contents             = rsparams_tab
                  vari_text                 = i_varit
             exceptions
                  illegal_report_or_variant = 01
                  illegal_variantname       = 02
                  not_authorized            = 03
                  not_executed              = 04
                  report_not_existent       = 05
                  report_not_supplied       = 06
                  variant_exists            = 07
                  variant_locked            = 08
                  others                    = 99.
    Regards,
    Arun

  • Set KOKRS for ECATTs using CO-Transactions like KP06

    Dear Collegues,
    how can i make sure the ECATT i create does set the KOKRS if nessessary for transactions like KP06 for example?
    I just did record the KP06 transaction now and defined the paramters as following:
    KOKRS     Kostenrechnungskreis          I     KOKRS          C     4     
    VERSION     Version               I     VERSN          C     3
    PERVON     Periode ab               I     KPLA_PERBL          N     3
    PERBIS     Periode bis               I     KPLA_PERBL          N     3
    GJAHR     Geschäftsjahr          I     GJAHR          N     4
    KOSTL     Kostenstelle               I     KOSTL          C     10     
    KOART     Kostenart               I     KSTAR          C     10     
    PLANFIX     Geplante Fixkoste          I     WERTV8          P     15     2
    VS     Verteilschlüssel          I     SPRED          C     4          
    My problem is now, how to set the KOKRS to the value of the import-file, which is including all fields mentioned above within this KP06 ECATT? I just thought about smth. like following:
    IF KOKRS = ' '.
      ABAP.
      ENDABAP.
    But how to use the values from the importfile here?
    Any other more easy solutions for this issue?
    Thanks a lot in advance
    Best regards
    Carsten Klatt
    Endif.
      TCD ( KP06 , KP06_RECORD_2 ).

    You do not need a separate input file, just use internal variants for the test data in the eCATT test configuration or handle you data for input in external variant files (which have format of csv).
    See also the [online help|http://help.sap.com/saphelp_smehp1/helpdata/de/da/f1383fe58d5900e10000000a114084/content.htm].
    Kind regards,
    Christoph

  • Setting filenames for images sequences via scripting

    Is there a good way to set the output filename for a sequence via scriping? When I explicitly set the filename and render location, the frame number is being appended to the end of the extension. (example: "filename.png002").

    Did a quick test.
    You can set name the way you want "Comp 1-[#].jpg" - I mean if you add [#] by hand, AE seems to respect that.
    So I guess you could check how many frames you are going to render and set appropriate amount of # signs in the file name.
    Looking at your example, seems that AE ads frame number after the extension. In case you want to control where AE puts those frame numbers, try this "filename-[#].png" - that should do the trick.

  • Setting cookies for safari using java

    Dear all
    I am new to cookie programming. Is there some way so that I can set cookies in Safari on Mac.
    I need to set the user's login information in cookie for a particular site then i need to launch that particular website.
    The code samples will better help. Pls help me as i am in urgent need.
    Regards
    Shobhit Jain

    Can you explain what this will do? Is this a type of
    wildcard for all domains?The answer to my question is that you can't do it, and for good reason. There is a security restriction against creating/accessing cookies from unrelated domains (and ".com" won't cut it). So I just did a complete proxy solution and translated all requests and maintained the cookies for the browser.
    I am not sure what setDomain("/") would do - I am pretty sure that is just invalid (but it is a valid path, however).

  • Set level for bookmarks using applescript or javascript

    hi everyone!
    In my indesign document having 3 paragraphs. And set bookmarks of level one by one to these paragraphs.
    Please anyone can help me?
    tell application "adobe indesign cc 2014"
    tell active document
    set selectItem to item 1 of selection
    set textdestinate to make hyperlink text destination with properties {name: selectItem, destination text:item 1 of selection}
    set BknameInnerItem to make new bookmark with properties {destination:textdestinate}
    end tell
    end tell
    --Then,   how to set bookmark level in the hyperlink text destination properties? Is it possible?

    To add a new level, add a bookmark to another bookmark; that will automatically indent it.

  • Using java scripts for pdf

    I am trying to find a sort of tutorial on how to use java scripts for pdf files, particularly in setting up repetitive links between several pdf files.

    Here is a very nice website that has tons and tons of stuff for pdf using java script. Enjoy!
    http://www.planetpdf.com/forumarchive/forum34.htm

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

Maybe you are looking for