× 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'd like to know the scenario. Are you recording key strokes and your recorder needs to be able to determine what window they were in?

Are you trying to retrieve this from a program running on the IBM i which needs to determine the session name? If this, then some ways are:
RTVJOBA JOB(&JOB)
The sql way would be VALUES JOB_NAME INTO :myJobName
You can parse away the job number and the job user with
values substr(job_name, locate('/', job_name, 8) + 1, length(job_name)) into :myJobName

-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of Robert Rogerson
Sent: Thursday, April 18, 2019 10:59 AM
To: Midrange Systems Technical Discussion <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: [External] Getting the ACS job in Windows

Sorry I wasn't clear.

2. "Which of UserX's multiple sessions is this one?"

I'm looking for 2.  UserX has multiple sessions going but when the user takes an action on a specific session I want to know the associated job.

Maybe I should look if there is anything in the documentation for running/playing a macro.

Thanks,

Rob

On 4/18/2019 10:30 AM, Jack Woehr wrote:
On Thu, Apr 18, 2019 at 8:03 AM Robert Rogerson <rogersonra@xxxxxxxxx>
wrote:

The problem I see
is what if I have multiple sessions going how do I determine which
job (based on the userid) is for which session?

I'm a little unclear on which you mean:

1. "Which session belongs to UserX?" or
2. "Which of UserX's multiple sessions is this one?"


--
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@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com

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.