Interesting, I haven't seen that before. FWIW, running java -jar /usr/local/ibmiaccess/acsbundle.jar /PLUGIN=cfg /LIST
does return the systems for the current user. Is your script running as the same user or a different one?
You should be able to see which acsbundle.jar is being used in the macOS app by selecting the help > About
menu option.
To see which configuration is being used, try the Edit > Preferences
menu option, then select the Local Settings
tab and look at the Configuration Root value.
If the config root are not the same between the app and command line, try setting that when running from the command line (see the com.ibm.iaccess.AcsBaseDirectory property in the getting started guide sect. 9.3)
------------------------------
Carl G
------------------------------
Original Message:
Sent: Mon May 05, 2025 10:39 AM
From: Nicholas Frazee
Subject: ACS Scripting on Mac
Hello,
I'm trying to do some scripting on Mac for ACS with using the /PLUGIN option. I've been trying to automatically change over any existing connection to use TLS/SSL "/ssl=1" to make the connection secure. I've been able to do this on Windows, but running up against the wall on Mac. Obviously I'm not all that familiar with the path structure. I'm confused where the acsbundle.jar is getting executed from when I open ACS from the Applications folder vs opening ACS from the command line. "java -Xmx1024m -jar /usr/local/ibmiaccess/acsbunel.jar."
When using "java -Xmx1024m -jar /usr/local/ibmiaccess/acsbunel.jar /PLUGIN=cfg /LIST" I get nothing but I do have a system defined when opening it from the Applications directory.
If I create a system with the command: "java -Xmx1024m -jar /usr/local/ibmiaccess/acsbunel.jar /PLUGIN=cfg /system=myibmi.ibmi.com" and then followed by "java -Xmx1024m -jar /usr/local/ibmiaccess/acsbunel.jar /PLUGIN=cfg /LIST" it will show the system I created. But doesn't show when I open from the Applications folder.
I guess what I'm getting at is, how can I get a /LIST of systems from the current user with a command? I want to automatically reconfigure them to use TLS/SSL.
Any suggestions would be greatly appreciated.
Thanks!
------------------------------
Nicholas Frazee
------------------------------