Going to post a solution before I forget since I just got off the phone with IBM....

We spent quite a bit of time poking around and checking on settings and environment with nothing pointing to the problem. But then the IBM tech choose to take a look at the ssh job that was running. So, NETSTAT *CNN gave us the list and we took option 8 on the ssh job. Then Option 5 and saw that the job was running under my user profile and running in QCTL. The job name was DSP01....

The solution was to shoot ssh and restart it. Then we made sure it was running in QUSRWRK under the QSECOFR profile (which is normal). Bingo! I am getting output again.

I have a vague recollection of starting SSH from a console session during my last foray in updating to the last TR but...who knows. The IBM tech (awesome support) said he hadn't seen anything like that and was just working the list of possibilities when we landed on the solution.

FYI in case someone encounters the issue. Might be worth a look at the SSH job....

Pete Helgren
www.petesworkshop.com
GIAC Secure Software Programmer-Java
LinkedIn - www.linkedin.com/in/petehelgren
Twitter - Sys_i_Geek IBM_i_Geek

On 10/18/2016 5:12 PM, Pete Helgren wrote:
May have to cross post to OSS...here is the deal:

I have the /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin on my PATH along with /QOpenSys/usr/bin and /usr/bin When I use either QP2TERM OR SSH using something like puTTY, and type this:
java -version

I get nothing. Nada.....zippo. No response. No error. It just returns.

Trying /QOpenSys/QIBM/ProdData/JavaVM/jdk70/32bit/bin/java -version ALSO returns nothing. I know Java is installed. I have multiple java dependent jobs running (some are submitted shell scripts) So I can't quite figure out why at the command line I am getting nothing....ON BOTH my partitions (7.1 and 7.2 - whatever I broke I was consistent...)

$ ls -l /usr/bin/java
lrwxrwxrwx 1 qsys 0 62 Jan 23 2015 /usr/bin/java -> /QIBM/ProdData/Java400/bin/java

$ ls -l /QOpenSys/usr/bin/java
lrwxrwxrwx 1 qsys 0 78 Oct 26 2008 /QOpenSys/usr/bin/java -> ../../QIBM/ProdData/OS400/PASE/bin/java

Anyone bump into this before? Kind of weird...




As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.