Does TPXOPER DISPLAY USER show STATIC/DYNAMIC?

Document ID : KB000049933
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

Is there a way to display in TPXOPER whether a user is static or dynamic?

Solution:

The TPXOPER D U will not show if the user is static or dynamic.

Here is a batch job that you could run to get that info:
(This example extracts all users with userid USER*)

C
C  Extract by Userid and show if Static or Dynamic
C
EXTRACT GIVING(EXTFILE) USER AND NO SESSIONS (UIDXNAME(USER----))
SET RTITLE1
' USERID    NAME                      STATIC?   '
SET RTITLE2
' ========  ========================= =======   '
REPORT GIVING(RPTFILE) USING(EXTFILE)
(( ' &UIDXNAME' ' &VUSRRNME                '  '   &UIDXSTIC'))

Sample output:

USERID    NAME                      STATIC?
========  ========================= =======
USERADM1                              Y
USEROK                                N
USERX     User using all class X      Y
USER1                                 Y
USER2DEL                              Y


NOTE: Be sure that the mask (UIDXNAME(USER----)) totals 8 characters.
It can be 8 dashes to list all users.