Runtime variable for environment

Is there a runtime variable that I can utilize within workflows that will tell me if I'm in the Production, staging, CTE environment etc...
I would love to be able to control how workflows work based on if they are in the production or staging.
-GT

There is no runtime variable for environment at this time.

Similar Messages

  • Change the environment variables for sid adm failed

    Hi Experts,
    I have installed ECC HA on AIX/ORACLE
    now i want to change the environment variables for the qr1adm user at the standby node
    i tried to change the /home/qr1adm/.profile with command
    vi  /home/qr1adm/.profile  it is changed  and i saved this changes.
    now I login with qr1adm user and i executed this command
    env |more
    it comes with the old values
    i don't know why?
    and if i oppened the .profile file i'm finding the new values
    So could you please tell me how can i change the environment variable for qr1adm user
    Thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 9:08 AM

    Thanks Sridhar ,
    which hostname?
    for example i have
    .dbenv_R3QASsvc.csh
    .sapenv_KFGKWERPR303.csh
    i want to tell you that R3QASsvc is the virtual hostname
    and KFGKWERPR303 is the name of the primary node A
    and the phiscal host name of node B is KFGKWERPR307
    so which one should i change it?
    thanks
    Sherif
    Edited by: Sherif Eid on Jan 23, 2008 11:59 AM

  • Environment variables for use with EEM routing trigger?

    I've only recently started looking into EEM, and was hoping a guru here could clear something up for me:
    The docs do not show there to be any environment variables that can be used with EEM's "routing" trigger, to determine which route was added, changed, or modified.
    It seems odd that the trigger would allow you to fire specifically on adds or removes, but then give you no indication of the specific route that was added or removed. Is this info in some non-obvious generic variable?
    Or, is the only available approach to cache the route table, and then parse the whole table when the event fires? I haven't seen any examples that use this trigger; maybe because of this lack of any documented routing-specific variables?
    Thanks in advance!

    Every event detector has its own set of internal variables. These are different than environment variables. Environment variables are those you can modify in the config with "event manager environment". If you have a device which supports the routing event detector, you can run the command, "show event manager detector routing detailed" and that will show you all of the available internal variables.
    I actually did a programmatic applet example using the oruting ED for my Networkers session this past year. This example doesn't use any of the internal variables, but it will give you an idea of how this ED works:
    event manager applet route-watch
    event routing network 10.1.1.0/24 type add protocol ospf
    action 001 cli command "enable"
    action 002 set done 0
    action 003 while $done eq 0
    action 004 wait 5
    action 005 cli command "ping ip 10.1.1.1"
    action 005 regexp "!!!!!" "$_cli_result"
    action 006 if $_regexp_result eq 1
    action 007 cli command "config t"
    action 008 cli command "int Tunnel0"
    action 009 cli command "shut"
    action 010 cli command "end"
    action 011 set done 1
    action 012 end
    action 013 end
    This applet will be triggered when the route 10.1.1.0/24 is learned via OSPF. The applet will then try and ping 10.1.1.1, and when it is 100% successful, it will take down the backup tunnel interface. Because it may take a little while before the ping is 100% successful, the applet will loop until it gets a 100% success (or until the 20 second maxrun timer expires).

  • Environment variable for share and etc

    Hi all, first let me say sorry if this is the wrong sub-section, This one is the closest as far as I could tell.
    I've been messing around with building self-contained packages for top level apps like gimp, vlc etc. Ive gotten all the libraries worked out by using LD_LIBRARY_PATH.
    However they still need files in /usr/share and /etc. I know I can change these at compile time, but what im trying to do change some variable to look in the programs root directory not the systems.
    Does anyone know if sysconfdir can be changed at runtime? for example use ~/Progs/Gimp/usr/share instead of /usr/share? Ive been playing around with a command called cde which sandboxes that apps fairly well
    but its very unclean, and is not aware of any files outside the sandbox (think chroot).
    Thanks in advance, and sorry for my bad grammer.

    Prashant,
    Did you check this?
    https://kr.forums.oracle.com/forums/thread.jspa?threadID=670431
    Regards,
    Dpka

  • Make can't recursively call Make when run from Runtime.exec (for some user)

    This one is a little complicated. The afflicted platform is Mac OS X. It works fine on Linux, it seems, and even then, it does work for some Mac OS X users...
    First, the setup. I have a Java program that has to call GNU Make. Then, GNU Make will recursively call Make in some subdirectories. This results in the following Java code:
    String make = "make"; //on windows, I have this swapped with "mingw32-make"
    String workDir = ...; //this is programmatically detected to be the same folder that the parent Makefile is in
    Runtime.getRuntime().exec(make,null,workDir);This calls make on a Makefile which has the following line early on to be executed (this is only a snippet from the makefile):
    cd subdirectory && $(MAKE)When I fetch the output from the make command, I usually get what I expect: It cd's to the directory and it recursively calls make and everything goes smoothly.
    However, for one particular user, using Mac OS X, he has reported the following output:
    cd subdirectory && make
    /bin/sh: make: command not found
    make: *** [PROJNAME] Error 127Which is like, kinda hurts my head... make can't find make, apparently.
    I've gotten some suggestions that it might be due to the "cd" command acting wonky. I've gotten other suggestions that it may be some strange setup with the env variables (My Mac developer is implementing a fix/workaround for 'environ', which is apparently posix standard, but Mac (Mr. Posix Compliance...) doesn't implement it. When he finishes that, I'll know whether it worked or not, but I get the feeling it won't fix this problem, since it's intended for another area of code entirely...
    Also worth mentioning, when the user calls "make" from the terminal in said directory, it recurses fine, getting past that particular line. (Later on down the road he hits errors with environ, which is what my aforementioned Mac dev is working on). Although calling "make" by hand is not an ideal solution here.
    Anyways, I'm looking for someone who's fairly knowledgeable with Runtime.exec() to suggest some way to work around this, or at least to find out that perhaps one of the User's settings are wonked up and they can just fix it and have this working... that'd be great too.
    -IsmAvatar

    YoungWinston
    YoungWinston wrote:
    IsmAvatar wrote:
    However, for one particular user, using Mac OS X, he has reported the following output:One particular user, or all users on Mac OS?In this case, I have two mac users. One is reporting that all works fine. The other is reporting this problem.
    cd subdirectory && make
    /bin/sh: make: command not found
    make: *** [PROJNAME] Error 127Which is like, kinda hurts my head... make can't find make, apparently.If that is being reported on the command line, then I'd say that make wasn't being found at all.If make isn't being found, then who's interpreting the Makefile?
    It's also just possible that the make script on Mac isn't correctly exporting its PATH variable, though it seems unlikely, since this would surely have been reported as a bug long ago.
    I've gotten some suggestions that it might be due to the "cd" command acting wonky...Also seems unlikely. 'cd' has been around since shortly after the K-T extinction event.
    WinstonBy "acting wonky", I mean being given a bad work directory or some such, such that it's not changing to the intended directory.
    Andrew Thompson
    Andrew Thompson wrote:
    (shudder) Read and implement all the recommendations of "When Runtime.exec() won't" (http://www.javaworld.com/jw-12-2000/jw-1229-traps.html).
    Already read it. I already know the dreadful wonders of Runtime.exec. But in this case, it's been working fine for us up until one Mac user reported that make can't find make.
    Also, why are you still coding for Java 1.4? If you are not, use a ProcessBuilder, which takes a small part of the pain out of dealing with processes.Usually I do use a ProcessBuilder. I noticed that it usually delegates to Runtime.exec() anyways, and seeing as I didn't need any of the additional functionality, I decided to just use Runtime.exec() in this particular case.
    jschell
    jschell wrote:
    So print thos env vars, in your app and when the user does it.I'll look into that. It's a good start.
    -IsmAvatar

  • 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

  • Can i Create Output Variable for DB Polling in BPEL 11g?

    Hi Team,
              I want to create the Output Variable for DB Polling,But when i double click on Reply Activity-->Create New Variable it is giving error message like "Can't Create output variable.The Selected operation doesn't have an Output Message".
    My Question is Can we create Output Variable for DB Polling, if Yes tell me the procedure to create the Output variable ?
    Regards,
    Kiran

    Hi Kiran,
    In these scenario generally runtime faults occurs so you can use the CatchAll activity and rethrow activity to complete the instance in error state. Also before the completion of the process if exception occurs you can rollback all the transaction.
    or
    you can use the Fault handling framework:
    Using Fault Handling in a BPEL Process - 11g Release 1 (11.1.1.7)
    Regards,
    Anshul

  • How to define variable for value range in Bex Query?

    Hi
    How to define variable for Keyfig. value range on runtime like characteristic in Bex Query?
    Example: On runtime user select one of the following condition:
    1)User want to those records where amount is greater than $1000
    2)User want to those records where amount is greater than $1000 and less than $5000
    3)User want to those records where amount is greater than and equal to $1000

    Hi ,
    Need to Use exceptions & conditions for this scenario's  & need to create variable for exceptions based on condtions.
    Below document provides steps how to make selections at run time for a kfg.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60b33a28-dca2-2d10-f3b2-d2096b460b1e?QuickLink=index&overridelayout=true&48842368468641
    Regards,
    Seshu.P

  • Where is the built in Java runtime and development environment in my MAC???

    I keep reading that my macintosh (dual G5 with OSX 10.4.10) came with a fully configured and ready-to-use Java runtime and development environment, however I cannot find, nor do I know how to open it. Doe anyone know how to open this up? thanks so much!

    Your JRE should already be configured so that when you double-click a self-executing jar or open a page with an Applet it will run.
    Your compiler (javac) should be available through your sheel in your terminal application.
    If none of this helps you (and it may well not) you may want to consider installing an IDE. Eclipse for example has a Mac OS version, I am sure there are others but I do not develop on Mac so I can't tell you about them.
    http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/20071103/eclipse-java-europa-fall2-macosx-carbon.tar.gz

  • How to set enviroment variables for Inso Filter

    Hi everyone,
    I want to convert word documents to html using CTX_DOC.Filter.According to the documentation,I know I neednot set the 'Inso Filter'in the preference when creating index,but I must set enviroment variables for Inso Filter.
    I found the following instructions for it in the 8.1.5 documentation,but I can't understand it well.Is there anyone can tell me how to set enviroments variables for Inso Filter on Windows2000 Server?(My DB version is 8.1.7EE)
    Environment Variable Locations
    All environment variables related to Inso filtering must made visible to interMedia Text. Set these variables in the following locations:
    listener.ora file. This makes the environment variables visible to the extproc PL/SQL process.
    The operating system shell from where ctxsrv server is started. This makes the environment variables visible to the ctxsrv process, which does background DML.
    Any suggestions are apreciated
    Reemon
    null

    NSAPI plugins are normally configured using parameters specified in magnus.conf and/or obj.conf. What plugin requires you set an environment variable?

  • Configuring Runtime systems for a  Track

    Hello Experts,
            I am new to the NWDI administration,here am having some quries for configuring Track related data.
    We are using NWDI 7.0 SP18 having local SLD with both roles as landscape and Name server.
    We have a requirement to build a new .SCA for MDM-EP perspective.So,we have created a new SC in SLD and created the domain and track for the newly created SC in CMS.
    When we are initially creating a track for newly created SC,we selected runtime systems as DEV,Test and production.
    Here we have one consolidated tab,where it will integrate all the changes in WS-CONS when we imported the requests.But here what kind of system details we need to provide for consolidation,Because we have already identified 3 sepate systems for DEV,QAS(TEST) and PROD.is it necessary to identify a separate system for consolidation?or is it a simply root path for DEV-to-QAS.
    2.For developing with Track,we need to provide the Component Build Service (CBS) with the environment for building the components by importing required .SCA's(SAP-JEE,SAP_BUILDT,SAP_JTECHS).We have imported these SCA's in to DEV before using the track by DEV team.After that these components are added to consolidate tab as well.So,do we need to import all the standard .SCA's in to all the runtime systems for this track?(Pls.Note that all Runtime systems are at same NW 7.0 SP18 level).
    Please provide your valuable suggestions to make myself understand this Java transport concepts clearly.
    Thanks in Advance..
    Regards,
    Sanam.

    Hi,
          Thanks for your clarification.Now we are facing an issue related to broken DC's once we imported the relased requests in to Consolidation phase.
    Our developer activated and released 2 change requests.Once it got released it will automatically comes to the consolidation after successful build and autoimport in DEV system.we have tried to import the change requests in to the consolidation(No physical run time system is assigned to the consolidation)---In this phase if you import the chage requests in to consolidation phase:
    Repisitory-Import is finished successfully
    CBS-Make:identified the broken DC's after CBS Build process
    SDM-Deployment Notication:No deployment,because no runtime system is defined.got finished successfully.
    So,the DC's got broken during CBS Build phase.After some analysis,we identified the dependency SCA's got missed out in Consolidation.So,we imported the required SCA Components again in to the consolidation for build purpose.Here we again tried by adding those relased change requests to the consolidation queue and imported again.But still,the CBS Build identifying the Broken DC's.Our development SCA has the dependency software components as (SAP_EU,SAP_BUILDT,SAP_JEE,SAP_JTECHS).Thse components are successfully imported in to DEV and can able to see it from NWDS.The same components are imported successfully in to the consolidation as well,but from out 4 components we can able to see only 3 components except SAP_EU in NWDS.
    1.So,is that causing any Build problem for my relased change requestes?If yes,why it was missing in consolidation(re-imported twice for SAP_EU).
    2.we tried importing the released CR's  without checking dependecies are available for consolidation.Is that causing my DC's broken for build phase?
    Please suggest your ideas,how can i make my CBS-Build process OK for relased requests.

  • Enviroment variable for IDES 4.7

    Hi,
    I m facing a problem during the last steps of <b>IDES 4.7 on Oracle DB</b> installation: The setup failed to read the HOME environment variable. When I check the OS (<b>Win XP</b>) I did not find it, please can you give me the value of the variable then I can add it manually.
    It ll be great if you give me even the other environment variable.
    Kind regards,
    Fred,

    Hi Subhash,
    Here the error I got:
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPDATA_HOME.
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPEXE.
    TRACE[E]   [syxxccuren.hpp:188]CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable SAPSYSTEMNAME.
    TRACE[E]   [syxxccuren.hpp:188]
    CSyCurrentProcessEnvironmentImpl::getEnvironmentVariable(iastring)
    Unable to get value for environment variable HOME.
    The first ones I found tem except HOME variable!
    But it s still stage error because at least should be ok for SAPDATA_HOME, SAPEXE.... cause I have them in my OS.
    Kind regards,
    Fred,

  • OWB : Runtime Repo for Target and Process Flows on Different M/C

    Hi,
    I have an environment where the Runtime Repositories for the Target Warehouse and Process Flows ( Workflows ) are on different machines. I have deployed :
    * the mappings and Target Tables on the Target Warehouse
    * Process Flows on the Workflow Server which resides on a seperate M/C.
    When I try executing the Process Flows for the Mappings , it errors out indicating that the objects may not have been deployed. Looks like the Process Flows cannot see the Mappings deployed.
    Can somebody help me here ?????

    I think target schema and runtime rep shuould be in same instance

  • Configuring variables for bsp_protcl :// bsp_server /

    Hello all,
    We have copied our BW and SRM production systems back to our support environment (BW1 and EB1).
    There is a BW web reporting role that is on both the BW1 and EB1 system however when I execute a report from the role on the EB1 system it tries to open up a web report on the BW production system.
    When I execute the same report on the BW1 system it correctly opens a web report on the BW1 system.
    In the role, I have noticed in the details for the BW web reports that the URL starts:
    <bsp_protcl>://<bsp_server>/sap/bw/BEx?.....
    Please can anyone tell me where to set the variables for <bsp_protcl> and <bsp_server> so that I can point them to the correct BW system?
    Many thanks,
    John.

    Hi John,
    Maybe you can refer to this OSS Note 853997. You need to import a support package. Hope this helps.
    Cheers,
    Mona

  • When will Reader 9's Runtime error for redirected Application Data be fixed??

    Has anyone heard when Adobe will fix Reader 9's Runtime error for redirected Application Data??  It's still happening with 9.1.3 for only users who have their Application Data folder redirected via Group Policy.
    It's been going on for some time, as evidenced by the following link, and my own personal pain fighting this
    http://forums.adobe.com/thread/391738?start=100&tstart=0

    Also posted here: http://forums.adobe.com/thread/391738
    I haven't read through all of the posts, but the general consensus I have is that the issue is in fact related to the redir
    ection of the Application Data folder. The main issue being that the use of a UNC path causes the error described, with some mention to explicit user permissions on the root of the folder path.
    I was just recently made aware of this issue in our environment. Apparently we've held off upgrading to Adobe 9.x because of this issue. After a little research, it was apparent that simply modifying the default Folder Redirection policies is not possible because the use of a mapped drive is not supported.
    I haven't had a chance to test this yet, and may not be able to for some time, so I thought I would share this in case someone else might be able to test. The idea being to simply use a custom ADM file to force the redirection of certain profile folders. Again, I haven't tested this using a mapped drive in the path, but I have successfully used the same settings below to redirect other folders not available by default in Group Policy.
    1) Copy the text between ----- Start of ADM ------ and ----- End of ADM ------ and paste it into a text file.
    2) Rename the .txt to .adm.
    3) Load the ADM template into a GPO.
    4) Right click "USER Custom Settings", select "View", select "Filtering" and uncheck the option "Only show policy settings that can be fully managed".
    5) Configure the "Redirect Application Data" option as enabled, and enter a mapped drive path.
    6) Test.
    I'm interested to hear if this is a viable solution or not.
    ------ Start of ADM -----
    CLASS USER
          CATEGORY "USER Custom Settings"
                CATEGORY "Folder Redirection Settings"
                      POLICY "Redirect My Documents"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      PART "Redirect to" EDITTEXT
                            VALUENAME "Personal"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectHistory
                      POLICY "Redirect Application Data"
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      PART "Redirect to" EDITTEXT
                            VALUENAME "AppData"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectHistory
                      POLICY "Redirect Cookies"
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      PART "Redirect to" EDITTEXT
                            VALUENAME "Cookies"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectCookies
                      POLICY "Redirect Favorites"
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      PART "Redirect to" EDITTEXT
                            VALUENAME "Favorites"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectFavorites
                      POLICY "Redirect History"
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      PART "Redirect to" EDITTEXT
                            VALUENAME "History"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectHistory
                      POLICY "Redirect Recent Documents"
                      KEYNAME
    "Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders"
                      EXPLAIN "By default files are stored as part of the
    user's profile.\n\nConfigure alternative locations here."
                      PART "Redirect to" EDITTEXT
                            VALUENAME "Recent"
                            MAXLEN 255
                            DEFAULT ""
                            EXPANDABLETEXT
                      END PART
                      END POLICY ; RedirectRecent
                END CATEGORY
          END CATEGORY
    ------ END of ADM -----

Maybe you are looking for

  • Disabling creation of new pages on user's PC

    Hello everyone, By editing the various roles' settings, I've managed to restrict my users to creating new pages from only the list of pages I want them to, EXCEPT for the fact that they still have the option in the 'New Page' dialog to create a new b

  • 4 questions I have not found the answer to yet...

    1. What is Iphoto doing internally to create more vivid photos that I'm unable to reproduce in other photo management applications? When I import a photo from my camera to Iphoto it looks vivid and great. I then export that image from Iphoto to my de

  • How do I stop the taskbar from showing when I watch a video on full screen?

    When I watch a video with Mozilla Firefox on sites like YouTube, Google Video or Bing Video in full screen the taskbar shows at the bottom of my screen and doesn't disappear like it does in Internet Explorer. How do I watch videos in full screen with

  • The computer has rebooted from a bugcheck

    Dear all,  One of our server is rebooting and giving these 2 errors. Kindly help on how to fix it.  Event ID: 1001 Level: Error Source: BugCheck The computer has rebooted from a bugcheck.  The bugcheck was: 0x0000003b (0xffffffff80000002, 0xe00001065

  • Bunch of errors in Windows Server 2008 R2

    Hi everyone, I've searched Technet and all the Internet for a clear solution or any clue that could help me solve this issue, but didn't manage. Recently Windows Server 2008 R2 SP1 started to frequently and spit out bunch of errors that are connected