How to check for Active Users

Installing LANSA on IBM i

How to check for Active Users

To check for active users in your LANSA system, use the following procedure:

1.  Sign on to the IBM i using the Partition Security Officer profile QSECOFR or as some other user that is part of the QSECOFR group.

2.  If the Command Entry screen is not already displayed, then invoke it by using this command:

CALL QCMD

3.  Make sure that no jobs/users are accessing LANSA using the following commands:

WRKOBJLCK <pgmlib>/DC@A01 *DTAARA

WRKOBJLCK <datalib>/DC@F02 *FILE *FIRST

4.  If locks exist, ask the users to sign off or wait until the batch jobs have ended before continuing with the upgrade.
If you use LANSA workstation products connected to your LANSA system, you may find that the listener job has a lock on the system. If a listener job is active, stop it by ending the subsystem it is running in.

Repeat both of these commands until there are no locks on the specified objects.

Note 1: The upgrade process will not commence if active users are found.