Total number of active ACF2 logonids
search cancel

Total number of active ACF2 logonids

book

Article ID: 260668

calendar_today

Updated On:

Products

ACF2 - z/OS ACF2 ACF2 - MISC

Issue/Introduction

Is it possible to get a total count of active ACF2 logonids?

 

Environment

Release : 16.0

Resolution

Either run an ACFRPTSL report or an ACFBATCH job to list all not suspended, cancelled or expired users. There is one user per line, so count how many lines are in the output. Change the highlighted date to yesterday's date to account for users that are still unexpired as of today's date or beyond.

SL report JCL (there are 56 users per "page" of output):
//REPORT  EXEC PGM=ACFRPTSL                   
//SYSPRINT DD SYSOUT=*                        
//SYSIN    DD *                               
 TITLE(ACF2 SL REPORT)                        
  INPUT(ACF2)                                 
  REPORT(SHORT)                               
  IF((NOSUSPEND AND NOCANCEL) AND -           
  (EXPIRE GT U'02/24/23' OR EXPIRE EQ U'0'))  
  SFLDS(EXPIRE)    

ACFBATCH:       
//ACFBATCH EXEC PGM=ACFBATCH                                   
//SYSPRINT DD SYSOUT=*                                                            
//SYSIN    DD *                                                
SET TERSE                                                      
LIST LIKE(-) IF((NOCANCEL AND NOSUSPEND) AND (EXPIRE GT U'02/24/23' OR EXPIRE EQ U'0'))

Note that this will show every logonid that could be potentially used/active. Gathering logonids that are actually being used or unused is a more complicated matter. The Cleanup product was designed to address this issue.