ODI - to declare the variable for the path in Modules & Interface

Hi,
I have different server names like Development, Test & Production. I have installed ODI client in my local machine.
1. For creating *10 modules*, i have the flat files in Development server. For now i can hard code the path by \\Development\ODI_FileStore....
2. In the Interface i am using the hard coded paths for the logs.
Is there any possibility to create a variable for the shared folder and use that variable (like environment variables ...) instaed of using the hardcoded path. If so, can you explain tme how i can create.
Your advise will help me a lot and will be appreciated.
Thanks & Regards
Dhamu

Dhamu,
I think when you say modules, you mean models.
To use multiple files in the same interface, you can use ODI variables.
Read this link for more information : http://odiexperts.com/multiple-files-single-interface

Similar Messages

  • How do I create an automator variable for a path that includes a date?

    I like to use Image Capture to scan documents into a hierarchy of folders under my ~/Documents directory that are organized by year and document type.  For example, I have
    ~/Documents/archives/2011
         /Misc
         /Utilities
    and
    ~/Documents/archives/2012
         /Misc
         /Utilities
    for archiving miscellaneous docs and utilities bills. Now, switching folders in Image Capture is annoying so I want to use the Automator support built into that app to direct the scanned images to ~/Documents/archives/<Current Year>/Misc or ~/Documents/archives/<Current Year>/Utilities.  I was able to do this with separate Automator workflows, each with a hard-coded path to the destination folder.  For example,
    What I would like to do is use an Automator variable to dynamically determine ~/Documents/archives/<Current Year>/Misc.  I see variables for Home, Documents, and Current Year.   However, when I try to create a new path variable it only lets me choose a full path to a Finder folder.  How do I combine Documents and Current Year variables with the "archives" and "Misc" folder names to create a new path variable?

    Well now, you went and made me learn something today.  In the Variables Library, under Utilities, is a variable named AppleScript.  You can put a small script into this that evaluates to your path, for example:
    ((((path to documents folder) as text) & "archives:" & (year of (current date)) as text) & ":Utilities") as alias
    If the script evaluates to a proper path, it can be used wherever any other path can - you can experiment by looking at the results of a Get Value of Variable action.

  • Photoshop CS5-Could not complete your request because of a problem with the file-format module interface.

    When I always try to open a picture, a pop-up always open displaying the said message. What will I gonna do? Help, please!

    Without proper system information and other details like what pictures you are trying to open from which storage locations nobody can tell you much.
    Mylenium

  • Unable to set the path

    I have installed J2SDK1.2.1 & JDK1.3.0_02 in my system.I have declared the path in the environment variableslike this
    Variable Value
    Java I:\jdk1.2.0_02\bin;I:\j2sdkee1.2.1\bin
    Classpath I:\jdk1.2.0_02\lib;I:\j2sdkee1.2.1\lib\j2ee.jar
    JAVA HOME I:\jdk1.3.0_02
    J2EE HOME I:\j2sdkee1.2.1
    this wont work if i open command prompt and if i type javac it gives
    'javac' is not recognized as an internal or external command,
    operable program or batch file.
    Again if i set the path in commandprompt then javac command works.And when i try to start the J2EE Server or if i try to use the DEPLOYTOOL it shows
    ERROR: Set J2EE_HOME before running this script.
    I dont know what is the problem.Is the coding that i have given is correct .Please help me out.
    Thanks in Advance
    Sriram

    Actually i have learnt core java and i am pretty good with it.but i have started learning j2ee and in my course material that i have has given the instruction for staring the server and i have given the codings as the book instruction says.But still iam not able to do it.I use win2000prof and i can an i am executing the normal java programs in my system but the problem is i need to set the path every time i open the command prompt.And the other problem is i am not able to start the j2ee server and without starting the server i am not able to practise.
    Sriram

  • How to declare variable for Table type in the ABAP Editor

    Hi!
    I have Table Type 'FIELDNAME_TAB' (Table of fieldnames). I want to pass the list of fieldnames to this Table Type in the ABAP Editor.
    Can anyone help me in this?

    You would declare the internal table like so.
    data: itab type FIELDNAME_TAB.
    data: wa like line of itab.
    wa = 'This_value'.
    append wa to itab.
    Regards.
    Rich Heilman
    Message was edited by:
            Rich Heilman

  • Test-path where a directory in the path is variable

    My company has a series of fax lines and associated file shares. Faxes are processed & then dropped off into these file shares. From that point a service runs about every 60 seconds to look for files in these directories to import into a database.
    If there is a problem with the import then the service moves the file to a "HOLD" folder & files remain there until human intervention.
    I am trying to create a script that will find the HOLD directory in each of these folders and look for the existence of files, then email a group of users alerting them if there are.
    So there are several things I'm trying to accomplish.
    1. Look for files in a path where a folder in the middle of the path is variable.
    2. Send and email that will inform the recipient that there are files in the HOLD folder(s) and tell them WHICH ones
    Here's what I am starting with but it isn't working as expected.  There are files in at least one of these.  I also thought to try using some kind of foreach loop but it's eluding me.  Probably because it's late in the day for me.
    $folder = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
    if(Test-Path -Path "\\Server\scan import\fax\$folder\Hold" -include *.pdf, *.tif, *.jpg) {write-host "Files exist at $folder"} Else {write-host "No files in the hold folders"}
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

    The numbers.txt includes a list of folder names, one per line. I did come up with the following and it's working, for my purposes, so I now need to figure out how to get the results into the body of a single email.
    $parent = "\\server\scan import\fax\"
    $folders = get-content -Path "\\child.domain.com\netlogon\scripts\ps\numbers.txt"
    Foreach ($folder in $folders)
    if(Test-Path -Path "$parent$folder\HOLD\*" -PathType leaf)
    write-host "Files exist at $parent$folder\Hold"
    Else
    write-host "$folder Clear"
    I'm really only using the Write-Host actions in place of the Send-MailMessage Cmdlet, at least I think that is the command I need.
    # When I wrote this script only God and I knew what I was doing. # Now, only God Knows!

  • Using a Variable to Substitute the path\filename of a Batch file in the Start_Process Command

    I am trying to write a script that will execute a batch file on a remote Windows server.
    This line below is basically what I'm trying to do and it works without error, however I would like to use a variable for the path\filename of the batch file.
    invoke-command -computername QSC-A-ICE01 -scriptblock {Start-Process "\\qsc-a-ice01\D$\Test\RunThis.bat" }
    If I try to use a variable as in this example below I receive the error below. The error seems to indicate it's it expecting a "FilePath" parameter. Is this true? How would I change this script to make it work when substituting a variable.
    $MyProcess =  "\\qsc-a-ice01\D$\Test\RunThis.bat"
    Write-Host $MyProcess
    invoke-command -computername QSC-A-ICE01 -scriptblock {Start-Process "$MyProcess"}
    This is the error text I receive when using a variable:
     PS C:\Windows\system32> D:\Test\ThisWorks.ps1
    \\qsc-a-ice01\D$\Test\RunThis.bat
    Cannot validate argument on parameter 'FilePath'. The argument is null or empty. Supply an argument that is not null or
    empty and then try the command again.
        + CategoryInfo          : InvalidData: (:) [Start-Process], ParameterBindingValidationException
        + FullyQualifiedErrorId : ParameterArgumentValidationError,Microsoft.PowerShell.Commands.StartProcessCommand
        + PSComputerName        : QSC-A-ICE01
    PS C:\Windows\system32>

    Mike,
    Thanks for providing the link, it was very informative. The link described how to use the args in a ScriptBlock and provided me with an explaination as to why it works the way it does on a remote server. This is my 1st post to the forum and I don't know
    how the points system works yet.
    I would like to split the points , but I don't see that this is possible.
    You're very welcome, I'm glad that the information was helpful.
    You can mark as many posts as answers as you'd like, there's not a restriction on only having a single answer per thread. You certainly don't have to though, David's answer is more than sufficient to help any future people who find this thread.
    Also, on a side note, you may want to post in the thread below. Posting there will get your account verified so you'll be able to post links and images.
    http://social.technet.microsoft.com/Forums/en-US/200c33c9-abe9-494a-953a-bf53fccb3c76/verify-your-account-11?forum=reportabug
    (Future people - don't use that link.
    Click here and look for the current thread as a sticky.)
    Don't retire TechNet! -
    (Don't give up yet - 12,575+ strong and growing)

  • How to specify a variable in the path prefix of an External HTTP (RFC) connection (in transaction SM59)

    Hi There,
    Please can someone tell me how to specify a variable in the  path prefix of an External HTTP (RFC) connection in transaction SM59?
    For example if my path prefix is /invoke/test/example?input=XYZ; how do I replace "XYZ" with a variable so that I can pass in any value after "=" ?
    Thanks,
    Brendon

    Hi,
    This is SAP Business one system administration forum. Please find correct forum and repost above discussion to get quick assistance.
    Please close this thread here with helpful answer.
    Thanks & Regards,
    Nagarajan

  • Trying to understand the PATH variable

    Greetings,
    I read that the PATH variable specifies a set of directories where executable programs are located. But if I use "echo $PATH" in Terminal to view the directories, it does not list the Applications folder or the Downloads folder or any of the other places I have programs. So how to they run?
    Thanks

    The PATH variable is a list of search paths used by a particular shell. Basically, when you enter a command in a command-line context (such as from within Terminal.app), the unix system will search for executables in all of the folders listed in the PATH variable, running the first it finds.
    Apps that are run from the GUI are launched by the launch services daemon, which takes care of all the details of locating and loading executable. Launch services maintains a database of app locations, so it wouldn't need to search along unix PATHs to find what it needs.

  • Why do we declare the variables private in a bean

    Hi,
    when we create a bean in the MVC architecture why do we declare the variables private. Also when do we use the access specifier private.
    Regards,
    Prashant

    pksingh79 wrote:
    Hi ^^,
    thanks for replying.I had a discussion with one of my trainers and he was of the opinion that the variables should generally be declared private. In this way we prevent classes from accessing and setting illegal values to those variables.
    Say for instance we have the class person as follows:
    public class Person
    int age;
    setAge(int age)
    if (age < 0)
    return null
    Person p = new Person() ;
    p.age = -2;
    //this would be perfectly legal
    //where as if we declare the variable as private as follows:
    public class Person
    private int age;
    setAge(int age)
    if (age < 0)
    return null
    Person p = new Person() ;
    // P.age = -2;   this would be illegal as age is private and would have to be accessed by the method defined above.
    p.setAge(-2);
    //the cbove line would retun null values.
    public class Person {
        private int age;
        public void setAge(int age) {
            if (age < 0) {
                throw new IllegalArgumentException("...");
            this.age = age;
    }

  • Powershell does not recognize the path environment variable

    Hi, I am running powershell in ws2012 r2 version and when i attempted to run executable whose path is defined in the env:path variable, it can not run. Here is the output. How do I make the path recognizable in powershell so I dont have to type full command.
    I hope and presume it is something very simple, but I am not able to find information regarding this online. Here is the output from dos prompt in which executable runs and loading of powershell after that executabe are no longer found:
    Microsoft Windows [Version 6.3.9600]
    (c) 2013 Microsoft Corporation. All rights reserved.
    C:\Windows\system32>signtool
    SignTool Error: A required parameter is missing.
    Usage: signtool <command> [options]
    Valid commands:
    sign       -- 
    Sign files using an embedded signature.
    timestamp  --  Timestamp previously-signed files.
    verify     --  Verify embedded or catalog signatures.
    catdb      -- 
    Modify a catalog database.
    remove     --  Reduce the size of an embedded signed file.
    For help on a specific command, enter "signtool <command> /?"
    C:\Windows\system32>powershell
    Windows PowerShell
    Copyright (C) 2013 Microsoft Corporation. All rights reserved.
    PS C:\Windows\system32> signtool
    signtool : The term 'signtool' is not recognized as the name of a cmdlet,
    function, script file, or operable program. Check the spelling of the name, or
    if a path was included, verify that the path is correct and try again.
    At line:1 char:1
    + signtool
    + ~~~~~~~~
    + CategoryInfo         
    : ObjectNotFound: (signtool:String) [], CommandNot
    FoundException
    + FullyQualifiedErrorId : CommandNotFoundException
    PS C:\Windows\system32>

    Read this very carefully:
    Suggestion [3,General]:
    Thecommand signtool was
    notfound,but does exist
    inthe current location.
    Windows PowerShelldoes
    notload commands
    fromthe current l ocation
    by default.
    Ifyou trust thiscommand,instead type
    ".\signtool".
    See "get-help about_Command_Precedence"
    formore details.
    PS C:\program files (x86)\Windows
    Kits\8.1\bin\x64>
    .\signtool
    ¯\_(ツ)_/¯

  • How to set the PATH Environment variable with multiple homes?

    I have several Oracle homes, and now I cannot get reports to work anymore. These are the things I installed, in this order:
    - Oracle Database 10g
    - Oracle Developer Suite 10g
    - Oracle Discoverer 4
    - Oracle HTMLDB
    Now my PATH environment variable is flooded with paths, but none seem to work when I want to start Reports 10g. I deleted all of the paths from the other homes and still no luck.
    This was my original PATH:
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin\client;
    C:\oracle\product\10.1.0\db_1\jre\1.4.2\bin;
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin;
    C:\oracle\product\10.1.0\compdb_1\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.1.8\bin;
    C:\oracle\product\10.1.0\compdb_1\jre\1.4.2\bin\client;
    C:\Disco41Home\bin;C:\oracle\product\10.1.0\db_1\bin;
    C:\oradev10g\jdk\jre\bin\client;C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\oradev10g\jre\1.4.1\bin;
    C:\oradev10g\jre\1.1.8\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;
    %SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    and this is the PATH after I stripped it:
    C:\oradev10g\jdk\jre\bin\classic;
    C:\oradev10g\jdk\jre\bin;
    C:\oradev10g\jdk\jre\bin\client;
    C:\oradev10g\jre\1.1.8\bin;
    C:\oradev10g\jlib;
    C:\oradev10g\bin;
    C:\PROGRAM FILES\THINKPAD\UTILITIES;
    %SystemRoot%\system32;
    %SystemRoot%;%SystemRoot%\System32\Wbem;
    C:\WINDOWS\Downloaded Program Files;
    %SystemDrive%\IBMTOOLS\Python22;
    C:\Program Files\PC-Doctor for Windows\services
    What am I supposed to change to get Reports to work again (i.e. do more than just show the splash screen)?
    Forms and Designer work just fine....

    Never mind I found my solution here:
    Re: Oracle Developer hangs when starting...i'm desperate

  • How to set the path variable on Windows ME?

    I want to get a friend of mine to start using java the only problem is that we both dont know how to set the path variable in Windows ME. I cant seem to find any instructions on it for ME. So if someone could please tell me how or give me a llnk to directions for Windows ME. Thanks.

    Refer to the Installation Instructions for the package that you installed - I believe #5 if the instructions has the information. A link to the instructions is at the page you installed from.

  • VS 2013 - SQL Server Projects - Can I Change defaults for SQL Servers to use and the paths to DB-files?

    Hi all,
    when a create a SQL Server Project using "File > New ...", I find the following settings defaulted:
    SQL Server is (local)\Version12.0 and
    DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) for MDFs and LDFs point to the Project directory.
    Initial settings of file size and increments are also not settable but defaulted.
    Because my projects have to verify performance by testing with large volume of data, we have to use a different SQL Server with files stored on that Server. The Project settings have a button to changes DB properties, but these are not part of that
    dialog.
    So I spent some fruitless hours in vain to find a way to change the project's connection to my development SQL Servers.
    How to cope with that?
    Thanks in advance.
    Regards Uwe

    Hi Caillen,
    thanks for Your response. I have to apologize for being a little late with my answer. I'll try to clarify my case more precisely:
    This is surely a topic related to VS2013 handling new "SQL Server Database Projects". When one clicks "OK" the following steps are executed by VS2013 (surely controlled by standard templates or the like):
    VS2013 creates the new project in a selectable directory and uses the projectname as a subdirectory whre the directory elements (*.sqlproj, bin\, obj\) where  later all the *.sql are placed, too. This is normal and expected.
    VS2013 creates a new database with its DB-files
    and attaches it to "(localdb)\ProjectsV12". The name of the database is the name of the project. The path to the DB-files (*.mdf and ldf) and their sizes are also defaulted to small values. The DB-server and the
    path to the DB-files is taken from the registry (!) HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\SSDT\LocalDbDatabaseFilePaths. I don't know when and by what tools these values are set.
    The path to DB-Files is typically also the path to the projects. The (local)-server places all system database files in the User\<user-ID>\Appdata\.. tree. Which is OK for small databases. The templates extracts some data from the DB-file path and
    places it in the deployment SQLs to populate the SQLCMD variables DefaultDataPath, DefaultFileprefix and the DefaultFilename(s) which are generated when pressing "Executed" or "Debug" the project.
    My problem is that we have to test database performance with larger volumes of data (e.g. two million rows and more). These cannot be stored in the User-path but must be handled by some kind of professional DB-Manager on various storage devices. When everything
    is tested, the publishing function of VS2013 will extract the structure and you are done incl. all the performance taming things.
    The dialog from the project properties can change to a different Server, but that server does not know your project database. The server and the DB-Files should be specified by the developer before VS2013 creates the database.
    So  the right forum would be a forum, where people developing SQL Server solutions with VS2013 are reading the questions.
    Thanks again for your patience.
    Regards Uwe

  • Declaring a variable in a function: either the function or the eventListener I'm using doesn't work

    Can anyone help me with this?
    I have a set of Cue Points in an FLV I'm playing. It's an interactive quiz, so the idea is that flash will change a variable, theAnswer, to a different letter depending on which question it is. The answer to question 1 is B, question 2 is D, etc.
    Either the cue point event listener isn't working, or else it is working and Flash isn't declaring the variables. Can someone help?
    The error message I get is:
    1120: Access of undefined property theAnswer.
    I literally can't find a single problem with my code. I have an almost identical Event Listener further down which works.
    var theAnswer;
    vid.addEventListener(MetadataEvent.CUE_POINT, cueAnswers);
    function cueAnswers(e:MetadataEvent):void{
    var cuePointNames = e.info.name;
    if (cuePointNames =="start")
    theAnswer = "C";
    else if (cuePointNames =="q2")
    theAnswer = "A";
    else if (cuePointNames =="q3")
    theAnswer = "C";
    else if (cuePointNames =="q4")
    theAnswer = "A";
    else if (cuePointNames =="q5")
    theAnswer = "D";
    else if (cuePointNames =="q6")
    theAnswer = "C";
    else if (cuePointNames =="q7")
    theAnswer = "A";
    else if (cuePointNames =="q8")
    theAnswer = "D";
    else if (cuePointNames =="q9")
    theAnswer ="B"
    else if (cuePointNames =="q10")
    theAnswer ="B";
    The function is called by this later:
    function nkAinfo(e:MouseEvent):void {
    if (theAnswer=="C")
    trace("You clicked right");
    else
    trace("You clicked wrong");
    What's going on? Is the function not being called or are my variable declarations wrong?

    Probably not the answer to your question, but it could help anyways....
    First there is another command that, to me at least, is much easier to read that a bunch of nested if/if elses. And that is the switch.
    switch (e.info.name){
    case "start":
    theAnswer="C";
    break;
    case "q2":
    theAnswer="A"
    break;
    //and so on
    To me that is easier to maintain and read. But I don't think that is really what you need here. So just file that one away for the future.
    In this case, what I think you need is an array.
    var currentAnswer:String;
    var correctAnswers:Array=new Array();
    correctAnswers["start"]="C"
    correctAnswers["q2"]="A"
    // and so on.
    Then your cuepoint handler function becomes something like this:
    function cueAnswers(e:MetadataEvent):void{
         currentAnswer=correctAnswers[e.info.name];
    And I'm a little confused by your mouse click handler. It would seem to suggest that the answer is always "C"? But I"m guessing that it is supposed to compare what the user clicked on to what the cuePoint has told it is the correct answer? Well if that is the case then it would probably look something like:
    function nkAinfo(e:MouseEvent):void {
    if(e.currentTarget.clickedProperty==currentAnswer){
         trace("Correct");
    } else {
         trace("Incorrect");
    With the way you are currently doing this I'm guessing that you have a bunch of repeated functions for each time there is a mouse click and that your code is a lot more complicated that it needs to be. And that somewhere hiding in all those lines there is an error that would be simple to fix if you could see it.
    What the error is telling you is that somewhere your are trying to assign or retrieve theAnswer and it hasn't been defined yet.

Maybe you are looking for

  • Berkeley DB Java Edition and Java 1.4

    As a Berkeley DB Java Edition user we place a very high value on your input. We need your feedback regarding a product requirement for Java 1.5. As time goes on we find ourselves implementing more and more performance enhancements based on facilities

  • How Can I Open and Use Excel Spreadsheets on my Mac?

    I am trying to find out how to work with Excel (.xls) files on my Mac.  I have the latest updates on my OS but my Numbers is about 3 yrs old. I am able to work with the file on the Forum website, make adjustments.. but that is discouraged.  The owner

  • Event handler for STDIN input?

    Hi, This question will probably require a bit of context - I'm attempting to re-implement in java an application that's currently written in perl. The application is a server helper app that rewriters urls; it receives a request ID and a URL on stdin

  • Managed mail accounts on mobile homes randomly recreating with %@@host...

    Hi I use WGM to setup mail on mobile accounts for our users, but I get this weird issue where a new mail account suddenly is created with %@ourhostname.com. I cant find a pattern to when, and who this happens to. I myself have a Mac Pro, and a laptop

  • Reprinting of extended withholding tax certificate

    hi all, i am at client site and we are configuring the for extended withholding tax here from classical.my focused problem is when i go for tc-J1INREP for reprinting the certificate the error message show no certificate available. kindly provide some