× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



I opened examples in RSS (Ctrl-I can be used) and searched for "share" - there were 2 examples, both used SERVER_SHARE_INFO - one is called IFS - Server share info with security details. It joins the server_share_info results with ifs_object_privileges. Maybe something combining server_share_info with IFS object locks could be useful - just thinking and looking around for ideas here.

Regards
Vern


On Fri, 22 Mar, 2024 at 9:09 AM, Rob Berendt <robertowenberendt@xxxxxxxxx> wrote:


To: midrange systems technical discussion

I'm not sure each connection warrants it's own job. This could be where
session id comes into play. Look at the joblog of QZLSFILET. And all the
objects it has locked.

However, this info is listed in Navigator.
Simply list the shares, click on the share and select Properties, at the
bottom it will list the sessions using that share including: IP address,
session id, user name, etc.
The bad part is the SQL option to see how they gleaned this is greyed out.
Paste that picture into your submitted idea that is the info you want.

On Fri, Mar 22, 2024 at 9:47 AM Rob Berendt <robertowenberendt@xxxxxxxxx<mailto:robertowenberendt@xxxxxxxxx>>
wrote:

Would be nice if you could get details on the last column in the following:
SELECT
SERVER_SHARE_NAME, SHARE_TYPE, TEXT_DESCRIPTION, PATH_NAME, CURRENT_CONNECTIONS
FROM QSYS2.SERVER_SHARE_INFO
WHERE SHARE_TYPE = 'FILE';
Like what jobs are in CURRENT_CONNECTIONS and what is the current user
profile being serviced by those jobs.
This is where I would leave it if you want to submit a new idea.

Would that be ZLS0600 at
https://www.ibm.com/docs/en/i/7.5?topic=ssw_ibm_i_75/apis/qzlslsti.html


On Fri, Mar 22, 2024 at 8:52 AM Sizer, Joseph via MIDRANGE-L <
midrange-l@xxxxxxxxxxxxxxxxxx<mailto:midrange-l@xxxxxxxxxxxxxxxxxx>> wrote:

I am able to run a SQL script to list the IFS server share info and it
shows the number of current connections using

SELECT * FROM QSYS2.SERVER_SHARE_INFO
WHERE SHARE_TYPE = 'FILE';

Is anyone aware of a SQL script that would list the actual sessions
showing user ID and some additional job information for active sessions. I
am attempting to get a list of all users that are currently connected to an
IFS share. I am not looking for file locks but rather anyone that has
mounted a network share drive from a PC to the IFS.

Thanks.

Joe Sizer

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L@xxxxxxxxxxxxxxxxxx>
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx<mailto:MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx>
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx<mailto:support@xxxxxxxxxxxxxxxxxxxx> for any subscription related
questions.



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-2024 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.