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
585 views Asked by Jim C At
1
There are 1 answers
Related Questions in SHELL
- macOS - Most secure way of a GUI SUDO_ASKPASS
- When does Bash read heredocs?
- Why `set -o pipefail` gives different output even though the pipe is not failing
- Run multiple shell scripts in Dockerfile
- Alias does not take effect when I use Vim to execute external commands
- why variable substitution is so different?
- Error: fish: ${ is not a valid variable in fish
- Custom Bash functions & custom statements - Need some advice
- unexpected operator == in square brackets when trying to use gum lib
- Delete first three lines containing a certain word
- Keep the log for the last 14 days
- Iterate over items in one array and groups of items in second array
- Keep multi-version of a static-lib like what we do for shared-libs
- How to write function in bash for reuse shell commands inside using osascript?
- Why is it that when I pass certain directory names to `ls`, sometimes it does not list their contents?
Related Questions in UNIX
- Reading & Writing to the same file from terminal
- `df` command not capturing entire output in perl
- Why is it that when I pass certain directory names to `ls`, sometimes it does not list their contents?
- Detect Mouse Clicks; Terminate Program on Scroll Wheel Movement
- grep expression behaving weird (unix/mac) while reading a conf file
- Unix sub path creation and copy files
- Ignoring folders in The Silver Searcher `ag`
- struct nameidata-Linux Kernel Module
- telegraf service not able to retrieve data using the journalctl commands
- Order of options in Unix sed for editing files in-place
- Trying to echo line variable along with another variable inside a while read loop
- failed to handshake with xxx: authentication error?
- UDP socket client not able to receive data
- Invalid SCA token in unix
- How can I keep randomized UNIX timestamp in specific hour range in SQL?
Related Questions in WEBSPHERE
- Problem with C# submitting file to IBM MQ Broker
- how to increase timeout in websphere console when we are consuming the WSS3 service?
- How to access an specific resource path though the IBM Websphere Application server port 9080?
- IBM WebSphere WASX extension loginType
- Getting "javax.servlet.ServletException: java.io.FileNotFoundException: SRVE0190E: File not found: /servlet/" error bcz of IE dialog box
- Calculating average wait time per message in a topic with PromQL
- How to set TLS Cipher TLS_RSA_WITH_AES_128_GCM_SHA256 on Windows 2016
- dd_in_ear_load_EXC_ when deploing with JENKINS while the same EAR successfully deployed with WAS admin console
- How to deploy an application in IBM websphere server with a azure devops pipeline's?
- How to get rid of Websphere traditional error for Windows local development - Java8
- IBM Websphere App server - After Migration, the profile won't start because ADML3000E: Cannot locate systemlaunch.properties at path
- IBM Maximo Document Attachment not working
- IBM WCM - Content not reflecting for logged-in users
- Websphere Liberty with Spring upgrade from 4.2.1 to Spring 5.3.29 issue Caused by: java.lang.NoSuchMethodError: javax/validation/Configuration
- IBM Liberty's viewSettings command keeps saying "The password for this proxy is not encoded"
Related Questions in WEBSPHERE-8
- IBM Liberty's viewSettings command keeps saying "The password for this proxy is not encoded"
- how do we deploy ear file in IBM WAS from CMD/PowerShell/Linux terminal
- IntelliJ 2019 throwing java.lang.NullPointerException error
- Upgrade WAS 8.5.5.12 to 8.5.5.23 in windows 11 local server
- Websphere app migration from 7.0 to 8.5 changing force as unpack WebService
- Finding the data sources info on Websphere
- MySQL JDBC DataSource for WebSphere 8.5.5
- WebSphere application server,listener goes down when error is there MQueue message?
- How can I get past the "install vcredist_x86.exe" issue when upgrading Websphere from v8.5.5.8 after I installed vcredist_x86?
- WebSphere Application Server 9.0.x - Find out many FileNotFoundException in SystemOut.log after add filter config in web.xml
- How to enable DEBUG mode in Docker for IBM Websphere Traditional Image by Default
- JSF1.2 seam2 websphere 8.5.5 NullPointerException
- Deployment in Websphere(IBM) for Spring Boot application
- GitHub Actions: Generate Deployment sources for EJBs 2.0 for IBM Websphere Application from pipeline
- Kafka producer in Websphere EJB: SslAuthenticationException
Related Questions in SYSTEM-VARIABLE
- SysVar in C# COM with CANoe
- Getting OpenAI api to work in jupyter. (Using provided example code )
- How to add MySQL Server bin path to System Path Variables using Python
- Setting Task Trigger Based on System Variable in WSO2
- Cannot set environment variable or property in Gradle outside test
- How can I react to event on system variable defined in CAPL script?
- Adding a value to existing system variable (powershell)
- 'hdfs' is not recognized as an internal or external command, operable program or batch file
- Path missing in User Variables
- Azure pipeline system variables
- PATH system variable capitalization in Java
- Custom python module seen in C: but not in D:
- The JMETER_HOME environment variable is not defined correctly
- How to run npm install with ANT without having nodejs path in system variable?
- java command works in command prompt but not in powershell
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?
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)
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