× 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 would assume that the A and B are arbitrary in the command DSPWSUSR and
it gets its info much the same as the following. Probably filters it down
by job_name_short matching the current job.

SELECT job_name, job_name_short, job_status
FROM TABLE(QSYS2.ACTIVE_JOB_INFO(
RESET_STATISTICS *=>* 'NO',
SUBSYSTEM_LIST_FILTER *=>* 'QINTER' ,
JOB_NAME_FILTER *=>* '*ALL',
CURRENT_USER_LIST_FILTER *=>* 'ROB',
DETAILED_INFO *=>* 'NONE')) X
;

On Wed, Oct 4, 2023 at 9:13 AM John Yeung <gallium.arsenide@xxxxxxxxx>
wrote:

On Tue, Oct 3, 2023 at 2:55 PM Brian Johnson <brian.johnson.mn@xxxxxxxxx>
wrote:

Run command QSYS/DSPWSUSR to view your session situation.

Did not know about this! Very handy for people who still use secondary
sessions!

You can even use OUTPUT(*PRINT) to roll your own utility that perhaps
conditionally switches you to the other session. It would be on the
convoluted side, but at least conceptually possible.

There isn't an IBM i service (a.k.a. SQL wrapper) for this, is there?

Personally, I have made the switch to using multiple tabbed sessions,
with no secondary sessions; and to me, it is less work to unlearn the
muscle memory for SYSREQ 1 than to develop utilities facilitating
(i.e. reducing the frustration associated with) secondary sessions.
This coming from someone who loves to build personal productivity
utilities.

But I love that this command exists. Thank you for sharing!

John Y.
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: 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
Before posting, please take a moment to review the archives
at https://archive.midrange.com/midrange-l.

Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.