0

I am calling STRPCCMD command and passing it some parameters.

The command needs to work on linux and windows boxes.

Any way to find out which machine the user is connected from in order to build a proper command?

Currently I am issuing both and ignoring the errors.

Ruslan
  • 1,919
  • 21
  • 42

2 Answers2

2

Nope.

And this that's not long enough to count as an answer, let me point out that STRPCCMD is very limited.

Actually, I'm shocked that IBM included it in ACS.

Charles
  • 21,637
  • 1
  • 20
  • 44
  • We had jive installed and somehow it knew what the client was running on. It did however have a client side application that attached to the AS400. I am assuming that's how it found out – Ruslan Jun 07 '19 at 19:14
  • yep..if the client side app is designed to pass that info back, you'd be fine. But ACS isn't designed to. – Charles Jun 07 '19 at 19:25
0

If you connect with the newest JDBC-Driver you can use the CURRENT CLIENT_ACCTNG Value to get this information.

Chris
  • 29
  • 2