OMB scripts to deploy maps
HelloWe use to deploy maps using OMB scripts using the command prompt. Liked the same scripts to deploy via OMB or elsewhere, we need to change. If Yes, what are the changes I need to do. And what is the exact method to run scripts via plu OMB.
THX
Yes, the same script can be used.
Here's a how to with a .bat file:
http://gerardnico.com/wiki/DW/ETL/OWB/scripting/ombplus
See you soon
Nico
Tags: Business Intelligence
Similar Questions
-
Hello
does anyone know if there is a way to install script and - configure the MS Web deployment tool?
Installation seems to be possible.
Config is quite difficult - at the moment we are struggling with the IIS for 'Management Service Delegation' parameters.
Is it possible to define the Type of identity by script?
(e.g. setAcl, createApp, backupSettings - see screenshot)
Thank you
G
Hello
Please post your question here for assistance:
https://social.technet.Microsoft.com/forums/scriptcenter/en-us/home
-
Field batch script will not map network drives
I have a user that the workstation has begun refusing map network drives. We are on a server 2 k 3 domain and use batch files to map network drives. The user computer is Windows 7. When the user logs on, the command prompt appears with the following message is displayed:
'\\maj0131\c$ '.
CMD. EXE was launched with the path under the current directory.
UNC paths are not supported. Default in the Windows directory.
67 system error has occurred.
The network name cannot be found.
maj0131 is the name of the user's computer. I can't access the user account network shares if I manually type the address of share in the address bar of Windows Explorer. Also, if I run the same exact script locally, it works perfectly. Help, please?
Hello
The question you posted would be better suited in the TechNet Forums. I would recommend posting your query in the TechNet Forums.
TechNet Forum
http://social.technet.Microsoft.com/forums/Windows/en-us/home?filter=AllTypes&sort=lastpostdesc&brandIgnore=trueHope this information is useful.
-
Perl script for deploying a virtual machine template
Am looking for a perl script for the deployment of the existing models on Vsphere virtual computer. So far, I got access to the virtual machine. I saw that there is a utility called new-vm on the powershell. I'm running a linux machine and therefore seeking an alternative to perl. Kindly give me pointers or help me with some documents.
Thank you!
Well, I managed to create a virtual machine from the template using the vmclone.pl script, which is part of the vmware sdk. But post creation that he's not leaving means VM State is off. I'll have to find a way to start the virtual machine as well.
-
PowerCLI script to deploy virtual machines from a template
Hey all,.
I have this part done script. My questions are:
1. I want to know the nubmber of "Windows XP - X" are currently deployed, so I want to add. I don't want to use a CSV format or any other to inmport of. Yes, I am that lazy. For some reason I can't understand it!
2. on the line I would askes 'what esx host you want to use' just hit '1' for esx1 vs type the name of the host.
The questions above can be made? If so HELP! I worked on it for days. Thank you!
Yes I have a Connect-VIServer-Server blah blah blah... Just removed.
{
{
$freespaceCalc = @{name = "FreespaceGB"; Expression = { : tour ($_.)} (FreeSpaceMB * 1 MB/1 GB)}}
$capacityCalc = @{name = "CapacityGB"; Expression = { : tour ($_.)} (CapacityMB * 1 MB/1 GB)}}
User agents how manny are required
$agentTotal = Read-Host "Enter the number of Agents WinXp you need."
Get-Datastore. Select Name, $freespaceCalc, $capacityCalc | Sort-Object Name. FT - force - AutoSize. Out-Default
$datastore = Read-Host "what data store you want to use?
Get-VMHost | Select-Object Name. Sort name | FT - force - AutoSize. Out-Default
$esxHost = Read-Host "what Esx host you want to use?
$XP is get - VM - name WinXP-*.
$totalXPCount = @($XP). Length
$totalXP = (1 + $totalXPCount)
for ($adt = ($totalXP + $agentTotal); $totalXP - $adt lt; $totalXP ++) {}
If ($totalXPCount - eq $adt)
{
breaking
}
$machineName = "WinXP-$totalXPCount.
$template = "Template XP-32.
$osspec = get-OSCustomizationSpec XP
foreach ($vm to $machineName)
{$vm = New - VM - name $vm - model $template - host $esxHost - store of data $datastore - OSCustomizationSpec $osspec | start-vm}
}
The $hostIndex variable contains the index in the table $hostList of the selected host.
This is the script has been fixed.
Note that the SW forum has problems with hooks for you better use the attached file.
# Current "** Create Win XP **"; $freespaceCalc = @{ Name = "FreespaceGB"; Expression = { [Math]::Round($_.FreeSpaceMB * 1MB / 1GB ) } } $capacityCalc = @{ Name = "CapacityGB"; Expression = { [Math]::Round($_.CapacityMB * 1MB / 1GB) } } # User enters how manny agents are requred $agentTotal = [int](Read-Host "Enter how many WinXp Agents you need.") $totalXPCount = (Get-VM -Name WinXP-* | Measure-Object).Count if($totalXPCount -lt $agentTotal){ for($adt = $totalXPCount + 1; $adt -le $agentTotal; $adt++){ Get-Datastore | Select Name, $freespaceCalc, $capacityCalc |Sort-Object Name | ft -Force -AutoSize| Out-Default $datastore = Read-Host "What DataStore do you want to use?" $hostList = Get-VmHost | select Name | Sort-Object $i = 1 $hostList | % {Write-Host $i ":" $_.Name; $i++} $hostIndex = Read-Host "Enter a number (1 -" $hostList.Count ")" Write-Host "You selected host" $hostIndex "with hostname" $hostList[$hostIndex - 1].Name $machineName = "WinXP-$adt" $template = "XP-32 Template" $osspec = Get-OSCustomizationSpec XP foreach ($vm in $machineName){ $vm = New-VM -Name $machineName -Template $template -Host $hostList[$hostIndex - 1].Name -Datastore $datastore -OSCustomizationSpec $osspec |start-vm } } }
-
Hello
I am trying to create a version to export the DDL scripts for my schema deployment.
Can someone help me please how to do this without using SqlDeveloper?
Thanks in advance!...
Published by: 907945 on January 24, 2012 04:34907945 wrote:
I am trying to create a version to export the DDL scripts for my schema deployment.Can someone help me please how to do this without using SqlDeveloper?
idea of rjama to use datapump should be easy.
Another way to do would be to use DBMS_METADATA to extract the DDL in SQL * MORE and reel the results to a file.
-
Hi guys,.
I'm trying to set the property mapping for the Target_Load_Order in camo +, but I keep getting errors when I do. I couldn't find good documentation on how to do it properly. Here is the line I have:
VALUES set PROPERTIES (TARGET_LOAD_ORDER) OMBALTER MAPPING "$mapName" ("' $psShortName\_CHG"', "' $psShortName\_OLD"', "" $psShortName\_NEW "',"' $psShortName\_DEL "')
(This is a line in the script)
Nobody knows the right way to do this?
Thank you
NickHi Nick
You need not quotation marks in the string
OMBALTER MAPPING "$mapName" VALUES of PROPERTIES DEFINED (TARGET_LOAD_ORDER) (' $psShortName\_CHG, $psShortName\_OLD, $psShortName\_NEW, $psShortName\_DEL ")See you soon
David -
The script for a mapping Dimension
Good afternoon
I'm having the following problem
Months of the reporting period Scenario of Value of January Value of February Value of March February reporting period CY 10000 5000 4000 February reporting period CY 500 6000 3000 February reporting period CY 100 3000 3000 The scenario of 'CY' must be mapped to the scenario for real code for the months are below or equal to the Reporting period and mapped on the code of the scenario of the forecast for the months that are higher than the Reporting period.
Does anyone have an idea how to solve this problem?
Thank you!
If you use a custom as a target application, you can then follow the approach I have proposed.
Create a dimension for your scenario, then use a mapping from SQL to create your mapping logic.
It should work,
Please, if you find a useful or correct answer, mark it so that others can see their feedback.
Thank you
-
Hi all
I have a file of format ProRes 422 (1080i 29.97) with 5.1 audio with Lrti. I can't add it to a sequence with the correctly mapped 5.1. I have great difficulty with the LFE channel. Although audio (wave monitor display it), I don't get anything out of this channel. In addition, my center channel seems low. The map should be the following: left, right, Center, LFE, LS, RS as well as the stereo down mixes Lrti. Any help would be greatly appreciated.
I never did work quite like that, but I'll try this for your sequence settings:
This is to the drummer on track:
And for your export settings:
-
I use the build.xml file:
"< name of project = default"samplesbuilder"="all"basedir =". ">
<!-set-> our global properties
< name = "base.dir property" value =". "/ >
< name = "src.dir property" value = "src" / > "
< name = "output.dir property" value = "exit" / > "
< name = "dist.dir property" value = "dist" / > "
< name = "debug.value property" value = "on" / > "
< name = "sharedlib.dir property" value ="${base.dir} /... /... /.. /.. /.. /modules "/ >"
< name = "wlrtlib.dir property" value ="${base.dir} /... /... /.. /.. /modules "/ >"
<!-create the class lib path and output directories. ->
< path id = "classpath" >
< pathelement location = "${output.dir}" / >
< dir = "${fileset wlrtlib.dir}" >
< name = "*.jar" / >
< / fileset >
< dir = "${fileset sharedlib.dir}" >
< name = "*.jar" / >
< / fileset >
< / path >
<!-initialize. ->
< name = "property-init" target >
<!-test the availability of the source file. ->
< file = "${src.dir available}" "
Type = "dir" property = "src.present" / >
< file = "${available dist.dir} '"
Type = "dir" property = "dist.present" / >
< / target >
< target name = "init" if = "src.present" depends = "property-init" > "
<!-create lib directory. ->
< mkdir dir = "${dist.dir}" / >
<!-create the output directory. ->
< mkdir dir = "${output.dir}" / >
< / target >
<!-compile and JAR all->
< target name = "all" depends on 'property-init' = >
< antcall target = 'clean' / >
< antcall target = 'compile' / >
< antcall target = "copyfiles" / >
< antcall target = 'dist' / >
< / target >
<!-all compile. ->
< name target = "compile" if = "src.present" depends = "init" > "
"< javac srcdir =" ${src.dir} "destdir =" ${output.dir}.
Debug = "${debug." Value}"verbose =" ' disapproval 'no' = >
< classpath refid = "classpath" / >
< include name="**/*.java"/ >
< / javac >
< / target >
< target name = "copyfiles" >
< mkdir dir="${output.dir}/META-INF/spring"/ >
"< copy todir="${output.dir}/META-INF/spring ">
< fileset dir = 'META-INF/spring '.
includes = "*" / >
< / copy >
< mkdir dir="${output.dir}/META-INF/wlevs"/ >
"< copy todir="${output.dir}/META-INF/wlevs ">
< fileset dir = "META-INF/wlevs.
includes = "*" / >
< / copy >
< / target >
<!-create EXAMPLE JAR file. ->
< target name = 'dist' if = "src.present" depends = "compile" > "
< mkdir dir = "${dist.dir}" / >
< manifest jar = "META-INF/MANIFEST. MF.
jarfile="${Dist.dir}/com.BEA.wlevs.example.My_CEP_1.0.0.jar".
BASEDIR = "${output.dir} ' includes =" * / * ">"
< name = "META-INF/spring / *" / >
< name = "META-INF/wlevs / *" / >
< / jar >
< / target >
<!-cleaning everything. ->
< name target 'clean' = >
< dir = "${output.dir}" / remove >
< dir = "${dist.dir}" / remove >
< / target >
< name target = "deploy" if = "dist.present" depends = "property-init" > "
< classname = "com.bea.wlevs.deployment.Deployer" java
dir =". »
fork = "true".
output = "deploytarget.log"
FailOnError = "true" >
< classpath >
< dir = "${base.dir} / fileset... /.." /.. /.. "includes ="wlevsdeploy.jar"/ / bin" >
< / classpath >
< arg line = "-url http://localhost:9002 / wlevsdeployer" / >
< arg line = "-user ${username}" / >
< arg line = "-password ${password}" / >
< arg line = "-${action}" / >
< arg line="dist/com.bea.wlevs.example.My_CEP_1.0.0.jar"/ >
< / java >
< / target >
< / project >
But make a mistake like:
BUILD FAILED
C:\Documents and Settings\470831\workspace_470831\My_CEP\build.xml:92: Java retu
Tutankhamun: 1
What is the root cause of this error?
Published by: 856272 on June 13, 2011 03:20You must specify the user name and password as well. Based on your file generation, if you have not yet deployed, you say-
Ant deploy - Dusername =
- Dpassword = - action = install Once you've deployed successfully once, but want to update the application with your changes, you must say-
Ant deploy - Dusername =
- Dpassword = - action = update You should take a look at the documentation of CEP to http://www.oracle.com/technetwork/middleware/complex-event-processing/documentation/index.html#111140
Manju.
-
Cannot deploy maps, just jobs hang in the control center
Hi all
I'm working on OWB 10g. For a long time, everything was normal. Still on a single instance I can't deploy any mappings. They are validated, generated and the deployment job starts (I can see it in the control center), but it never ends. It crashes right there with the green arrow as 'treatment' status and stay that way for hours.
Does anyone have an idea what could be wrong?
Thanks in advanceIf it is really hanging for hours without end, check stale OWB sessions and their locks.
If it is finished after a long time, update the statistics on the repository.
HTH
Alex -
OMB script type timestamp data
Hi all
I want to recover the precision "seconds" of data type timestamp in a table. Then, I want to get this information into a flat file.
Now, I have this:
Set vPrecision [TABLE OMBRETRIEVE ' / $Project/vTable SourcePath / $$ ' COLUMN '$vColumn' GET PROPERTIES (SECONDS_PRECISION)]
OMBALTER FLAT_FILE '$vFlatFile' CHANGE the VALUES of PROPERTIES (DATATYPE, MASK, SQL_DATATYPE, SQL_PRECISION) RECORD "$vFlatFile' ADD FIELD '$vColumn' ('$FFDateMask', '$vDataType', '$FFDataTypeTS', '$vPrecision')
and I get the following error:
The seconds_precision property does not existHello
Use the name property FRACTIONAL_SECONDS_PRECISIONKind regards
Oleg -
Creation of Configuration in OWB 11 GR 2, using Scripts OMB +.
Hi all
Please help how to create a configuration pointing to another repository OWB using OMB scripting + Also how to change the location of active deployment for a module using Script OMB +.Hello
Here's how you can add a new location for a module and adjust its configuration settings (ADC) here;
OMBALTER ORACLE_MODULE "TGT_MOD" ADD REF LOCATION "ADC".
OMBALTER ORACLE_MODULE 'TGT_MOD' SET VALUES OF PROPERTIES (DB_LOCATION) ("ADC")http://download.Oracle.com/docs/CD/E11882_01/OWB.112/e14406/chap3015.htm#DADFHBGE
Not sure if that's what you're after? To create a new configuration pointing to your own control center;
OMBCREATE CONTROL_CENTER "MYCC" SET PROPERTIES (etc...
CONFIGURATION OMBCREATE "MYCONFIG".
OMBCC "MYCONFIG".
DEPLOYMENT OF OMBCREATE "MYCONFIGDEPLOY" THE REF "MYCC" CONTROL_CENTER VALUESee you soon
David -
Cannot deploy the mapping which is validated fine-problem when debugging
Hi all
I have a complex with almost thirty tables involved mapping.
I created a mapping with the step by step process of t1 Join t2, t2 join t3... t29 join t30
Mapping looks very good and has been validated successfully.
When I try to deploy the same he throws me the warnings below...
How to solve this problem?
How to locate the exact problem in pls code region generated during deployment.
Thank you very much!
SRID
Here is the warning of deployment
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 11, column 3:
PL/SQL: ORA-00923: KEYWORD not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 11, column 3:
PL/SQL: SQL statement ignored
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 2247, column 3
PL/SQL: ORA-00923: KEYWORD not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 2247, column 3:
PL/SQL: SQL statement ignored
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 4738, column 7:
PL/SQL: ORA-00923: KEYWORD not found where expected
COPY_OF_MAP_PS_2OJAN
Create
Warning
ORA-06550: line 4738, column 7:
PL/SQL: SQL statement ignored
Summary of the offer
Update: 2009-01-21 07:38:57.0 job final status: completed WARNING processed job count: 1 number of job errors: 0 Job Alert Count: 6
My mapping has only 18808 lines when I looked the .pls script generated during deployment (surprisingly... the Debug displays message error is on line 22776)
When trying to debug the mapping below is the debug message
Analysis of card to debug...
Retrieving the connection of Control Center information...
Connecting to the Control Center schematic...
The character set of the Control Center schema checking...
Configuration of the sources and targets...
Card validation...
Correlated Commit is DISABLED.
Generate debug package...
Deployment of debug temp tables...
Deploying debug package...
***********************************************
Messages of debug code deployment:
LINE 22776, COLUMN 46:
PLS-00103: encountered the symbol "B_BN_BNI_66_BN_ORIGI$ 2" when expecting one of the following values:
. (* % & = - +; <>/ at mod is still not rem)
< an exponent (*) > <>or! = or ~ = > = < = <>and or LIKE2_
LIKE4_ LIKEC_ between | Member of multiset SUBMULTISET_
The symbol "." was replaced by "B_BN_BNI_66_BN_ORIGI$ 2" to continue. "
End of messages of debug code deployment
***********************************************
Mapping debugger error:
oracle.wh.service.sdk.mapping.debugger.WBMappingDebuggerException: DBG1012: Debug deployment errors, can't run debug code.Hello
There is only one version of the software. Whether or not you must license depends on the features you use.
Generates code in the mapping Editor by using the button "generate".
In the build results window, select style generation = operating mode and middle = 'Set [PL/SQL] founded.
Now you must select a group entry or exit of some operator in your mapping.The build results window then displays a SQL statement that represents the data that would go in the group you selected.
Run the SQL directly in your target schema (using sql * plus, sql developer, etc.).
If the SQL code cannot be run, the problem is in this particular part of the mapping.
You can try to locate further.Good luck
Carsten. -
Hello
I installed Jdev using silent installation.
Now I have some apps already created I want to create a default domain, and then to deploy apps in it through any script or ants?
Can someone help me on this?
Thank you and best regards,
Vivek Pemawat
Hi This worked for me I checked the log of the jdev, how he creates the domain and then using that I created the field
I used the python script for deploying applications:
Connect ('weblogic', 'welcome1 ','slc01fnw:7103 ')
deploy (appName = ' Application13 ', path='/home/rasubra/jdeveloper/mywork/Application13/deploy/Application13_Project1_Application13.ear' target = 'DefaultServer')
Exit()
called using wlst.sh TestAppsDeploy.py
Thanks for all the help!
Maybe you are looking for
-
Satellite A200-195 - you try to reset to factory settings
Hello After you have backed up all my data, I'm trying to reset my Toshiba Satellite A200-195 back to factory settings, to try to get some of the performance. Internet search has launched a number of ways to do this, but none do not work for me. I tr
-
RALink rt5390r wireless guard give up the connection
I have the Office of CTO H8-1540 8.1 Windows running. This machince has been bundled with Windows 8 and I experienced the same behavior on the two OS'. I have no problem getting a connection, but I can't keep the connection. I have a RT5390R of RA
-
Hello I added a virtual keyboard that supports a QWERTY Hebrew work and it is great, but the physical works in English - y at - it a solution for this?
-
How to take an incremental backup in windows server 2008R2 64 bit
Dear helpdesk, I am unable to take an incremental backup in windows server 2008r2. Whenever he takes the full backup. Help, please.
-
My PC freezes when the screen saver is activated
Original title: these days when my computer is idle and my screensaver snaps my computer will freeze