Dear David
>>>> ...... that may be how it is supposed to work <<<<
I confirm that is the way it works. When you invoke Run SQL Script from the main GUI windows of Access Client Solution, it immediately prompts you to log on to the current system specified in ACS's main screen. When you invoke it from outside of ACS screen (Windows' file association mechanism at work), it does not try to connect to any system until you want to do some thing with it that needs an established connection. Or you can manually start the connection from its menu bar.
------------------------------
Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
------------------------------
Satid S.
------------------------------
Original Message:
Sent: Tue March 28, 2023 10:05 AM
From: David Strawn
Subject: Run SQL Scripts from ACS for IBM i
You can set a connection as default, but I already have that set... when you open Run SQL Scripts, it connects automatically, the problem comes in when you double click on an .sql member from RDi – that is when it shows as not connected... which is not a problem if you are just looking at a script, but if you want to run it, then you have to connect even though there is only 1 connection defined and it is the default... that may be how it is supposed to work, just would be nice if you could save connection information for the member... I guess the intention is to manage members from Run SQL Scripts interface...
Original Message:
Sent: 3/27/2023 8:20:00 PM
From: Satid Singkorapoom
Subject: RE: Run SQL Scripts from ACS for IBM i
Dear David
>>>> Every time I open a file it is making me connect to the IBM i... is there a setting that causes it to retain the connection until I power off? <<<<
In the old and unsupported IBM i Access for WIndows, there is a preference setting to Prompt Every Time you connect any of its components to IBM i. I see no such setting in Access Client Solution. Are you using Run SQL Script from this IBM i Access for Windows? If so, you can set it to use the same connection (I do not remember the wording of the option).
------------------------------
Education is not the learning of facts but the training of the mind to think. -- Albert Einstein.
------------------------------
Satid S.
------------------------------
Original Message:
Sent: Mon March 27, 2023 10:30 AM
From: David Strawn
Subject: Run SQL Scripts from ACS for IBM i
Every time I open a file it is making me connect to the IBM i... is there a setting that causes it to retain the connection until I power off?
Original Message:
Sent: 3/26/2023 11:50:00 AM
From: Robert Cozzi
Subject: RE: Run SQL Scripts from ACS for IBM i
Is that a question? The one on the left has a "Not Connected" status, so I would guess that file is cached on your PC, while the one on the right is loaded from your IFS.
------------------------------
Robert Cozzi