995 pts.
 How do i determine how many users are logged in thru iSeries Navigator
Hi, When we login thru the green screen for example as QSYSOPR and i need to check how many QSYSOPR's are actually logged in, am able to . But how do i determine if there are any other QSYSOPR's logged in through iSeries operations navigator? The system does not seem to recogonise the QSYSOPR being logged in through Navigator? Many Thanks in advance for the answer. Hari

Software/Hardware used:
ASKED: July 30, 2009  10:30 AM
UPDATED: July 31, 2009  5:42 PM

Answer Wiki:
If a user logs into the iSeries from iNav, a job named QZRCSRVS in subsystem QUSRWRK will start and you can see the user profile there using WRKACTJOB. A QPWFSERVSO job that services a request from iSeries Navigator will also start in subsystem QSERVER. ___________________________ Why would you want multiple users with the same profile name ? It is a very unhealthy procedure. If you need to have users with say QSYSOPR authorities, create a group profile or an authorization list and assign users. You can use the DSPUSRPRF or DSPAUTUSR command to generate a list of users. The Navigator should be able to identify the users without problems. I am not sure why you cannot identify specific users. Try WRKOBJLCK QSYSOPR *USRPRF This will show you all the jobs that have that profile locked, meaning logged in. You can then review the job Job status attributes to identify if they are batch or interactive or some other type. (PJ, prestart is the type of job Navigator resolves to)
Last Wiki Answer Submitted:  July 31, 2009  1:14 pm  by  Whatis23   5,665 pts.
All Answer Wiki Contributors:  Whatis23   5,665 pts. , Satsho   1,245 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

This command will display all those logged in as QSYSOPR:
WRKUSRJOB USER(QSYSOPR) STATUS(*ACTIVE) JOBTYPE(*INTERACT)

As Satsho says, not a good idea to have multiple users log in as QSYSOPR.

If you are using the system operator features in iSeries Navigator, it is best if no one is logged on as QSYSOPR – it creates conflicts with Navigator.

 5,525 pts.

 

To answer your question on how to view how many QSYSOPR user IDs are in use by using iSeries Navagator:

1. Under ‘Basic Operations’ select ‘Jobs’.

2. From the Taskbar select View > Customize This View > Include.

3. Change the User to ‘QSYSOPR’ (make sure Name and Number are both set to All).

4. Change Type to ‘Interactive’.

5. Click OK to get your list of QSYSOPR IDs currently logged on.

 1,050 pts.

 

Basically – the first answer to this question was correct.

The original question was “But how do i determine if there are any other QSYSOPR’s logged in through iSeries operations navigator?”

Forget the fact that he is looking for “QSYSOPR” – we all agree that there should be only one user logged in a QSYSOPR.

Checking for “interactive” jobs will only show those jobs that come in through (typically) QINTER.

Batman47′s idea to use Navigator sounds good – but – I just tried it and it only shows my green-screen job – NOT my Navigator job – and I checked for ALL jobs. You could instead use “Work Management” > “Server Jobs”

If you are on V5R4, in a WRKACTJOB display you will see the current user for server jobs and Navigator jobs, etc.. Sort the display by “Current User” and scroll down to the User in question. I don’t remember if prior to V5R4 you will see the actual user in Navigator for Server Jobs – I know you won’t on the green-screen.

Regards
Mike

 2,725 pts.

 

Hi, Thanks all for answering . But our organisation has all system operators(3) to be logging in only with QSYSOPR profile and no seperate profile have been created. However am not able to get my answer yet, or maybe am checking it wrong. The job mentioned did not turn up under QUSRWRK after i started iSeries Navigator. Thanks

 995 pts.

 

What version of the OS do you have?

 2,725 pts.

 

Hi Satsho…Thanks found out now, but am assuming there is no real way to monitor if so many of us login thru Navigator as QSYSOPR. Will be harder to make the client understand.

 995 pts.

 

I am sorry that I misunderstood your question. The job name that goes active once someone logs into iSeries Navagator is QGYSERVER. So, to get a list of QSYSOPR users that are using iSeries Navagator you would have to go to Server Jobs under Work Management. Select View > Customize this View > Include. Change Job Name to QGYSERVER. Change Current User to QSYSOPR and then click O.K. to get your list.

 1,050 pts.