I develop using Websphere 8.5 in Windows machine but the Tests and Prod are Websphere 8.5 on Mainframe. The application MyApp depends on certain System Environment named MyApp_Env. Basicaly, this System Environment tells which environment is running (Dev, Test, Prod). In windows, I set up as System Environment. When this application goes to mainframe for users tests, in Websphere 8.5 running on Mainframe, such variable is set up in Application Servers > MyServer > Process Definition > Servant > Environment Entries. I do have access to Test Websphere Admin console so I can see it. For some local reasons, I don't have access to Prod Websphere Admin console and I want to see this variable value. I have access to ishell so I tried four alternatives, (1) echo $MyApp_Env, (2) set MyApp_Env, (3) env MyApp_Env, (4) printenv MyApp_Env. I tried to find by looking for one by one after simple printenv and env with no success. So, my question is how can I discovery the value of MyApp_Env via Unix shell? I am sure the variable is there as one of Websphere Servant.Environment Entries but how to print it? I guess that I can't see the variables because it doesn`t belong to the environment variables of the shell that is running into the terminal. But, certainly, there must exist some way to see the environment variables available for other process different from the terminal opened.
How to figure out an Environment Entry from Websphere via Unix shell
583 Views Asked by Jim C At
1
There are 1 best solutions below
Related Questions in SHELL
- passing text with \n as one argument in shell
- Delete the extra space after special character in all the lines of text file
- Calling a python function with options from shell script
- bc: prevent "divide by zero" runtime error on multiple operations
- schedule and automate sqoop import/export tasks
- How can launch an external process from java and still be able to interact with this process?
- Linux find files where mtime and ctime are not equal
- Find all files contained into directory named
- Quick way to remove all folders titled CVS in a directory and it's subdirectories?
- shell process not exiting on `exit` inside `$()`
- How to set environment variables with a forward slash in the key
- System 'bash -ic' stuck when I hit ctrl+c
- bash functions returns "command not found"
- Why does pattern "*.so?(.*)" produce a syntax error in a script but not on command line?
- retrieve plaintext password from file using bash command
Related Questions in UNIX
- passing text with \n as one argument in shell
- C std library don't appear to be linked in object file
- How to split a directory into parts without compressing or archiving?
- Momentjs get current GMT unix time
- Timing packets on a traffic server
- man pages for c variable types
- Blocking in pthread_join()
- PWX-00001 Error opening repository "dtlmsg.txt". RCs = 268/150/2
- Unix c program to calculate pi using threads
- How to perform parallel processes for different groups in a folder?
- Set aliases globally for all users
- wmic csproduct get UUID equivalent for Unix and Mac?
- Send alert for 80% threshold comparing two values from Disk partition
- Unix - Tail Utility would open the file or not
- Redirect Outward of unix os commands to html page
Related Questions in WEBSPHERE
- Websphere 8.5.5 - shared session context not working
- unable to deploy restful application liberty profile 8.2
- Using Cobertura for Junit testing webapp deployed on WebSphere Liberty Profile
- Combining custom application authentication with JAVA EE security. Possible?
- WAS 8.5 Admin console - Give only access to Deployment
- How do I change callerPrincipal from EJB timer?
- Eclipse Scout RAP UI deployment in Websphere
- com.ibm.wsspi.http.channel.exception.WriteBeyondContentLengthException
- Apache axis2/axiom NoSuchMethodError
- Install wasJmsClient-2.0 feature in Liberty Profile 8.5.5.2
- Not able to start MDB listner
- Why would a class be unable to be cast to an interface it implements?
- JProfiler not able to detect WebSphere JVM
- How to control nodes if DMGR is down in Websphere environment
- Websphere maven dependencies
Related Questions in WEBSPHERE-8
- Combining custom application authentication with JAVA EE security. Possible?
- Precedence of EJB Deployment Descriptors
- How to control nodes if DMGR is down in Websphere environment
- Caused by: javax.ws.rs.NotFoundException
- Websphere maven dependencies
- Alternative to Apache Wink JSONObject/JSONException
- JProfiler Remote Application Integration in web sphere 8.5
- Remove local WebSphere user using script
- Reading configuration file from deployed application with wsadmin scripting
- Websphere 8.5.5.2 server not starting when using IBM SDK 1.7.1_64
- Getting Partial Start message after starting the application
- How to set JMSExpirationTime on MQ Response message for SOAP/JMS based web service?
- Configure JAX-WS web-service over HTTPS in WAS at application level
- get sca module bindings in EAR before deploying
- how to access Web sphere default messaging provide queues using HermesJMS?
Related Questions in SYSTEM-VARIABLE
- What is meaning when _JAVA_OPTIONS system variable value is given -Xmx512M?
- Display realtime server data on webpage
- Java and javac not working in cmd. Both java and javac "is not recognized as an internal.."
- Javac is not recognized
- How to create a folder in the home directory?
- Is it possible to see variable states in native iPhone apps?
- maven jetty plugin how to pass system variable
- Getting OpenAI api to work in jupyter. (Using provided example code )
- how does system variables and user variables work
- Powershell script to remove tempory files and registry keys
- "java -version"in cmd gives no result
- Custom python module seen in C: but not in D:
- Execution failed for task ':app:compileJava' with ./gradlew run
- Powershell invoke-command and system variables
- Why does not Visual Studio 2010 "unpack" system variable?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Although you don't have access to admin console of the Prod machine, I'm assuming you have the ability to run wsadmin on it from a Unix shell. If so, use a text editor to create a script file named myScript similar to the following and run it using: wsadmin -f /pathToScript/myScript.jacl